![]() |
Vulpes
0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
|
#include <dof_policy.hpp>
Public Types | |
| using | CartDofIndexType = int8_t |
Public Member Functions | |
| DofPolicyFeSpaceCP (std::size_t order) | |
| 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 |
| Returns the index of the dof in cell enumeration given geometrical information. | |
| void | buildDofTable () |
| Build the table of dofs in cartesian enumeration. | |
Static Public Member Functions | |
| static std::array< std::size_t, Dim+1 > | buildDofSubdimEntity (std::size_t order) |
| Returns the number of dofs associated to each sub-dimensional entity. | |
| static constexpr bool | dofsInteractionDistance () |
| Returns the distance of interaction of dofs in different cells. | |
Public Attributes | |
| std::vector< std::array< CartDofIndexType, Dim+1 > > | m_dofs |
| std::vector< std::size_t > | m_dofs_perm |
Protected Member Functions | |
| const auto & | self () const |
Protected Attributes | |
| std::size_t | m_order |
| Polynomial order of the finite element space. | |
DoF policy for continuous elements on P polynomial space
| using vulpes::fe::DofPolicyFeSpaceCP< Dim >::CartDofIndexType = int8_t |
|
inlineexplicit |
|
inlinestatic |
Returns the number of dofs associated to each sub-dimensional entity.
|
inline |
Build the table of dofs in cartesian enumeration.
|
inlinestaticconstexpr |
Returns the distance of interaction of dofs in different cells.
|
inlineconstexpr |
Returns the index of the dof in cell enumeration given geometrical information.
| mesh | Reference to the mesh |
| cell_id | Global id of the cell |
| owning_enty_id | Global id of the entity (vtx, face, ...) owning the dof |
| enty_dim | Dimension of the entity (0 for vtx, 1 for edge, ...) |
| enty_multiplicity | Multiplicity of the dof on the entity (e.g. the second dof on an edge has multiplicity 1) |
We recover the (dim + 1) global vertices that define the element and write it as a convex combination of them. In this way we have a unique representation of the dof that does not depend on the frame of reference.
|
inlineprotectedinherited |
| std::vector<std::array<CartDofIndexType, Dim + 1> > vulpes::fe::DofPolicyFeSpaceCP< Dim >::m_dofs |
| std::vector<std::size_t> vulpes::fe::DofPolicyFeSpaceCP< Dim >::m_dofs_perm |
|
protectedinherited |
Polynomial order of the finite element space.