Re-factored the L2 projection; added all derham spaces.
Solves the following issue(s):
Closes #212 (closed), closes #240 (closed)
Core changes:
-
Moved geometric- and L2-projectors into a single file
projectors.py
; deletedgeom_projectors.py
. All projectors have the three methodsget_dofs()
,solve()
and__call__()
.For the L2 projector,
get_dofs
replaces old methodWeightedMassOperator.assemble_vec
.L2 projector tests include: tests for all available mappings with callable and array input; a convergence test for singleton dimensions.
-
Added geom.-projection and L2-integration grid infos as attributes to the
Derham
class.pts
,wts
for both quad and projector grids;spans
andbases
for quad grids only. -
Fixed tutorials,
make html
is working again (this had to do withsqueeze_out
from the last MR).
Model-specific changes:
None
Documentation changes:
An auto-doc section on the projectors was added.