Refactor assembly maps
This MR refactors AssemblyMapCG(1,2,3)D
into AssemblyMapCG
, and removes the dimension-dependent map creation functions from AssemblyMapDG
, replacing them with a single function. This was achieved by taking the 3D versions and adapting where necessary to make them work in 1D and 2D. There are some library changes as a consequence, but these are pretty minor:
-
StdExpansion::GetFaceOrient
->StdExpansion::GetForient
(to be consistent withStdExpansion::GetEorient
) and implementation is moved intoExpansion3D
. - Added
StdExpansion::GetNtrace
which returns the number of trace elements for a given expansion. - A few changes to
Geometry
to addGetFid
at the base class level. Also addedGetTid
which returns geometry IDs of corresponding trace elements. - Definition and implementation of some of the DG routines is now in
Expansion
instead ofStdExpansion
.