DOLFIN-X
DOLFIN-X C++ interface
Static Public Member Functions | List of all members
dolfinx::fem::DofMapBuilder Class Reference

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

#include <DofMapBuilder.h>

Static Public Member Functions

static 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, int block_size)
 Build dofmap. More...
 

Detailed Description

Builds a DofMap on a mesh::Mesh.

Member Function Documentation

◆ build()

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

Build dofmap.

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

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