Local assembler for GroundwaterFlowProcess and LocalDataInitializer
This is follow up of #519 (Refactor dof table) and must not be merged before.
There are 5 commits in this PR starting at "[AL] Add back addToGlobal() in VectorMatrixAsm".
Update: Rebased on master including the "Refactor dof table"
Three main changes included:
- Add back the
VectorMatrixAssembler::addToGlobal()
: The local matrix/vector types are required in VectorMatrixAssembler otherwise, and having theGlobalSetupType
already at hand the suggested way seems easier. - Add
LocalDataAssembler<ShapeFunction>
derived fromLocalDataAssemblerBase
inProcessLib::GroundwaterFlow
namespace. The base class is needed, because we store a vector of local assemblers in the process for each element or element type. - Add
LocalDataInitializer
, which calls theLocalDataAssembler<ShapeFunction>::init()
function knowing theShapeFunction
type from the mesh element type passed by theLocalAssemblerBuilder
.
That's it!
I already see that the documentation needs some updates/extensions; shall add soon.