Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
|
Template prototype for finite element implementations. More...
Template prototype for finite element implementations.
g | The geometry of the element |
family | The continuity of the element the implementations of the different finite element specializations are in .inl files in the detail/ directory. |
In each of these files, the finite_element specialization should implement the following concept:
struct finite_element< some_geometry, some_space > > { static constexpr mfem::Geometry::Type geometry = ...; ///< one of Triangle, Quadrilateral, etc static constexpr Family family = ...; ///< one of H1, HCURL, HDIV, etc static constexpr int components = ...; ///< how many components per node static constexpr int dim = ...; ///< number of parent element coordinates static constexpr int ndof = ...; ///< how many degrees of freedom for an element with 1 component per node
/// implement the way this element type interpolates the solution on the interior of the element static constexpr auto shape_functions(tensor<double, dim> xi) { ... }
/// implement the derivatives of this element's shape functions w.r.t. parent element coordinates static constexpr auto shape_function_derivatives(tensor<double, dim> xi) { ... } };
Definition at line 350 of file finite_element.hpp.