16#include "ioss_export.h"
19 class ElementTopology;
20 class ElementPermutation;
41 using ETM_VP = ElementTopologyMap::value_type;
51 return m_registry.find(type);
70 void alias(
const std::string &base,
const std::string &syn);
134 bool ok_to_fail =
false);
136 IOSS_NODISCARD static unsigned int get_unique_id(
const std::string &type);
137 static int describe(
NameList *names);
145 IOSS_NODISCARD virtual const std::string &base_topology_permutation_name()
const;
148 ElementTopology(std::string type, std::string master_elem_name,
bool delete_me =
false);
156 static const std::string &topology_shape_to_permutation_name(
Ioss::ElementShape topoShape);
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
Definition Ioss_ElementTopology.h:44
std::vector< Ioss::ElementTopology * > m_deleteThese
Definition Ioss_ElementTopology.h:58
IOSS_NODISCARD ElementTopologyMap::iterator find(const std::string &type)
Definition Ioss_ElementTopology.h:49
IOSS_NODISCARD ElementTopologyMap::iterator end()
Definition Ioss_ElementTopology.h:48
IOSS_NODISCARD ElementTopologyMap::iterator begin()
Definition Ioss_ElementTopology.h:47
Ioss::ElementTopologyMap m_registry
Definition Ioss_ElementTopology.h:57
Definition Ioss_ElementPermutation.h:60
Represents an element topology.
Definition Ioss_ElementTopology.h:68
virtual IOSS_NODISCARD ElementTopology * face_type(int face_number=0) const =0
virtual IOSS_NODISCARD ElementShape shape() const =0
IOSS_NODISCARD const std::string & name() const
Definition Ioss_ElementTopology.h:78
virtual IOSS_NODISCARD int number_corner_nodes() const =0
virtual IOSS_NODISCARD IntVector element_connectivity() const =0
virtual IOSS_NODISCARD bool validate_permutation_nodes() const
Definition Ioss_ElementTopology.h:149
ElementTopology(const ElementTopology &)=delete
virtual IOSS_NODISCARD int number_nodes() const =0
virtual IOSS_NODISCARD int number_edges() const =0
virtual IOSS_NODISCARD int number_edges_face(int face=0) const =0
virtual IOSS_NODISCARD int order() const =0
virtual IOSS_NODISCARD int number_nodes_face(int face=0) const =0
const std::string name_
Definition Ioss_ElementTopology.h:153
virtual IOSS_NODISCARD int parametric_dimension() const =0
IOSS_NODISCARD std::string master_element_name() const
Definition Ioss_ElementTopology.h:83
const std::string masterElementName_
Definition Ioss_ElementTopology.h:154
virtual ~ElementTopology()=default
virtual IOSS_NODISCARD int spatial_dimension() const =0
virtual IOSS_NODISCARD bool is_shell() const =0
virtual IOSS_NODISCARD int number_faces() const =0
virtual IOSS_NODISCARD int number_nodes_edge(int edge=0) const =0
virtual IOSS_NODISCARD ElementTopology * edge_type(int edge_number=0) const =0
virtual IOSS_NODISCARD IntVector edge_connectivity(int edge_number) const =0
virtual IOSS_NODISCARD IntVector face_connectivity(int face_number) const =0
ElementTopology & operator=(const ElementTopology &)=delete
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
Ioss::NameList NameList
Definition Ioss_ChangeSetFactory.h:25
ElementShape
Definition Ioss_ElementTopology.h:24
std::map< std::string, ElementTopology *, std::less<> > ElementTopologyMap
Definition Ioss_ElementTopology.h:40
std::vector< int > IntVector
Definition Ioss_CodeTypes.h:21
std::map< ElementShape, std::string > ElementShapeMap
Definition Ioss_ElementTopology.h:39
ElementTopologyMap::value_type ETM_VP
Definition Ioss_ElementTopology.h:41