Compile-time traits for a cell topology.
More...
#include <Shards_CellTopologyTraits.hpp>
|
enum | {
dimension = Dimension,
vertex_count = Number_Vertex,
node_count = Number_Node,
edge_count = TypeListLength<EdgeList>::value,
side_count,
key
} |
|
enum | { permutation_count = TypeListLength< PermutationMaps >::value
} |
|
typedef CellTopologyTraits
< Dimension, Number_Vertex,
Number_Node, EdgeList,
EdgeMaps, FaceList, FaceMaps,
PermutationMaps,
PermutationPolarity > | Traits |
| The self type for the traits.
|
|
template<unsigned Dimension, unsigned Number_Vertex, unsigned Number_Node, class EdgeList = TypeListEnd, class EdgeMaps = TypeListEnd, class FaceList = TypeListEnd, class FaceMaps = TypeListEnd, class PermutationMaps = TypeListEnd, class PermutationPolarity = IndexList<>>
struct shards::CellTopologyTraits< Dimension, Number_Vertex, Number_Node, EdgeList, EdgeMaps, FaceList, FaceMaps, PermutationMaps, PermutationPolarity >
Compile-time traits for a cell topology.
Definition at line 38 of file Shards_CellTopologyTraits.hpp.
template<unsigned Dimension, unsigned Number_Vertex, unsigned Number_Node, class EdgeList = TypeListEnd, class EdgeMaps = TypeListEnd, class FaceList = TypeListEnd, class FaceMaps = TypeListEnd, class PermutationMaps = TypeListEnd, class PermutationPolarity = IndexList<>>
Enumerator |
---|
dimension |
Topological dimension.
|
vertex_count |
Number of vertices.
|
node_count |
Number of nodes (a.k.a. Cell^0 subcells).
|
edge_count |
Number of edges (a.k.a. Cell^1 subcells).
|
side_count |
Number of sides (a.k.a. Cell^(D-1) subcells).
|
key |
Unique key for this topology.
Uniqueness assumes that extended topology nodes (non-vertex nodes) are placed regularly throughout the cell topology. For example, if any edge has an interior node then all edges have an interior node. If this assumption is violated then the key cannot guarantee uniqueness.
|
Definition at line 271 of file Shards_CellTopologyTraits.hpp.
The documentation for this struct was generated from the following file: