IOSS 2.0
Loading...
Searching...
No Matches
Iotm::TopologyMapEntry Class Reference

#include <Iotm_TextMeshTopologyMapping.h>

Collaboration diagram for Iotm::TopologyMapEntry:
[legend]

Public Types

using Ordinal = uint16_t
 
using Permutation = uint8_t
 
using DimensionArray = bool[4]
 

Public Member Functions

 TopologyMapEntry ()
 
 TopologyMapEntry (const std::string &name)
 
 TopologyMapEntry (const TopologyMapEntry &topo)=default
 
TopologyMapEntryoperator= (const TopologyMapEntry &topo)=default
 
bool operator== (const Ioss::ElementTopology *topo) const
 
bool defined_on_spatial_dimension (const unsigned spatialDim) const
 
const std::string name () const
 
int num_nodes () const
 
bool operator== (const TopologyMapEntry &rhs) const
 
bool operator!= (const TopologyMapEntry &rhs) const
 
int num_face_sides () const
 
int num_sides () const
 
bool valid_side (unsigned side) const
 
std::string side_topology_name (unsigned side) const
 
const TopologyMapEntryside_topology (unsigned side) const
 
unsigned side_topology_num_nodes (unsigned side) const
 
std::vector< Ordinalside_topology_node_indices (unsigned side) const
 
bool is_shell () const
 
unsigned num_permutations () const
 
unsigned num_positive_permutations () const
 
bool is_positive_polarity (Permutation permutation) const
 
bool valid_permutation (Permutation permutation) const
 
bool fill_permutation_indices (Permutation permutation, std::vector< Ordinal > &nodeOrdinalVector) const
 
std::vector< Ordinalpermutation_indices (Permutation permutation) const
 

Static Public Member Functions

static TopologyMapEntryinvalid_topology_factory ()
 
static TopologyMapEntrynode_factory ()
 
static TopologyMapEntryline_2_factory ()
 
static TopologyMapEntryline_2_1d_factory ()
 
static TopologyMapEntryline_3_factory ()
 
static TopologyMapEntryline_3_1d_factory ()
 
static TopologyMapEntrytri_3_factory ()
 
static TopologyMapEntrytri_4_factory ()
 
static TopologyMapEntrytri_6_factory ()
 
static TopologyMapEntryquad_4_factory ()
 
static TopologyMapEntryquad_6_factory ()
 
static TopologyMapEntryquad_8_factory ()
 
static TopologyMapEntryquad_9_factory ()
 
static TopologyMapEntryparticle_factory ()
 
static TopologyMapEntrybeam_2_factory ()
 
static TopologyMapEntrybeam_3_factory ()
 
static TopologyMapEntryshell_line_2_factory ()
 
static TopologyMapEntryshell_line_3_factory ()
 
static TopologyMapEntryspring_2_factory ()
 
static TopologyMapEntryspring_3_factory ()
 
static TopologyMapEntrytri_3_2d_factory ()
 
static TopologyMapEntrytri_4_2d_factory ()
 
static TopologyMapEntrytri_6_2d_factory ()
 
static TopologyMapEntryquad_4_2d_factory ()
 
static TopologyMapEntryquad_8_2d_factory ()
 
static TopologyMapEntryquad_9_2d_factory ()
 
static TopologyMapEntryshell_tri_3_factory ()
 
static TopologyMapEntryshell_tri_4_factory ()
 
static TopologyMapEntryshell_tri_6_factory ()
 
static TopologyMapEntryshell_quad_4_factory ()
 
static TopologyMapEntryshell_quad_8_factory ()
 
static TopologyMapEntryshell_quad_9_factory ()
 
static TopologyMapEntrytet_4_factory ()
 
static TopologyMapEntrytet_8_factory ()
 
static TopologyMapEntrytet_10_factory ()
 
static TopologyMapEntrytet_11_factory ()
 
static TopologyMapEntrypyramid_5_factory ()
 
static TopologyMapEntrypyramid_13_factory ()
 
static TopologyMapEntrypyramid_14_factory ()
 
static TopologyMapEntrywedge_6_factory ()
 
static TopologyMapEntrywedge_12_factory ()
 
static TopologyMapEntrywedge_15_factory ()
 
static TopologyMapEntrywedge_18_factory ()
 
static TopologyMapEntryhex_8_factory ()
 
static TopologyMapEntryhex_20_factory ()
 
static TopologyMapEntryhex_27_factory ()
 

Static Public Attributes

static constexpr Ordinal InvalidOrdinal = 65535
 
static constexpr Permutation InvalidPermutation = 128
 

Private Member Functions

bool equivalent_valid_spatial_dimensions (const DimensionArray &validSpatialDimensions_) const
 
void set_valid_spatial_dimensions (const DimensionArray &validSpatialDimensions_)
 
void set_side_topologies (const std::vector< TopologyMapEntry * > &sideTopologies_)
 
unsigned num_permutation_nodes () const
 

Private Attributes

unsigned int id {0}
 
Ioss::ElementTopologytopology = nullptr
 
std::vector< TopologyMapEntry * > sideTopologies {}
 
DimensionArray validSpatialDimensions
 
bool initialized {false}
 

Member Typedef Documentation

◆ DimensionArray

◆ Ordinal

◆ Permutation

Constructor & Destructor Documentation

◆ TopologyMapEntry() [1/3]

Iotm::TopologyMapEntry::TopologyMapEntry ( )
inline

◆ TopologyMapEntry() [2/3]

Iotm::TopologyMapEntry::TopologyMapEntry ( const std::string & name)
inlineexplicit

◆ TopologyMapEntry() [3/3]

Iotm::TopologyMapEntry::TopologyMapEntry ( const TopologyMapEntry & topo)
default

Member Function Documentation

◆ beam_2_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::beam_2_factory ( )
inlinestatic

◆ beam_3_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::beam_3_factory ( )
inlinestatic

◆ defined_on_spatial_dimension()

bool Iotm::TopologyMapEntry::defined_on_spatial_dimension ( const unsigned spatialDim) const
inline

◆ equivalent_valid_spatial_dimensions()

bool Iotm::TopologyMapEntry::equivalent_valid_spatial_dimensions ( const DimensionArray & validSpatialDimensions_) const
inlineprivate

◆ fill_permutation_indices()

bool Iotm::TopologyMapEntry::fill_permutation_indices ( Permutation permutation,
std::vector< Ordinal > & nodeOrdinalVector ) const
inline

◆ hex_20_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::hex_20_factory ( )
inlinestatic

◆ hex_27_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::hex_27_factory ( )
inlinestatic

◆ hex_8_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::hex_8_factory ( )
inlinestatic

◆ invalid_topology_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::invalid_topology_factory ( )
inlinestatic

◆ is_positive_polarity()

bool Iotm::TopologyMapEntry::is_positive_polarity ( Permutation permutation) const
inline

◆ is_shell()

bool Iotm::TopologyMapEntry::is_shell ( ) const
inline

◆ line_2_1d_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::line_2_1d_factory ( )
inlinestatic

◆ line_2_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::line_2_factory ( )
inlinestatic

◆ line_3_1d_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::line_3_1d_factory ( )
inlinestatic

◆ line_3_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::line_3_factory ( )
inlinestatic

◆ name()

const std::string Iotm::TopologyMapEntry::name ( ) const
inline

◆ node_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::node_factory ( )
inlinestatic

◆ num_face_sides()

int Iotm::TopologyMapEntry::num_face_sides ( ) const
inline

◆ num_nodes()

int Iotm::TopologyMapEntry::num_nodes ( ) const
inline

◆ num_permutation_nodes()

unsigned Iotm::TopologyMapEntry::num_permutation_nodes ( ) const
inlineprivate

◆ num_permutations()

unsigned Iotm::TopologyMapEntry::num_permutations ( ) const
inline

◆ num_positive_permutations()

unsigned Iotm::TopologyMapEntry::num_positive_permutations ( ) const
inline

◆ num_sides()

int Iotm::TopologyMapEntry::num_sides ( ) const
inline

◆ operator!=()

bool Iotm::TopologyMapEntry::operator!= ( const TopologyMapEntry & rhs) const
inline

◆ operator=()

TopologyMapEntry & Iotm::TopologyMapEntry::operator= ( const TopologyMapEntry & topo)
default

◆ operator==() [1/2]

bool Iotm::TopologyMapEntry::operator== ( const Ioss::ElementTopology * topo) const
inline

◆ operator==() [2/2]

bool Iotm::TopologyMapEntry::operator== ( const TopologyMapEntry & rhs) const
inline

◆ particle_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::particle_factory ( )
inlinestatic

◆ permutation_indices()

std::vector< Ordinal > Iotm::TopologyMapEntry::permutation_indices ( Permutation permutation) const
inline

◆ pyramid_13_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::pyramid_13_factory ( )
inlinestatic

◆ pyramid_14_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::pyramid_14_factory ( )
inlinestatic

◆ pyramid_5_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::pyramid_5_factory ( )
inlinestatic

◆ quad_4_2d_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::quad_4_2d_factory ( )
inlinestatic

◆ quad_4_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::quad_4_factory ( )
inlinestatic

◆ quad_6_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::quad_6_factory ( )
inlinestatic

◆ quad_8_2d_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::quad_8_2d_factory ( )
inlinestatic

◆ quad_8_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::quad_8_factory ( )
inlinestatic

◆ quad_9_2d_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::quad_9_2d_factory ( )
inlinestatic

◆ quad_9_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::quad_9_factory ( )
inlinestatic

◆ set_side_topologies()

void Iotm::TopologyMapEntry::set_side_topologies ( const std::vector< TopologyMapEntry * > & sideTopologies_)
inlineprivate

◆ set_valid_spatial_dimensions()

void Iotm::TopologyMapEntry::set_valid_spatial_dimensions ( const DimensionArray & validSpatialDimensions_)
inlineprivate

◆ shell_line_2_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::shell_line_2_factory ( )
inlinestatic

◆ shell_line_3_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::shell_line_3_factory ( )
inlinestatic

◆ shell_quad_4_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::shell_quad_4_factory ( )
inlinestatic

◆ shell_quad_8_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::shell_quad_8_factory ( )
inlinestatic

◆ shell_quad_9_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::shell_quad_9_factory ( )
inlinestatic

◆ shell_tri_3_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::shell_tri_3_factory ( )
inlinestatic

◆ shell_tri_4_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::shell_tri_4_factory ( )
inlinestatic

◆ shell_tri_6_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::shell_tri_6_factory ( )
inlinestatic

◆ side_topology()

const TopologyMapEntry & Iotm::TopologyMapEntry::side_topology ( unsigned side) const
inline

◆ side_topology_name()

std::string Iotm::TopologyMapEntry::side_topology_name ( unsigned side) const
inline

◆ side_topology_node_indices()

std::vector< Ordinal > Iotm::TopologyMapEntry::side_topology_node_indices ( unsigned side) const
inline

◆ side_topology_num_nodes()

unsigned Iotm::TopologyMapEntry::side_topology_num_nodes ( unsigned side) const
inline

◆ spring_2_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::spring_2_factory ( )
inlinestatic

◆ spring_3_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::spring_3_factory ( )
inlinestatic

◆ tet_10_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tet_10_factory ( )
inlinestatic

◆ tet_11_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tet_11_factory ( )
inlinestatic

◆ tet_4_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tet_4_factory ( )
inlinestatic

◆ tet_8_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tet_8_factory ( )
inlinestatic

◆ tri_3_2d_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tri_3_2d_factory ( )
inlinestatic

◆ tri_3_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tri_3_factory ( )
inlinestatic

◆ tri_4_2d_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tri_4_2d_factory ( )
inlinestatic

◆ tri_4_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tri_4_factory ( )
inlinestatic

◆ tri_6_2d_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tri_6_2d_factory ( )
inlinestatic

◆ tri_6_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::tri_6_factory ( )
inlinestatic

◆ valid_permutation()

bool Iotm::TopologyMapEntry::valid_permutation ( Permutation permutation) const
inline

◆ valid_side()

bool Iotm::TopologyMapEntry::valid_side ( unsigned side) const
inline

◆ wedge_12_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::wedge_12_factory ( )
inlinestatic

◆ wedge_15_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::wedge_15_factory ( )
inlinestatic

◆ wedge_18_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::wedge_18_factory ( )
inlinestatic

◆ wedge_6_factory()

static TopologyMapEntry * Iotm::TopologyMapEntry::wedge_6_factory ( )
inlinestatic

Member Data Documentation

◆ id

unsigned int Iotm::TopologyMapEntry::id {0}
private

◆ initialized

bool Iotm::TopologyMapEntry::initialized {false}
private

◆ InvalidOrdinal

Ordinal Iotm::TopologyMapEntry::InvalidOrdinal = 65535
staticconstexpr

◆ InvalidPermutation

Permutation Iotm::TopologyMapEntry::InvalidPermutation = 128
staticconstexpr

◆ sideTopologies

std::vector<TopologyMapEntry *> Iotm::TopologyMapEntry::sideTopologies {}
private

◆ topology

Ioss::ElementTopology* Iotm::TopologyMapEntry::topology = nullptr
private

◆ validSpatialDimensions

DimensionArray Iotm::TopologyMapEntry::validSpatialDimensions
private

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