Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • O ogs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dmitry Yu. Naumov
  • ogs
  • Merge requests
  • !3

More changes in use compile time matrix sizes in LIE

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed wenqing requested to merge wenqing/ogs:UseCompileTimeMatrixSizes into UseCompileTimeMatrixSizes Jul 19, 2021
  • Overview 1
  • Commits 5
  • Pipelines 3
  • Changes 5

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: UseCompileTimeMatrixSizes