shards  Version of the Day
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups
shards::CellTopologyTraits< Dimension, Number_Vertex, Number_Node, EdgeList, EdgeMaps, FaceList, FaceMaps, PermutationMaps, PermutationPolarity > Struct Template Reference

Compile-time traits for a cell topology. More...

#include <Shards_CellTopologyTraits.hpp>

Classes

struct  edge
 Edge subcell information. More...
 
struct  permutation
 Node permutations for proper subcells. More...
 
struct  side
 Side subcell information. More...
 
struct  subcell
 Subcell information. More...
 

Public Types

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.
 

Detailed Description

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 74 of file Shards_CellTopologyTraits.hpp.

Member Enumeration Documentation

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<>>
anonymous enum
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 291 of file Shards_CellTopologyTraits.hpp.


The documentation for this struct was generated from the following file: