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::GetNtracewhich returns the number of trace elements for a given expansion. - A few changes to
Geometryto addGetFidat the base class level. Also addedGetTidwhich returns geometry IDs of corresponding trace elements. - Definition and implementation of some of the DG routines is now in
Expansioninstead ofStdExpansion.