dune.fem.globalRefine unepected results
- Calling
dune.fem.globalRefine
with ayaspGrid
fails since the current approach is to mark all elements and call theAdaptManager
which silently does nothing if called withyasp
. Instead we could simply call the global refine on the grid because theListener
should update the dof manager anyway.
Remark: I added this in !586 (merged) since the tutorial was showing wrong results.
Remark: the yasp default when calling adapt
is to do a global refine if one element is called the AdaptManager
does not work that way at the moment.
- Calling
dune.fem.globalRefine(df)
returns an error ifdf
is not over anadaptiveGP
- don't we have a generic approach for doing restriction/prolongation? If so this is not available through the Python interface (and we might not want it to be for local adaptivity but it would be nice to have it for global refinement.
Edited by Andreas Dedner