Skip to content

Num lib shape functions

Two main changes to the NumLib FEM part:

  • New GaussIntegrationPolicy: it specifies a gauss integration method for a given geometric mesh element type. 3a7e535
  • New ShapeMatrixPolicy is set by default to eigen fixed matrix/vector types. There are two impelemented policies: Eigen fixed and eigen dynamic. 08d0871 . Both are checked in the tests 8e0a8b3 .

Other changes (especially in tests) are type juggling to make the above things possible.

The first change (GaussIntegrationPolicy) splits off the dependency from the TemplateIsoparametric type. The second change (ShapeMatrixPolicy) should provide a single type for local assembler matrix/vector types. I'd move this configuration to CMake later on.

I'd like to hear some feedback on these ideas. The test code can be simplified, for sure: local pull requests are welcome.

Merge request reports