Skip to content
Snippets Groups Projects

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

Approval is optional

Closed by Dmitry Yu. NaumovDmitry Yu. Naumov 3 years ago (Oct 6, 2021 4:06pm UTC)

Merge details

  • The changes were not merged into UseCompileTimeMatrixSizes.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading