IOSS 2.0
anonymous_namespace{UnitTestIotmTextMeshFixture.h}::TestTextMeshGraph Class Reference

#include <UnitTestIotmTextMeshFixture.h>

Inheritance diagram for anonymous_namespace{UnitTestIotmTextMeshFixture.h}::TestTextMeshGraph:
[legend]
Collaboration diagram for anonymous_namespace{UnitTestIotmTextMeshFixture.h}::TestTextMeshGraph:
[legend]

Classes

class  TextMeshGraph

Protected Member Functions

 TestTextMeshGraph ()
void dump_graph (std::ostream &out=std::cout)
void setup_text_mesh_graph (const std::string &meshDesc, const std::vector< std::string > &selectedBlocks={}, int proc=SideAdjacencyGraph::ANY_PROC)
void verify_side_adjacency (const std::vector< Adjacency > &goldNeighbors)
Protected Member Functions inherited from Iotm::unit_test::TextMeshFixture
 TextMeshFixture (unsigned spatialDimension)
 ~TextMeshFixture ()
int get_parallel_size ()
int get_parallel_rank ()
void fill_mesh (const std::string &meshDesc)
Ioss_MPI_Comm get_comm () const
std::string get_mesh_desc (const std::string &textMeshDesc)
std::string get_mesh_desc (const std::string &textMeshDesc, unsigned dimension)
void verify_shared_nodes (const EntityIdVector &nodeIds, int sharingProc)
void verify_num_elements (size_t goldCount)
void verify_single_element (EntityId elemId, const std::string &textMeshTopologyName, const EntityIdVector &nodeIds)
void verify_num_sidesets (size_t goldCount)
void verify_sideset_subset (const Ioss::SideSet *sideset, const unsigned id, const std::vector< std::string > &subsetNames)
void verify_single_sideset (const std::string &name, const unsigned id, const SideVector &goldElemSidePairs)
void verify_single_sideset (const std::string &name, const unsigned id, const std::vector< std::string > &subsets, const SideVector &goldElemSidePairs)
void verify_num_nodesets (size_t goldCount)
void verify_single_nodeset (const std::string &name, const unsigned id, const EntityIdVector &goldNodeIds)
void verify_num_assemblies (size_t goldCount)
void verify_single_assembly (const std::string &name, const unsigned id, const std::vector< std::string > &goldMembers)
void verify_part_membership (const std::vector< PartInfo > golds)
void verify_part_ids (const std::vector< PartNameId > &golds)
void verify_nodes_on_element (const ElementInfo &info, const EntityIdVector &goldNodeIds)
void verify_coordinates (const EntityIdVector &goldNodeIds, const std::vector< double > &goldCoordinates)
void setup_text_mesh (const std::string &textMeshDesc)
std::string get_topology_name (const std::string &textMeshTopologyName)
size_t db_api_int_size () const
size_t get_node_sharing_count (int sharingProc) const
template<typename INT>
size_t get_node_sharing_count_impl (int sharingProc) const
template<typename INT>
EntityIdVector get_element_ids_from_block_impl (const Ioss::ElementBlock *block) const
EntityIdVector get_element_ids_from_block (const Ioss::ElementBlock *block) const
template<typename INT>
EntityIdVector get_node_ids_from_nodeset_impl (const Ioss::NodeSet *ns) const
EntityIdVector get_node_ids_from_nodeset (const Ioss::NodeSet *ns) const
template<typename INT>
SideVector get_element_side_pairs_from_sideset_impl (const Ioss::SideSet *ss) const
SideVector get_element_side_pairs_from_sideset (const Ioss::SideSet *ss) const
template<typename INT>
ElementInfo get_element_info_from_block_impl (EntityId elemId, const Ioss::ElementBlock *block) const
template<typename INT>
ElementInfo get_element_info_impl (EntityId elemId) const
ElementInfo get_element_info (EntityId elemId) const
template<typename INT>
size_t get_element_count_impl () const
size_t get_element_count () const
template<typename INT>
bool node_is_shared_with_proc_impl (EntityId nodeId, int sharingProc) const
bool node_is_shared_with_proc (EntityId nodeId, int sharingProc) const
bool is_valid_element (const ElementInfo &info) const
Ioss::ElementBlockget_element_block (const std::string &blockName) const
Ioss::NodeSetget_nodeset (const std::string &name) const
Ioss::SideSetget_sideset (const std::string &name) const
Ioss::Assemblyget_assembly (const std::string &name) const
void verify_block (Ioss::ElementBlock *block)
void verify_elements_on_block (const Ioss::ElementBlock *block, const std::set< EntityId > &goldIds)
void create_ioss_region ()
void create_database (const std::string &fileName, const std::string &meshType)
void filename_substitution (std::string &filename)
std::pair< std::string, std::string > get_database_type_and_filename (const std::string &meshDesc)

Protected Attributes

TextMeshData m_data
std::shared_ptr< TextMeshGraphm_graph
Protected Attributes inherited from Iotm::unit_test::TextMeshFixture
unsigned m_spatialDimension = 3
Ioss::PropertyManager m_propertyManager
Ioss::DatabaseIOm_database = nullptr
Ioss::Regionm_region = nullptr
IossTopologyMapping m_topologyMapping

Additional Inherited Members

Protected Types inherited from Iotm::unit_test::TextMeshFixture
using PartNameId = std::pair<std::string, unsigned>

Constructor & Destructor Documentation

◆ TestTextMeshGraph()

anonymous_namespace{UnitTestIotmTextMeshFixture.h}::TestTextMeshGraph::TestTextMeshGraph ( )
inlineprotected

Member Function Documentation

◆ dump_graph()

void anonymous_namespace{UnitTestIotmTextMeshFixture.h}::TestTextMeshGraph::dump_graph ( std::ostream & out = std::cout)
inlineprotected

◆ setup_text_mesh_graph()

void anonymous_namespace{UnitTestIotmTextMeshFixture.h}::TestTextMeshGraph::setup_text_mesh_graph ( const std::string & meshDesc,
const std::vector< std::string > & selectedBlocks = {},
int proc = SideAdjacencyGraph::ANY_PROC )
inlineprotected

◆ verify_side_adjacency()

void anonymous_namespace{UnitTestIotmTextMeshFixture.h}::TestTextMeshGraph::verify_side_adjacency ( const std::vector< Adjacency > & goldNeighbors)
inlineprotected

Member Data Documentation

◆ m_data

TextMeshData anonymous_namespace{UnitTestIotmTextMeshFixture.h}::TestTextMeshGraph::m_data
protected

◆ m_graph

std::shared_ptr<TextMeshGraph> anonymous_namespace{UnitTestIotmTextMeshFixture.h}::TestTextMeshGraph::m_graph
protected

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