DOLFINx 0.10.0.0
DOLFINx C++ interface
Loading...
Searching...
No Matches
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 <cstdint>
10#include <dolfinx/graph/AdjacencyList.h>
11#include <functional>
12#include <mpi.h>
13#include <tuple>
14#include <vector>
15
16namespace dolfinx::common
17{
18class IndexMap;
19}
20
21namespace dolfinx::mesh
22{
23class Topology;
24}
25
26namespace dolfinx::fem
27{
29
38std::tuple<common::IndexMap, int, std::vector<std::vector<std::int32_t>>>
39build_dofmap_data(MPI_Comm comm, const mesh::Topology& topology,
40 const std::vector<ElementDofLayout>& element_dof_layouts,
41 const std::function<std::vector<int>(
42 const graph::AdjacencyList<std::int32_t>&)>& reorder_fn);
43
44} // namespace dolfinx::fem
Definition IndexMap.h:96
Definition ElementDofLayout.h:31
Topology stores the topology of a mesh, consisting of mesh entities and connectivity (incidence relat...
Definition Topology.h:41
Miscellaneous classes, functions and types.
Definition dolfinx_common.h:8
Finite element method functionality.
Definition assemble_expression_impl.h:23
std::tuple< common::IndexMap, int, std::vector< std::vector< std::int32_t > > > build_dofmap_data(MPI_Comm comm, const mesh::Topology &topology, const std::vector< ElementDofLayout > &element_dof_layouts, const std::function< std::vector< int >(const graph::AdjacencyList< std::int32_t > &)> &reorder_fn)
Definition dofmapbuilder.cpp:627
Mesh data structures and algorithms on meshes.
Definition DofMap.h:32