Skip to content

More changes in use compile time matrix sizes in LIE

For these changes, a new alias type of

#ifdef OGS_EIGEN_DYNAMIC_SHAPE_MATRICES
...
template <typename ShapeFunction>
using ShapeMatrixPolicyTypeNew =
    EigenDynamicShapeMatrixPolicy<ShapeFunction, ShapeFunction::DIM>;
...
#else
template <typename ShapeFunction>
using ShapeMatrixPolicyTypeNew =
    EigenFixedShapeMatrixPolicy<ShapeFunction, ShapeFunction::DIM>;
...
#endif

is introduced, which is also used in MR. !3632. The plan is to replace ShapeMatrixPolicyType with ShapeMatrixPolicyTypeNew assembler by assembler, and at the end to remove the template argument of int GlobalDim from all template entities in ShapeMatrixPolicy.h. Once this is done, the type name can be changed back.

Merge request reports