Skip to content
Snippets Groups Projects

More changes in use compile time matrix sizes in LIE

2 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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