Residual and equilibrated error estimators for magnetostatic problems solved by finite element method