IOSS 2.0
Loading...
Searching...
No Matches
anonymous_namespace{UnitTestElementBlockBatchRead.C} Namespace Reference

Typedefs

using ElemBlockFunc = std::function<Ioss::ElementBlockContainer(const Ioss::Region &region)>
 

Functions

std::string get_randomized_many_block_mesh_desc (unsigned numBlocks)
 
void define_model (const Ioss::Region &i_region, Ioss::Region &o_region)
 
void write_model (const Ioss::Region &i_region, Ioss::Region &o_region)
 
void define_transient (Ioss::Region &o_region, const std::string &elemFieldName)
 
void write_transient (Ioss::Region &o_region, const std::string &elemFieldName)
 
void generate_randomized_many_block_mesh_from_textmesh (int numBlocks, const std::string &elemFieldName, const std::string &outFile)
 
template<typename INT >
std::pair< double, double > do_connectivity_timing_impl (const Ioss::Region &region, const Ioss::ElementBlockContainer &elemBlocks)
 
std::pair< double, double > do_connectivity_timing (const Ioss::Region &region, const Ioss::ElementBlockContainer &elemBlocks)
 
std::pair< double, double > do_field_timing_and_verification (const Ioss::Region &region, const Ioss::ElementBlockContainer &elemBlocks, const std::string &fieldName)
 
Ioss::ElementBlockContainer get_all_blocks (const Ioss::Region &region)
 
Ioss::ElementBlockContainer get_alternate_blocks (const Ioss::Region &region)
 
void run_block_batch_test (int numBlocks, ElemBlockFunc func)
 
 TEST (TestReadBlockBatch, readAllBlocks)
 
 TEST (TestReadBlockBatch, readAlternateBlocks)
 

Typedef Documentation

◆ ElemBlockFunc

using anonymous_namespace{UnitTestElementBlockBatchRead.C}::ElemBlockFunc = std::function<Ioss::ElementBlockContainer(const Ioss::Region &region)>

Function Documentation

◆ define_model()

void anonymous_namespace{UnitTestElementBlockBatchRead.C}::define_model ( const Ioss::Region & i_region,
Ioss::Region & o_region )

◆ define_transient()

void anonymous_namespace{UnitTestElementBlockBatchRead.C}::define_transient ( Ioss::Region & o_region,
const std::string & elemFieldName )

◆ do_connectivity_timing()

std::pair< double, double > anonymous_namespace{UnitTestElementBlockBatchRead.C}::do_connectivity_timing ( const Ioss::Region & region,
const Ioss::ElementBlockContainer & elemBlocks )

◆ do_connectivity_timing_impl()

template<typename INT >
std::pair< double, double > anonymous_namespace{UnitTestElementBlockBatchRead.C}::do_connectivity_timing_impl ( const Ioss::Region & region,
const Ioss::ElementBlockContainer & elemBlocks )

◆ do_field_timing_and_verification()

std::pair< double, double > anonymous_namespace{UnitTestElementBlockBatchRead.C}::do_field_timing_and_verification ( const Ioss::Region & region,
const Ioss::ElementBlockContainer & elemBlocks,
const std::string & fieldName )

◆ generate_randomized_many_block_mesh_from_textmesh()

void anonymous_namespace{UnitTestElementBlockBatchRead.C}::generate_randomized_many_block_mesh_from_textmesh ( int numBlocks,
const std::string & elemFieldName,
const std::string & outFile )

◆ get_all_blocks()

Ioss::ElementBlockContainer anonymous_namespace{UnitTestElementBlockBatchRead.C}::get_all_blocks ( const Ioss::Region & region)

◆ get_alternate_blocks()

Ioss::ElementBlockContainer anonymous_namespace{UnitTestElementBlockBatchRead.C}::get_alternate_blocks ( const Ioss::Region & region)

◆ get_randomized_many_block_mesh_desc()

std::string anonymous_namespace{UnitTestElementBlockBatchRead.C}::get_randomized_many_block_mesh_desc ( unsigned numBlocks)

◆ run_block_batch_test()

void anonymous_namespace{UnitTestElementBlockBatchRead.C}::run_block_batch_test ( int numBlocks,
ElemBlockFunc func )

◆ TEST() [1/2]

anonymous_namespace{UnitTestElementBlockBatchRead.C}::TEST ( TestReadBlockBatch ,
readAllBlocks  )

◆ TEST() [2/2]

anonymous_namespace{UnitTestElementBlockBatchRead.C}::TEST ( TestReadBlockBatch ,
readAlternateBlocks  )

◆ write_model()

void anonymous_namespace{UnitTestElementBlockBatchRead.C}::write_model ( const Ioss::Region & i_region,
Ioss::Region & o_region )

◆ write_transient()

void anonymous_namespace{UnitTestElementBlockBatchRead.C}::write_transient ( Ioss::Region & o_region,
const std::string & elemFieldName )