|
HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|
Base class for global DOF spaces. Provides functions to manipulate global DOFs (the local version being provided by LocalDOFTable). More...
#include <global-dof-table.hpp>


Public Member Functions | |
| GlobalDOFTable (const DiscreteSpaceDescriptor &descriptor) | |
| Constructor. | |
| size_t | globalOffset (const Vertex &V) const |
| Return the global offset for the unknowns on the vertex V. | |
| size_t | globalOffset (const Edge &E) const |
| Return the global offset for the unknowns on the edge E. | |
| size_t | globalOffset (const Cell &T) const |
| Return the global offset for the unknowns on the cell T. | |
| Eigen::VectorXd | restrictEdge (size_t iE, const Eigen::VectorXd &vh) const |
| Restrict to the edge (including its vertices) of index iE. | |
| Eigen::VectorXd | restrictCell (size_t iT, const Eigen::VectorXd &vh) const |
| Restrict to the cell (including vertices and edges) of index iT. | |
| Eigen::VectorXd | restrict (const Edge &E, const Eigen::VectorXd vh) const |
| Restrict to an edge. | |
| Eigen::VectorXd | restrict (const Cell &T, const Eigen::VectorXd vh) const |
| Restrict to a cell. | |
| Eigen::MatrixXd | extendOperator (const Cell &T, const Edge &E, const Eigen::MatrixXd &opE) const |
| Extend an edge operator to a cell. | |
| std::vector< size_t > | globalDOFIndices (const Cell &T) const |
| void | setLabelDOF (const size_t i, const int label) |
| Set a label to the DOF number i (default label is -1) | |
| int | getLabelDOF (const size_t i) |
| Get label of DOF number i. | |
| GlobalDOFTable (const DiscreteSpaceDescriptor &descriptor) | |
| Constructor. | |
| size_t | globalOffset (const Vertex &V) const |
| Return the global offset for the unknowns on the vertex V. | |
| size_t | globalOffset (const Edge &E) const |
| Return the global offset for the unknowns on the edge E. | |
| size_t | globalOffset (const Cell &T) const |
| Return the global offset for the unknowns on the cell T. | |
| Eigen::VectorXd | restrictEdge (size_t iE, const Eigen::VectorXd &vh) const |
| Restrict to the edge (including its vertices) of index iE. | |
| Eigen::VectorXd | restrictCell (size_t iT, const Eigen::VectorXd &vh) const |
| Restrict to the cell (including vertices and edges) of index iT. | |
| Eigen::VectorXd | restrict (const Edge &E, const Eigen::VectorXd vh) const |
| Restrict to an edge. | |
| Eigen::VectorXd | restrict (const Cell &T, const Eigen::VectorXd vh) const |
| Restrict to a cell. | |
| Eigen::MatrixXd | extendOperator (const Cell &T, const Edge &E, const Eigen::MatrixXd &opE) const |
| Extend an edge operator to a cell. | |
| std::vector< size_t > | globalDOFIndices (const Cell &T) const |
| void | setLabelDOF (const size_t i, const int label) |
| Set a label to the DOF number i (default label is -1) | |
| int | getLabelDOF (const size_t i) |
| Get label of DOF number i. | |
| GlobalDOFTable (const DiscreteSpaceDescriptor &descriptor) | |
| Constructor. | |
| size_t | globalOffset (const Vertex &V) const |
| Return the global offset for the unknowns on the vertex V. | |
| size_t | globalOffset (const Edge &E) const |
| Return the global offset for the unknowns on the edge E. | |
| size_t | globalOffset (const Cell &T) const |
| Return the global offset for the unknowns on the cell T. | |
| Eigen::VectorXd | restrictEdge (size_t iE, const Eigen::VectorXd &vh) const |
| Restrict to the edge (including its vertices) of index iE. | |
| Eigen::VectorXd | restrictCell (size_t iT, const Eigen::VectorXd &vh) const |
| Restrict to the cell (including vertices and edges) of index iT. | |
| Eigen::VectorXd | restrict (const Edge &E, const Eigen::VectorXd vh) const |
| Restrict to an edge. | |
| Eigen::VectorXd | restrict (const Cell &T, const Eigen::VectorXd vh) const |
| Restrict to a cell. | |
| Eigen::MatrixXd | extendOperator (const Cell &T, const Edge &E, const Eigen::MatrixXd &opE) const |
| Extend an edge operator to a cell. | |
| std::vector< size_t > | globalDOFIndices (const Cell &T) const |
| void | setLabelDOF (const size_t i, const int label) |
| Set a label to the DOF number i (default label is -1) | |
| int | getLabelDOF (const size_t i) |
| Get label of DOF number i. | |
Public Member Functions inherited from HArDCore2D::DSL::LocalDOFTable | |
| LocalDOFTable (const DiscreteSpaceDescriptor &descriptor) | |
| const Mesh & | mesh () const |
| DiscreteSpaceDescriptor & | descriptor () |
| const DiscreteSpaceDescriptor & | descriptor () 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) | |
| size_t | numTotalDofsVertices () const |
| Returns the total number of vertex DOFs. | |
| size_t | numTotalDofsEdges () const |
| Returns the total number of vertex DOFs. | |
| size_t | numTotalDofsCells () const |
| Returns the total number of vertex DOFs. | |
| size_t | dimensionVertex (const Vertex &V) const |
| Returns the dimension of the local space on the vertex V. | |
| size_t | dimensionVertex (size_t iV) const |
| Returns the dimension of the local space on the vertex of index iV. | |
| size_t | dimensionEdge (const Edge &E) const |
| Returns the dimension of the local space on the edge E (including vertices) | |
| size_t | dimensionEdge (size_t iE) const |
| Returns the dimension of the local space on the edge of index iE (including vertices) | |
| size_t | dimensionCell (const Cell &T) const |
| Returns the dimension of the local space on the cell T (including faces, edges and vertices) | |
| size_t | dimensionCellBoundary (const Cell &T) const |
| Returns the dimension of the local space on the boundary of T. | |
| 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) | |
| size_t | dimensionCellBoundary (size_t iT) const |
| Returns the dimension of the local space on the boundary of T. | |
| 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 |
| LocalDOFTable (const DiscreteSpaceDescriptor &descriptor) | |
| const Mesh & | mesh () const |
| DiscreteSpaceDescriptor & | descriptor () |
| const DiscreteSpaceDescriptor & | descriptor () 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) | |
| size_t | numTotalDofsVertices () const |
| Returns the total number of vertex DOFs. | |
| size_t | numTotalDofsEdges () const |
| Returns the total number of vertex DOFs. | |
| size_t | numTotalDofsCells () const |
| Returns the total number of vertex DOFs. | |
| size_t | dimensionVertex (const Vertex &V) const |
| Returns the dimension of the local space on the vertex V. | |
| size_t | dimensionVertex (size_t iV) const |
| Returns the dimension of the local space on the vertex of index iV. | |
| size_t | dimensionEdge (const Edge &E) const |
| Returns the dimension of the local space on the edge E (including vertices) | |
| size_t | dimensionEdge (size_t iE) const |
| Returns the dimension of the local space on the edge of index iE (including vertices) | |
| size_t | dimensionCell (const Cell &T) const |
| Returns the dimension of the local space on the cell T (including faces, edges and vertices) | |
| size_t | dimensionCellBoundary (const Cell &T) const |
| Returns the dimension of the local space on the boundary of T. | |
| 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) | |
| size_t | dimensionCellBoundary (size_t iT) const |
| Returns the dimension of the local space on the boundary of T. | |
| 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 |
| LocalDOFTable (const DiscreteSpaceDescriptor &descriptor) | |
| const Mesh & | mesh () const |
| DiscreteSpaceDescriptor & | descriptor () |
| const DiscreteSpaceDescriptor & | descriptor () 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) | |
| size_t | numTotalDofsVertices () const |
| Returns the total number of vertex DOFs. | |
| size_t | numTotalDofsEdges () const |
| Returns the total number of vertex DOFs. | |
| size_t | numTotalDofsCells () const |
| Returns the total number of vertex DOFs. | |
| size_t | dimensionVertex (const Vertex &V) const |
| Returns the dimension of the local space on the vertex V. | |
| size_t | dimensionVertex (size_t iV) const |
| Returns the dimension of the local space on the vertex of index iV. | |
| size_t | dimensionEdge (const Edge &E) const |
| Returns the dimension of the local space on the edge E (including vertices) | |
| size_t | dimensionEdge (size_t iE) const |
| Returns the dimension of the local space on the edge of index iE (including vertices) | |
| size_t | dimensionCell (const Cell &T) const |
| Returns the dimension of the local space on the cell T (including faces, edges and vertices) | |
| size_t | dimensionCellBoundary (const Cell &T) const |
| Returns the dimension of the local space on the boundary of T. | |
| 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) | |
| size_t | dimensionCellBoundary (size_t iT) const |
| Returns the dimension of the local space on the boundary of T. | |
| 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 |
Additional Inherited Members | |
Protected Attributes inherited from HArDCore2D::DSL::LocalDOFTable | |
| 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 |
Base class for global DOF spaces. Provides functions to manipulate global DOFs (the local version being provided by LocalDOFTable).
The DOFs are organised by increasing geometric entities dimensions: DOFs of vertices, DOFs of edges, DOFs of cells.
| HArDCore2D::DSL::GlobalDOFTable::GlobalDOFTable | ( | const DiscreteSpaceDescriptor & | descriptor | ) |
Constructor.
| HArDCore2D::DSL::GlobalDOFTable::GlobalDOFTable | ( | const DiscreteSpaceDescriptor & | descriptor | ) |
Constructor.
| Eigen::MatrixXd HArDCore2D::DSL::GlobalDOFTable::extendOperator | ( | const Cell & | T, |
| const Edge & | E, | ||
| const Eigen::MatrixXd & | opE | ||
| ) | const |
Extend an edge operator to a cell.
| Eigen::MatrixXd HArDCore2D::DSL::GlobalDOFTable::extendOperator | ( | const Cell & | T, |
| const Edge & | E, | ||
| const Eigen::MatrixXd & | opE | ||
| ) | const |
Extend an edge operator to a cell.
Get label of DOF number i.
Get label of DOF number i.
Return the global offset for the unknowns on the cell T.
Return the global offset for the unknowns on the cell T.
Return the global offset for the unknowns on the edge E.
Return the global offset for the unknowns on the edge E.
Return the global offset for the unknowns on the vertex V.
Return the global offset for the unknowns on the vertex V.
|
inline |
Restrict to a cell.
|
inline |
Restrict to a cell.
|
inline |
Restrict to an edge.
|
inline |
Restrict to an edge.
| Eigen::VectorXd HArDCore2D::DSL::GlobalDOFTable::restrictCell | ( | size_t | iT, |
| const Eigen::VectorXd & | vh | ||
| ) | const |
Restrict to the cell (including vertices and edges) of index iT.
| Eigen::VectorXd HArDCore2D::DSL::GlobalDOFTable::restrictCell | ( | size_t | iT, |
| const Eigen::VectorXd & | vh | ||
| ) | const |
Restrict to the cell (including vertices and edges) of index iT.
| Eigen::VectorXd HArDCore2D::DSL::GlobalDOFTable::restrictEdge | ( | size_t | iE, |
| const Eigen::VectorXd & | vh | ||
| ) | const |
Restrict to the edge (including its vertices) of index iE.
| Eigen::VectorXd HArDCore2D::DSL::GlobalDOFTable::restrictEdge | ( | size_t | iE, |
| const Eigen::VectorXd & | vh | ||
| ) | const |
Restrict to the edge (including its vertices) of index iE.
Set a label to the DOF number i (default label is -1)
Set a label to the DOF number i (default label is -1)