Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/v0.1.0/v0.9.0/cpp
DOLFINx  0.1.0
DOLFINx C++ interface
dofmapbuilder.h
1 // Copyright (C) 2008-2018 Anders Logg, Ola Skavhaug and Garth N. Wells
2 //
3 // This file is part of DOLFINx (https://www.fenicsproject.org)
4 //
5 // SPDX-License-Identifier: LGPL-3.0-or-later
6 
7 #pragma once
8 
9 #include <dolfinx/graph/AdjacencyList.h>
10 #include <memory>
11 #include <mpi.h>
12 #include <tuple>
13 
14 namespace dolfinx
15 {
16 
17 namespace common
18 {
19 class IndexMap;
20 }
21 
22 namespace mesh
23 {
24 class Topology;
25 } // namespace mesh
26 
27 namespace fem
28 {
29 class ElementDofLayout;
30 class CoordinateElement;
31 
38 std::tuple<std::shared_ptr<common::IndexMap>, int,
39  graph::AdjacencyList<std::int32_t>>
40 build_dofmap_data(MPI_Comm comm, const mesh::Topology& topology,
41  const ElementDofLayout& element_dof_layout);
42 
43 } // namespace fem
44 } // namespace dolfinx
dolfinx::fem::build_dofmap_data
std::tuple< std::shared_ptr< common::IndexMap >, int, graph::AdjacencyList< std::int32_t > > build_dofmap_data(MPI_Comm comm, const mesh::Topology &topology, const ElementDofLayout &element_dof_layout)
Build dofmap data for an element on a mesh topology.
Definition: dofmapbuilder.cpp:514