|
| | FeSpaceBase (std::size_t order) |
| const auto & | getBasis () const |
| | get the polynomial basis in arbitrary precision
|
| const auto & | getBasisFast () const |
| | get the polynomial basis in fixed precision
|
| std::size_t | getNumDofsForSubdimEntity (std::size_t dim) const |
| | number of DoFs associated with each geometric entity (vtx = 0, edges = 1, faces = 2 or volume cells = 3)
|
| constexpr std::size_t | order () const |
| | Get the polynomial order of the FE Space.
|
| template<typename MeshType> |
| constexpr MeshType::index_t | dofToCellDof (const MeshType &mesh, MeshType::index_t cell_id, MeshType::index_t owning_enty_id, MeshType::index_t enty_dim, MeshType::index_t enty_multiplicity) const |
| | From the global descriptors of a dof, get the dof in local cell enumeration.
|
template<std::size_t Dim, typename FloatType, typename DofPolicy, typename FeSpace>
class vulpes::fe::FeSpaceBase< Dim, FloatType, DofPolicy, FeSpace >
Class describing the template for a FeSpace.
A FeSpace class should define
- a basis of polynomial in arbitrary float precision
- a basis of polynomial in 32bit or 64bit float precision
- define on which types of elements FeType it can work with
- define how many dofs are on any geometrical entity (vertex, edge, ...) via the DofPolicy
- define the dof interaction distance (at which cell distance, in the dual map, two dofs may have non-zero integrals). For all continuous elements is 0, for DG is 1 since we have the face-face coupling.
- polynomial order
There are 10 available FE spaces:
- Lagrangian/Spectral on Simplex in both Continuous and Discontinuous versions
- Lagrangian/Spectral on Tensors in both Continuous and Discontinuous versions
- Modal on Simplex in discontinuous version
- Modal on Tensor in discontinuous version
template<std::size_t Dim, typename FloatType, typename DofPolicy, typename FeSpace>
template<typename MeshType>
| MeshType::index_t vulpes::fe::FeSpaceBase< Dim, FloatType, DofPolicy, FeSpace >::dofToCellDof |
( |
const MeshType & | mesh, |
|
|
MeshType::index_t | cell_id, |
|
|
MeshType::index_t | owning_enty_id, |
|
|
MeshType::index_t | enty_dim, |
|
|
MeshType::index_t | enty_multiplicity ) const |
|
inlineconstexpr |
From the global descriptors of a dof, get the dof in local cell enumeration.
- Parameters
-
| mesh | the mesh |
| cell_id | global id of the cell in consideration (with MPI is the (global) id in local proc enumeration) |
| owning_enty_id | id of the geometric entity that owns the dof (e.g. the dof may belong to a vertex, an edge, a face or be internal to the cell) |
| enty_dim | dimension of the entity, that is this specify if the entity considered in the previous parameter is a vertex (0), and edge (2) etc. |
| enty_multiplicity | id within the entity, e.g. to an edge might belong more than one dof, this indicates which is the id within these |