IOSS 2.0
Loading...
Searching...
No Matches
Iotm::text_mesh::Assemblies< EntityId > Class Template Reference

#include <Iotm_TextMeshAssembly.h>

Inheritance diagram for Iotm::text_mesh::Assemblies< EntityId >:
[legend]
Collaboration diagram for Iotm::text_mesh::Assemblies< EntityId >:
[legend]

Public Types

using BaseClass = EntityGroup<AssemblyData>
 

Public Member Functions

 Assemblies ()
 
bool is_cyclic (const std::string &assembly) const
 
bool is_cyclic () const
 
std::vector< std::string > && get_forward_traversal_list (const std::string &assembly) const
 
std::vector< std::string > && get_reverse_traversal_list (const std::string &assembly) const
 
- Public Member Functions inherited from Iotm::text_mesh::EntityGroup< AssemblyData >
 EntityGroup (const std::string &type, const std::string &namePrefix, const std::vector< std::string > &invalidNamePrefixes)
 
virtual ~EntityGroup ()
 
virtual void set_error_handler (ErrorHandler errorHandler)
 
AssemblyDataadd_group_data (const std::string &name, const std::vector< DataType > &data)
 
void finalize_parse ()
 
size_t size () const
 
const std::vector< AssemblyData > & get_group_data () const
 
const AssemblyDataget_group_data (unsigned id) const
 
const AssemblyDataget_group_data (std::string name) const
 
const std::vector< std::string > & get_part_names () const
 
const std::string & get_group_type () const
 
bool is_registered (const std::string &name) const
 

Private Member Functions

void fill_traversal (const std::string &assembly) const
 
bool check_for_cycle (const std::string &assembly) const
 
void initialize_graph () const
 

Private Attributes

std::unordered_map< std::string, bool > m_visitedNodes
 
std::vector< std::string > m_traversalList
 

Additional Inherited Members

- Protected Member Functions inherited from Iotm::text_mesh::EntityGroup< AssemblyData >
 EntityGroup ()
 
unsigned get_unassigned_id () const
 
void validate_group_meta_data (const AssemblyData &groupData)
 
void assign (size_t index)
 
void assign_id_from_default_exodus_name ()
 
void assign_id_and_name_for_empty_name ()
 
void assign_id_for_non_default_exodus_name ()
 
bool is_assigned (unsigned id) const
 
void verify_name (const std::string &name)
 
- Protected Attributes inherited from Iotm::text_mesh::EntityGroup< AssemblyData >
std::vector< std::string > m_partNames
 
std::unordered_map< std::string, unsigned > m_ids
 
std::unordered_map< unsigned, std::string > m_parts
 
bool m_idsAssigned
 
std::unordered_map< std::string, size_t > m_groupDataMap
 
std::string m_type
 
std::string m_exodusPrefix
 
std::vector< std::string > m_invalidPrefixes
 
std::vector< AssemblyDatam_groupDataVec
 
ErrorHandler m_errorHandler
 

Member Typedef Documentation

◆ BaseClass

template<typename EntityId >
using Iotm::text_mesh::Assemblies< EntityId >::BaseClass = EntityGroup<AssemblyData>

Constructor & Destructor Documentation

◆ Assemblies()

template<typename EntityId >
Iotm::text_mesh::Assemblies< EntityId >::Assemblies ( )
inline

Member Function Documentation

◆ check_for_cycle()

template<typename EntityId >
bool Iotm::text_mesh::Assemblies< EntityId >::check_for_cycle ( const std::string & assembly) const
inlineprivate

◆ fill_traversal()

template<typename EntityId >
void Iotm::text_mesh::Assemblies< EntityId >::fill_traversal ( const std::string & assembly) const
inlineprivate

◆ get_forward_traversal_list()

template<typename EntityId >
std::vector< std::string > && Iotm::text_mesh::Assemblies< EntityId >::get_forward_traversal_list ( const std::string & assembly) const
inline

◆ get_reverse_traversal_list()

template<typename EntityId >
std::vector< std::string > && Iotm::text_mesh::Assemblies< EntityId >::get_reverse_traversal_list ( const std::string & assembly) const
inline

◆ initialize_graph()

template<typename EntityId >
void Iotm::text_mesh::Assemblies< EntityId >::initialize_graph ( ) const
inlineprivate

◆ is_cyclic() [1/2]

template<typename EntityId >
bool Iotm::text_mesh::Assemblies< EntityId >::is_cyclic ( ) const
inline

◆ is_cyclic() [2/2]

template<typename EntityId >
bool Iotm::text_mesh::Assemblies< EntityId >::is_cyclic ( const std::string & assembly) const
inline

Member Data Documentation

◆ m_traversalList

template<typename EntityId >
std::vector<std::string> Iotm::text_mesh::Assemblies< EntityId >::m_traversalList
mutableprivate

◆ m_visitedNodes

template<typename EntityId >
std::unordered_map<std::string, bool> Iotm::text_mesh::Assemblies< EntityId >::m_visitedNodes
mutableprivate

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