DOLFINx
0.2.0
DOLFINx C++ interface
|
9 #include "cell_types.h"
12 #include <dolfinx/common/MPI.h>
15 #include <xtl/xspan.hpp>
24 class ElementDofLayout;
83 void set_index_map(
int dim,
84 const std::shared_ptr<const common::IndexMap>& map);
90 std::shared_ptr<const common::IndexMap> index_map(
int dim)
const;
98 std::shared_ptr<const graph::AdjacencyList<std::int32_t>>
99 connectivity(
int d0,
int d1)
const;
107 const std::vector<std::uint32_t>& get_cell_permutation_info()
const;
118 const std::vector<std::uint8_t>& get_facet_permutations()
const;
133 std::int32_t create_entities(
int dim);
138 void create_connectivity(
int d0,
int d1);
141 void create_entity_permutations();
144 void create_connectivity_all();
148 MPI_Comm mpi_comm()
const;
158 std::array<std::shared_ptr<const common::IndexMap>, 4> _index_map;
161 std::vector<std::vector<std::shared_ptr<graph::AdjacencyList<std::int32_t>>>>
167 std::vector<std::uint8_t> _facet_permutations;
171 std::vector<std::uint32_t> _cell_permutations;
193 const xtl::span<const std::int64_t>& original_cell_index,
194 const xtl::span<const int>& ghost_owners,
Mesh data structures and algorithms on meshes.
Definition: DirichletBC.h:19
CellType
Cell type identifier.
Definition: cell_types.h:21
Graph data structures and algorithms.
Definition: AdjacencyList.h:18
This class provides a static adjacency list data structure. It is commonly used to store directed gra...
Definition: AdjacencyList.h:46
GhostMode
Enum for different partitioning ghost modes.
Definition: Mesh.h:43
Topology create_topology(MPI_Comm comm, const graph::AdjacencyList< std::int64_t > &cells, const xtl::span< const std::int64_t > &original_cell_index, const xtl::span< const int > &ghost_owners, const CellType &cell_type, mesh::GhostMode ghost_mode)
Create distributed topology.
Definition: Topology.cpp:308
Miscellaneous classes, functions and types.
A duplicate MPI communicator and manage lifetime of the communicator.
Definition: MPI.h:31
Finite element method functionality.
Definition: assemble_matrix_impl.h:22
Topology stores the topology of a mesh, consisting of mesh entities and connectivity (incidence relat...
Definition: Topology.h:55
std::vector< bool > compute_boundary_facets(const Topology &topology)
Compute marker for owned facets that are on the exterior of the domain, i.e. are connected to only on...
Definition: Topology.cpp:124