DOLFIN-X
DOLFIN-X C++ interface
Functions
dolfinx::fem::DofMapBuilder Namespace Reference

Builds a DofMap on a mesh::Mesh. More...

Functions

std::pair< std::shared_ptr< common::IndexMap >, graph::AdjacencyList< std::int32_t > > build (MPI_Comm comm, const mesh::Topology &topology, const ElementDofLayout &element_dof_layout)
 Build dofmap. More...
 

Detailed Description

Builds a DofMap on a mesh::Mesh.

Function Documentation

◆ build()

std::pair< std::shared_ptr< common::IndexMap >, graph::AdjacencyList< std::int32_t > > dolfinx::fem::DofMapBuilder::build ( MPI_Comm  comm,
const mesh::Topology topology,
const ElementDofLayout element_dof_layout 
)

Build dofmap.

Parameters
[in]commMPI communicator
[in]topologyThe mesh topology
[in]element_dof_layoutThe element dof layout for the function space
Returns
The index map and local to global DOF data for the DOF map.