DOLFIN-X
DOLFIN-X C++ interface
PermutationComputation.h
1 // Copyright (C) 2020 Matthew Scroggs
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 <Eigen/Dense>
10 #include <cstdint>
11 #include <utility>
12 
13 namespace dolfinx::mesh
14 {
15 class Topology;
16 
18 
19 namespace PermutationComputation
20 {
21 
75 std::pair<Eigen::Array<std::uint8_t, Eigen::Dynamic, Eigen::Dynamic>,
76  Eigen::Array<std::uint32_t, Eigen::Dynamic, 1>>
77 compute_entity_permutations(const Topology& topology);
78 
79 } // namespace PermutationComputation
80 } // namespace dolfinx::mesh
Topology stores the topology of a mesh, consisting of mesh entities and connectivity (incidence relat...
Definition: Topology.h:58
std::pair< Eigen::Array< std::uint8_t, Eigen::Dynamic, Eigen::Dynamic >, Eigen::Array< std::uint32_t, Eigen::Dynamic, 1 > > compute_entity_permutations(const Topology &topology)
Compute (1) facet rotation and reflection data, and (2) cell permutation data. This information is us...
Definition: PermutationComputation.cpp:308
Mesh data structures.
Definition: DirichletBC.h:27