HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Public Member Functions | Protected Attributes | List of all members
HArDCore2D::DSL::LocalDOFTable Class Reference

#include <local-dof-table.hpp>

Inheritance diagram for HArDCore2D::DSL::LocalDOFTable:
Inheritance graph
[legend]
Collaboration diagram for HArDCore2D::DSL::LocalDOFTable:
Collaboration graph
[legend]

Public Member Functions

 LocalDOFTable (const DiscreteSpaceDescriptor &descriptor)
 
const Meshmesh () const
 
DiscreteSpaceDescriptordescriptor ()
 
const DiscreteSpaceDescriptordescriptor () const
 
size_t numberOfLocalVertexDofs () const
 
size_t numberOfLocalVertexDofs (const std::string &dof_name) const
 
size_t numberOfLocalEdgeDofs () const
 
size_t numberOfLocalEdgeDofs (const std::string &dof_name) const
 
size_t numberOfLocalCellDofs () const
 
size_t numberOfLocalCellDofs (const std::string &dof_name) const
 
size_t dimension () const
 Returns the dimension of the global space (all DOFs for all geometric entities) More...
 
size_t numTotalDofsVertices () const
 Returns the total number of vertex DOFs. More...
 
size_t numTotalDofsEdges () const
 Returns the total number of vertex DOFs. More...
 
size_t numTotalDofsCells () const
 Returns the total number of vertex DOFs. More...
 
size_t dimensionVertex (const Vertex &V) const
 Returns the dimension of the local space on the vertex V. More...
 
size_t dimensionVertex (size_t iV) const
 Returns the dimension of the local space on the vertex of index iV. More...
 
size_t dimensionEdge (const Edge &E) const
 Returns the dimension of the local space on the edge E (including vertices) More...
 
size_t dimensionEdge (size_t iE) const
 Returns the dimension of the local space on the edge of index iE (including vertices) More...
 
size_t dimensionCell (const Cell &T) const
 Returns the dimension of the local space on the cell T (including faces, edges and vertices) More...
 
size_t dimensionCellBoundary (const Cell &T) const
 Returns the dimension of the local space on the boundary of T. More...
 
size_t dimensionCell (size_t iT) const
 Returns the dimension of the local space on the cell of index iT (including faces, edges and vertices) More...
 
size_t dimensionCellBoundary (size_t iT) const
 Returns the dimension of the local space on the boundary of T. More...
 
size_t localOffset (const Edge &E, const Vertex &V) const
 
size_t localOffset (const Edge &E, const Vertex &V, const std::string &vertex_dof_name) const
 
size_t localOffset (const Edge &E) const
 
size_t localOffset (const Edge &E, const std::string &edge_dof_name) const
 
size_t localOffset (const Cell &T, const Vertex &V) const
 
size_t localOffset (const Cell &T, const Vertex &V, const std::string &vertex_dof_name) const
 
size_t localOffset (const Cell &T, const Edge &E) const
 
size_t localOffset (const Cell &T, const Edge &E, const std::string &edge_dof_name) const
 
size_t localOffset (const Cell &T) const
 
size_t localOffset (const Cell &T, const std::string &cell_dof_name) const
 

Protected Attributes

DiscreteSpaceDescriptor m_descriptor
 
size_t m_n_local_cell_dofs
 
size_t m_n_local_edge_dofs
 
size_t m_n_local_vertex_dofs
 
std::map< std::string, size_t > m_cell_dofs_offsets
 
std::map< std::string, size_t > m_edge_dofs_offsets
 
std::map< std::string, size_t > m_vertex_dofs_offsets
 

Constructor & Destructor Documentation

◆ LocalDOFTable()

LocalDOFTable::LocalDOFTable ( const DiscreteSpaceDescriptor descriptor)

Member Function Documentation

◆ descriptor() [1/2]

DiscreteSpaceDescriptor& HArDCore2D::DSL::LocalDOFTable::descriptor ( )
inline

◆ descriptor() [2/2]

const DiscreteSpaceDescriptor& HArDCore2D::DSL::LocalDOFTable::descriptor ( ) const
inline

◆ dimension()

size_t HArDCore2D::DSL::LocalDOFTable::dimension ( ) const
inline

Returns the dimension of the global space (all DOFs for all geometric entities)

◆ dimensionCell() [1/2]

size_t HArDCore2D::DSL::LocalDOFTable::dimensionCell ( const Cell &  T) const
inline

Returns the dimension of the local space on the cell T (including faces, edges and vertices)

◆ dimensionCell() [2/2]

size_t HArDCore2D::DSL::LocalDOFTable::dimensionCell ( size_t  iT) const
inline

Returns the dimension of the local space on the cell of index iT (including faces, edges and vertices)

◆ dimensionCellBoundary() [1/2]

size_t HArDCore2D::DSL::LocalDOFTable::dimensionCellBoundary ( const Cell &  T) const
inline

Returns the dimension of the local space on the boundary of T.

◆ dimensionCellBoundary() [2/2]

size_t HArDCore2D::DSL::LocalDOFTable::dimensionCellBoundary ( size_t  iT) const
inline

Returns the dimension of the local space on the boundary of T.

◆ dimensionEdge() [1/2]

size_t HArDCore2D::DSL::LocalDOFTable::dimensionEdge ( const Edge &  E) const
inline

Returns the dimension of the local space on the edge E (including vertices)

◆ dimensionEdge() [2/2]

size_t HArDCore2D::DSL::LocalDOFTable::dimensionEdge ( size_t  iE) const
inline

Returns the dimension of the local space on the edge of index iE (including vertices)

◆ dimensionVertex() [1/2]

size_t HArDCore2D::DSL::LocalDOFTable::dimensionVertex ( const Vertex &  V) const
inline

Returns the dimension of the local space on the vertex V.

◆ dimensionVertex() [2/2]

size_t HArDCore2D::DSL::LocalDOFTable::dimensionVertex ( size_t  iV) const
inline

Returns the dimension of the local space on the vertex of index iV.

◆ localOffset() [1/10]

size_t LocalDOFTable::localOffset ( const Cell &  T) const

◆ localOffset() [2/10]

size_t LocalDOFTable::localOffset ( const Cell &  T,
const Edge &  E 
) const

◆ localOffset() [3/10]

size_t LocalDOFTable::localOffset ( const Cell &  T,
const Edge &  E,
const std::string &  edge_dof_name 
) const

◆ localOffset() [4/10]

size_t LocalDOFTable::localOffset ( const Cell &  T,
const std::string &  cell_dof_name 
) const

◆ localOffset() [5/10]

size_t LocalDOFTable::localOffset ( const Cell &  T,
const Vertex &  V 
) const

◆ localOffset() [6/10]

size_t LocalDOFTable::localOffset ( const Cell &  T,
const Vertex &  V,
const std::string &  vertex_dof_name 
) const

◆ localOffset() [7/10]

size_t LocalDOFTable::localOffset ( const Edge &  E) const

◆ localOffset() [8/10]

size_t LocalDOFTable::localOffset ( const Edge &  E,
const std::string &  edge_dof_name 
) const

◆ localOffset() [9/10]

size_t LocalDOFTable::localOffset ( const Edge &  E,
const Vertex &  V 
) const

◆ localOffset() [10/10]

size_t LocalDOFTable::localOffset ( const Edge &  E,
const Vertex &  V,
const std::string &  vertex_dof_name 
) const

◆ mesh()

const Mesh& HArDCore2D::DSL::LocalDOFTable::mesh ( ) const
inline

◆ numberOfLocalCellDofs() [1/2]

size_t HArDCore2D::DSL::LocalDOFTable::numberOfLocalCellDofs ( ) const
inline

◆ numberOfLocalCellDofs() [2/2]

size_t HArDCore2D::DSL::LocalDOFTable::numberOfLocalCellDofs ( const std::string &  dof_name) const
inline

◆ numberOfLocalEdgeDofs() [1/2]

size_t HArDCore2D::DSL::LocalDOFTable::numberOfLocalEdgeDofs ( ) const
inline

◆ numberOfLocalEdgeDofs() [2/2]

size_t HArDCore2D::DSL::LocalDOFTable::numberOfLocalEdgeDofs ( const std::string &  dof_name) const
inline

◆ numberOfLocalVertexDofs() [1/2]

size_t HArDCore2D::DSL::LocalDOFTable::numberOfLocalVertexDofs ( ) const
inline

◆ numberOfLocalVertexDofs() [2/2]

size_t HArDCore2D::DSL::LocalDOFTable::numberOfLocalVertexDofs ( const std::string &  dof_name) const
inline

◆ numTotalDofsCells()

size_t HArDCore2D::DSL::LocalDOFTable::numTotalDofsCells ( ) const
inline

Returns the total number of vertex DOFs.

◆ numTotalDofsEdges()

size_t HArDCore2D::DSL::LocalDOFTable::numTotalDofsEdges ( ) const
inline

Returns the total number of vertex DOFs.

◆ numTotalDofsVertices()

size_t HArDCore2D::DSL::LocalDOFTable::numTotalDofsVertices ( ) const
inline

Returns the total number of vertex DOFs.

Member Data Documentation

◆ m_cell_dofs_offsets

std::map<std::string, size_t> HArDCore2D::DSL::LocalDOFTable::m_cell_dofs_offsets
protected

◆ m_descriptor

DiscreteSpaceDescriptor HArDCore2D::DSL::LocalDOFTable::m_descriptor
protected

◆ m_edge_dofs_offsets

std::map<std::string, size_t> HArDCore2D::DSL::LocalDOFTable::m_edge_dofs_offsets
protected

◆ m_n_local_cell_dofs

size_t HArDCore2D::DSL::LocalDOFTable::m_n_local_cell_dofs
protected

◆ m_n_local_edge_dofs

size_t HArDCore2D::DSL::LocalDOFTable::m_n_local_edge_dofs
protected

◆ m_n_local_vertex_dofs

size_t HArDCore2D::DSL::LocalDOFTable::m_n_local_vertex_dofs
protected

◆ m_vertex_dofs_offsets

std::map<std::string, size_t> HArDCore2D::DSL::LocalDOFTable::m_vertex_dofs_offsets
protected

The documentation for this class was generated from the following files: