I am trying to implement 3D electromagnetic modelling code with adaptive mesh refinement based on goal-oriented error estimator (as in
Alexander V. Grayver and Tzanio V. Kolev (2015). ”Large-scale 3D geoelectromagnetic modeling using parallel adaptive high-order finite element method.” GEOPHYSICS, 80(6), E277-E291.
doi: 10.1190/geo2015-0013.1).
As far as I understand, such error estimator is implemented in step-14, and this is why I took this tutorial program as a template.
Step-14 is rather complex in its structure, and I am not quite sure what is the best way to pass necessary parameters (conductivity, permeability and all the info about the background model) to both right hand side and the solver.
I would very much appreciate if somebody give me an advice.
Thank you very much in advance.