DOLFIN-X
DOLFIN-X C++ interface
|
9 #include "ElementDofLayout.h"
10 #include <Eigen/Dense>
12 #include <dolfinx/graph/AdjacencyList.h>
47 std::shared_ptr<const common::IndexMap>
index_map,
68 Eigen::Array<std::int32_t, Eigen::Dynamic, 1>::ConstSegmentReturnType
71 return _dofmap.links(cell);
83 std::pair<std::unique_ptr<DofMap>, std::vector<std::int32_t>>
DofMap extract_sub_dofmap(const std::vector< int > &component) const
Extract subdofmap component.
Definition: DofMap.cpp:164
std::pair< std::unique_ptr< DofMap >, std::vector< std::int32_t > > collapse(MPI_Comm comm, const mesh::Topology &topology) const
Create a "collapsed" dofmap (collapses a sub-dofmap)
Definition: DofMap.cpp:194
std::shared_ptr< const ElementDofLayout > element_dof_layout
Layout of dofs on an element.
Definition: DofMap.h:91
This class provides a static adjacency list data structure. It is commonly used to store directed gra...
Definition: assemble_matrix_impl.h:26
Degree-of-freedom map.
Definition: DofMap.h:40
virtual ~DofMap()=default
Destructor.
const graph::AdjacencyList< std::int32_t > & list() const
Get dofmap data.
Definition: DofMap.h:88
Eigen::Array< std::int32_t, Eigen::Dynamic, 1 >::ConstSegmentReturnType cell_dofs(int cell) const
Local-to-global mapping of dofs on a cell.
Definition: DofMap.h:69
DofMap(std::shared_ptr< const ElementDofLayout > element_dof_layout, std::shared_ptr< const common::IndexMap > index_map, const graph::AdjacencyList< std::int32_t > &dofmap)
Create a DofMap from the layout of dofs on a reference element, an IndexMap defining the distribution...
Definition: DofMap.cpp:154
std::shared_ptr< const common::IndexMap > index_map
Index map that described the parallel distribution of the dofmap.
Definition: DofMap.h:94
Topology stores the topology of a mesh, consisting of mesh entities and connectivity (incidence relat...
Definition: Topology.h:58