Skip to content
Snippets Groups Projects
Commit d86c8dbd authored by wenqing's avatar wenqing
Browse files

[NumLib] Added a specialization of ShapeMatrixPolicyType

parent 6096f5ac
No related branches found
No related tags found
1 merge request!3More changes in use compile time matrix sizes in LIE
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment