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

Classes

class  Observer
 
struct  OutputParams
 

Functions

std::string get_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)
 
int write_transient (Ioss::Region &o_region, const std::string &elemFieldName, const double time)
 
void do_output (Ioss::Region &o_region, const OutputParams &params, size_t step, double &minTime, int &maxStep, bool &doneOutputAfterModification)
 
void run_topology_change (const Ioss::Region &i_region, Ioss::Region &o_region, const OutputParams &params)
 
void cleanup_linear_multi_files (const std::string &outFile, int numOutputs=1)
 
std::shared_ptr< Ioss::Regionconstruct_region (const OutputParams &params, Ioss::PropertyManager &propertyManager, Ioss::DatabaseUsage db_usage, const std::string &name)
 
void run_multi_file_topology_change (const OutputParams &params)
 
 TEST (TestDynamicWrite, multi_file_simple_topology_modification)
 
void cleanup_cyclic_multi_files (const std::string &outFile, unsigned cyclicCount=3)
 
 TEST (TestDynamicWrite, multi_file_cyclic_topology_modification)
 
void fill_internal_file_change_set_gold_names (const int numChangeSets, std::vector< std::string > &gold_names, std::vector< std::string > &gold_full_names)
 
void test_internal_file_change_set_names (Ioss::DatabaseIO *database)
 
void cleanup_single_file (const std::string &outFile)
 
void run_single_file_simple_topology_change (const OutputParams &params)
 
 TEST (TestDynamicWrite, single_file_simple_topology_modification)
 
 TEST (TestDynamicWrite, single_file_groups_not_enabled)
 
 TEST (TestDynamicWrite, create_subgroup_with_file_reopen)
 
 TEST (TestDynamicWrite, create_subgroup_with_file_persistence_and_child_group)
 
 TEST (TestDynamicWrite, create_subgroup_with_file_persistence_and_no_child_group)
 
void run_topology_change_with_multiple_output (const Ioss::Region &i_region, Ioss::Region &o_region1, Ioss::Region &o_region2, const OutputParams &params1, const OutputParams &params2)
 
void run_single_file_simple_topology_change_with_multiple_output (const std::string &model, const OutputParams &params1, const OutputParams &params2)
 
 TEST (TestDynamicWrite, single_file_simple_topology_modification_with_multiple_output)
 
 TEST (TestDynamicWrite, same_model_triggers_same_modification_for_all_observers)
 
void test_single_file_simple_topology_change_data (Ioss::Region &i_region, const std::string &elemFieldName, int gold_step, double gold_time)
 
void read_and_test_single_file_simple_topology_change (const OutputParams &params)
 
 TEST (TestDynamicRead, single_file_simple_topology_modification)
 
std::tuple< std::string, int, double > read_and_locate_db_state (const OutputParams &params, double targetTime)
 
void run_single_file_locate_db_time_state (const std::string &outFile, const OutputParams &params, double targetTime, const std::string &goldSet, int goldState, double goldTime)
 
 TEST (TestDynamicRead, single_file_locate_db_time_state)
 
 TEST (TestDynamicRead, single_file_locate_db_time_state_all_negative_time)
 
void run_multi_file_locate_db_time_state (const std::string &outFile, const OutputParams &params, double targetTime, const std::string &goldFile, int goldState, double goldTime)
 
 TEST (TestDynamicRead, linear_multi_file_locate_db_time_state)
 
 TEST (TestDynamicRead, cyclic_multi_file_locate_db_time_state)
 
std::tuple< std::string, int, double > read_and_locate_db_max_time (const OutputParams &params)
 
 TEST (TestDynamicRead, single_file_locate_db_max_time)
 
 TEST (TestDynamicRead, linear_multi_file_locate_db_max_time)
 
 TEST (TestDynamicRead, cyclic_multi_file_locate_db_max_time)
 
std::tuple< std::string, int, double > read_and_locate_db_min_time (const OutputParams &params)
 
 TEST (TestDynamicRead, single_file_locate_db_min_time)
 
 TEST (TestDynamicRead, linear_multi_file_locate_db_min_time)
 
 TEST (TestDynamicRead, cyclic_multi_file_locate_db_min_time)
 
unsigned get_num_change_sets (const OutputParams &params)
 
void read_and_test_single_file_topology_change_set (const OutputParams &params)
 
 TEST (TestChangeSet, single_file_simple_topology_modification)
 
void read_and_test_cyclic_multi_file_topology_change_set (const OutputParams &params)
 
 TEST (TestChangeSet, multi_file_cyclic_topology_modification)
 
void read_and_test_linear_multi_file_topology_change_set (const OutputParams &params)
 
 TEST (TestChangeSet, multi_file_linear_topology_modification)
 

Function Documentation

◆ cleanup_cyclic_multi_files()

void anonymous_namespace{UnitTestDynamicTopology.C}::cleanup_cyclic_multi_files ( const std::string & outFile,
unsigned cyclicCount = 3 )

◆ cleanup_linear_multi_files()

void anonymous_namespace{UnitTestDynamicTopology.C}::cleanup_linear_multi_files ( const std::string & outFile,
int numOutputs = 1 )

◆ cleanup_single_file()

void anonymous_namespace{UnitTestDynamicTopology.C}::cleanup_single_file ( const std::string & outFile)

◆ construct_region()

std::shared_ptr< Ioss::Region > anonymous_namespace{UnitTestDynamicTopology.C}::construct_region ( const OutputParams & params,
Ioss::PropertyManager & propertyManager,
Ioss::DatabaseUsage db_usage,
const std::string & name )

◆ define_model()

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

◆ define_transient()

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

◆ do_output()

void anonymous_namespace{UnitTestDynamicTopology.C}::do_output ( Ioss::Region & o_region,
const OutputParams & params,
size_t step,
double & minTime,
int & maxStep,
bool & doneOutputAfterModification )

◆ fill_internal_file_change_set_gold_names()

void anonymous_namespace{UnitTestDynamicTopology.C}::fill_internal_file_change_set_gold_names ( const int numChangeSets,
std::vector< std::string > & gold_names,
std::vector< std::string > & gold_full_names )

◆ get_many_block_mesh_desc()

std::string anonymous_namespace{UnitTestDynamicTopology.C}::get_many_block_mesh_desc ( unsigned numBlocks)

◆ get_num_change_sets()

unsigned anonymous_namespace{UnitTestDynamicTopology.C}::get_num_change_sets ( const OutputParams & params)

◆ read_and_locate_db_max_time()

std::tuple< std::string, int, double > anonymous_namespace{UnitTestDynamicTopology.C}::read_and_locate_db_max_time ( const OutputParams & params)

◆ read_and_locate_db_min_time()

std::tuple< std::string, int, double > anonymous_namespace{UnitTestDynamicTopology.C}::read_and_locate_db_min_time ( const OutputParams & params)

◆ read_and_locate_db_state()

std::tuple< std::string, int, double > anonymous_namespace{UnitTestDynamicTopology.C}::read_and_locate_db_state ( const OutputParams & params,
double targetTime )

◆ read_and_test_cyclic_multi_file_topology_change_set()

void anonymous_namespace{UnitTestDynamicTopology.C}::read_and_test_cyclic_multi_file_topology_change_set ( const OutputParams & params)

◆ read_and_test_linear_multi_file_topology_change_set()

void anonymous_namespace{UnitTestDynamicTopology.C}::read_and_test_linear_multi_file_topology_change_set ( const OutputParams & params)

◆ read_and_test_single_file_simple_topology_change()

void anonymous_namespace{UnitTestDynamicTopology.C}::read_and_test_single_file_simple_topology_change ( const OutputParams & params)

◆ read_and_test_single_file_topology_change_set()

void anonymous_namespace{UnitTestDynamicTopology.C}::read_and_test_single_file_topology_change_set ( const OutputParams & params)

◆ run_multi_file_locate_db_time_state()

void anonymous_namespace{UnitTestDynamicTopology.C}::run_multi_file_locate_db_time_state ( const std::string & outFile,
const OutputParams & params,
double targetTime,
const std::string & goldFile,
int goldState,
double goldTime )

◆ run_multi_file_topology_change()

void anonymous_namespace{UnitTestDynamicTopology.C}::run_multi_file_topology_change ( const OutputParams & params)

◆ run_single_file_locate_db_time_state()

void anonymous_namespace{UnitTestDynamicTopology.C}::run_single_file_locate_db_time_state ( const std::string & outFile,
const OutputParams & params,
double targetTime,
const std::string & goldSet,
int goldState,
double goldTime )

◆ run_single_file_simple_topology_change()

void anonymous_namespace{UnitTestDynamicTopology.C}::run_single_file_simple_topology_change ( const OutputParams & params)

◆ run_single_file_simple_topology_change_with_multiple_output()

void anonymous_namespace{UnitTestDynamicTopology.C}::run_single_file_simple_topology_change_with_multiple_output ( const std::string & model,
const OutputParams & params1,
const OutputParams & params2 )

◆ run_topology_change()

void anonymous_namespace{UnitTestDynamicTopology.C}::run_topology_change ( const Ioss::Region & i_region,
Ioss::Region & o_region,
const OutputParams & params )

◆ run_topology_change_with_multiple_output()

void anonymous_namespace{UnitTestDynamicTopology.C}::run_topology_change_with_multiple_output ( const Ioss::Region & i_region,
Ioss::Region & o_region1,
Ioss::Region & o_region2,
const OutputParams & params1,
const OutputParams & params2 )

◆ TEST() [1/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestChangeSet ,
multi_file_cyclic_topology_modification  )

◆ TEST() [2/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestChangeSet ,
multi_file_linear_topology_modification  )

◆ TEST() [3/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestChangeSet ,
single_file_simple_topology_modification  )

◆ TEST() [4/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
cyclic_multi_file_locate_db_max_time  )

◆ TEST() [5/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
cyclic_multi_file_locate_db_min_time  )

◆ TEST() [6/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
cyclic_multi_file_locate_db_time_state  )

◆ TEST() [7/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
linear_multi_file_locate_db_max_time  )

◆ TEST() [8/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
linear_multi_file_locate_db_min_time  )

◆ TEST() [9/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
linear_multi_file_locate_db_time_state  )

◆ TEST() [10/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
single_file_locate_db_max_time  )

◆ TEST() [11/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
single_file_locate_db_min_time  )

◆ TEST() [12/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
single_file_locate_db_time_state  )

◆ TEST() [13/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
single_file_locate_db_time_state_all_negative_time  )

◆ TEST() [14/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicRead ,
single_file_simple_topology_modification  )

◆ TEST() [15/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicWrite ,
create_subgroup_with_file_persistence_and_child_group  )

◆ TEST() [16/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicWrite ,
create_subgroup_with_file_persistence_and_no_child_group  )

◆ TEST() [17/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicWrite ,
create_subgroup_with_file_reopen  )

◆ TEST() [18/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicWrite ,
multi_file_cyclic_topology_modification  )

◆ TEST() [19/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicWrite ,
multi_file_simple_topology_modification  )

◆ TEST() [20/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicWrite ,
same_model_triggers_same_modification_for_all_observers  )

◆ TEST() [21/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicWrite ,
single_file_groups_not_enabled  )

◆ TEST() [22/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicWrite ,
single_file_simple_topology_modification  )

◆ TEST() [23/23]

anonymous_namespace{UnitTestDynamicTopology.C}::TEST ( TestDynamicWrite ,
single_file_simple_topology_modification_with_multiple_output  )

◆ test_internal_file_change_set_names()

void anonymous_namespace{UnitTestDynamicTopology.C}::test_internal_file_change_set_names ( Ioss::DatabaseIO * database)

◆ test_single_file_simple_topology_change_data()

void anonymous_namespace{UnitTestDynamicTopology.C}::test_single_file_simple_topology_change_data ( Ioss::Region & i_region,
const std::string & elemFieldName,
int gold_step,
double gold_time )

◆ write_model()

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

◆ write_transient()

int anonymous_namespace{UnitTestDynamicTopology.C}::write_transient ( Ioss::Region & o_region,
const std::string & elemFieldName,
const double time )