DOLFINx 0.8.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 <functional>
11#include <mpi.h>
12#include <tuple>
13#include <vector>
14
15namespace dolfinx::common
16{
17class IndexMap;
18}
19
20namespace dolfinx::mesh
21{
22class Topology;
23}
24
26{
27template <typename T>
28class AdjacencyList;
29}
30
31namespace dolfinx::fem
32{
33class ElementDofLayout;
34
43std::tuple<common::IndexMap, int, std::vector<std::vector<std::int32_t>>>
44build_dofmap_data(MPI_Comm comm, const mesh::Topology& topology,
45 const std::vector<ElementDofLayout>& element_dof_layouts,
46 const std::function<std::vector<int>(
47 const graph::AdjacencyList<std::int32_t>&)>& reorder_fn);
48
49} // namespace dolfinx::fem
Definition AdjacencyList.h:28
Topology stores the topology of a mesh, consisting of mesh entities and connectivity (incidence relat...
Definition Topology.h:44
Miscellaneous classes, functions and types.
Definition dolfinx_common.h:8
Finite element method functionality.
Definition assemble_matrix_impl.h:26
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:621
Graph data structures and algorithms.
Definition dofmapbuilder.h:26
Mesh data structures and algorithms on meshes.
Definition DofMap.h:32