mimesis-inria / caribou

Multi-physics computation library
GNU Lesser General Public License v3.0
29 stars 17 forks source link

Remove element order #108

Closed jnbrunet closed 2 years ago

jnbrunet commented 2 years ago

Breaking changes: Elements from the Geometry modules no longer have an "Order" template. Each order now have a distinct class. Here's the list:

// Let D be the dimension
Segment<D, Linear>    -> Segment<D>
Segment<D, Quadratic> -> Segment3<D>

Triangle<D, Linear>    -> Triangle<D>
Triangle<D, Quadratic> -> Triangle6<D>

Quad<D, Linear>    -> Quad<D>
Quad<D, Quadratic> -> Quad8<D>

Tetrahedron<Linear>    -> Tetrahedron
Tetrahedron<Quadratic> -> Tetrahedron10

Hexahedron<Linear>    -> Hexahedron
Hexahedron<Quadratic> -> Hexahedron20