ogs merge requestshttps://gitlab.opengeosys.org/endJunction/ogs/-/merge_requests2021-10-06T16:06:45Zhttps://gitlab.opengeosys.org/endJunction/ogs/-/merge_requests/3More changes in use compile time matrix sizes in LIE2021-10-06T16:06:45ZwenqingMore changes in use compile time matrix sizes in LIEFor these changes, a new alias type of
```c++
#ifdef OGS_EIGEN_DYNAMIC_SHAPE_MATRICES
...
template <typename ShapeFunction>
using ShapeMatrixPolicyTypeNew =
EigenDynamicShapeMatrixPolicy<ShapeFunction, ShapeFunction::DIM>;
...
#else...For these changes, a new alias type of
```c++
#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](https://gitlab.opengeosys.org/ogs/ogs/-/merge_requests). 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.