DOLFINx
0.12.0.0
DOLFINx C++
Toggle main menu visibility
Loading...
Searching...
No Matches
dolfinx
fem
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
16
namespace
dolfinx::common
17
{
18
class
IndexMap
;
19
}
20
21
namespace
dolfinx::mesh
22
{
23
class
Topology
;
24
}
25
26
namespace
dolfinx::fem
27
{
28
class
ElementDofLayout
;
29
class
DofMap
;
30
39
std::tuple<common::IndexMap, int, std::vector<std::vector<std::int32_t>>>
40
build_dofmap_data
(MPI_Comm comm,
const
mesh::Topology& topology,
41
const
std::vector<ElementDofLayout>& element_dof_layouts,
42
const
std::function<std::vector<int>(
43
const
graph::AdjacencyList<std::int32_t>&)>& reorder_fn);
44
51
fem::DofMap
build_real_element_dofmap
(
const
mesh::Topology& topology,
52
const
fem::ElementDofLayout& dof_layout);
53
54
}
// namespace dolfinx::fem
dolfinx::common::IndexMap
Definition
IndexMap.h:95
dolfinx::fem::DofMap
Degree-of-freedom map.
Definition
DofMap.h:73
dolfinx::fem::ElementDofLayout
Definition
ElementDofLayout.h:31
dolfinx::mesh::Topology
Topology stores the topology of a mesh, consisting of mesh entities and connectivity (incidence relat...
Definition
Topology.h:49
dolfinx::common
Miscellaneous classes, functions and types.
Definition
dolfinx_common.h:8
dolfinx::fem
Finite element method functionality.
Definition
assemble_expression_impl.h:23
dolfinx::fem::build_real_element_dofmap
fem::DofMap build_real_element_dofmap(const mesh::Topology &topology, const fem::ElementDofLayout &dof_layout)
Build a dofmap on a real element, i.e. a single constant dof shared by all cells.
Definition
dofmapbuilder.cpp:714
dolfinx::fem::build_dofmap_data
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:660
dolfinx::mesh
Mesh data structures and algorithms on meshes.
Definition
DofMap.h:32
Generated by
1.17.0