Skip to content
Snippets Groups Projects

More changes in use compile time matrix sizes in LIE

3 files
+ 16
11
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -120,12 +120,20 @@ template <typename ShapeFunction, int GlobalDim>
using ShapeMatrixPolicyType =
EigenDynamicShapeMatrixPolicy<ShapeFunction, GlobalDim>;
template <typename ShapeFunction>
using ShapeMatrixPolicyTypeNew =
EigenDynamicShapeMatrixPolicy<ShapeFunction, ShapeFunction::DIM>;
const unsigned OGS_EIGEN_DYNAMIC_SHAPE_MATRICES_FLAG = 1;
#else
template <typename ShapeFunction, int GlobalDim>
using ShapeMatrixPolicyType =
EigenFixedShapeMatrixPolicy<ShapeFunction, GlobalDim>;
template <typename ShapeFunction>
using ShapeMatrixPolicyTypeNew =
EigenFixedShapeMatrixPolicy<ShapeFunction, ShapeFunction::DIM>;
const unsigned OGS_EIGEN_DYNAMIC_SHAPE_MATRICES_FLAG = 0;
#endif
Loading