IOSS 2.0
Loading...
Searching...
No Matches
UnitTestDynamicTopology.C File Reference
#include <string>
#include <vector>
#include "gtest/gtest.h"
#include <algorithm>
#include <cctype>
#include <fstream>
#include <functional>
#include <iostream>
#include <random>
#include <unistd.h>
#include "Ionit_Initializer.h"
#include "Ioss_ChangeSet.h"
#include "Ioss_ChangeSetFactory.h"
#include "Ioss_DBUsage.h"
#include "Ioss_DatabaseIO.h"
#include "Ioss_DynamicTopology.h"
#include "Ioss_DynamicTopologyBroker.h"
#include "Ioss_DynamicTopologyFileControl.h"
#include "Ioss_ElementBlock.h"
#include "Ioss_Field.h"
#include "Ioss_FileInfo.h"
#include "Ioss_IOFactory.h"
#include "Ioss_NodeBlock.h"
#include "Ioss_ParallelUtils.h"
#include "Ioss_Property.h"
#include "Ioss_Region.h"
#include "Ioss_Utils.h"
#include "exodus/Ioex_DatabaseIO.h"
Include dependency graph for UnitTestDynamicTopology.C:

Classes

class  anonymous_namespace{UnitTestDynamicTopology.C}::Observer
 
struct  anonymous_namespace{UnitTestDynamicTopology.C}::OutputParams
 

Namespaces

namespace  anonymous_namespace{UnitTestDynamicTopology.C}
 

Functions

std::string anonymous_namespace{UnitTestDynamicTopology.C}::get_many_block_mesh_desc (unsigned numBlocks)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::define_model (const Ioss::Region &i_region, Ioss::Region &o_region)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::write_model (const Ioss::Region &i_region, Ioss::Region &o_region)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::define_transient (Ioss::Region &o_region, const std::string &elemFieldName)
 
int anonymous_namespace{UnitTestDynamicTopology.C}::write_transient (Ioss::Region &o_region, const std::string &elemFieldName, const double time)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::do_output (Ioss::Region &o_region, const OutputParams &params, size_t step, double &minTime, int &maxStep, bool &doneOutputAfterModification)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::run_topology_change (const Ioss::Region &i_region, Ioss::Region &o_region, const OutputParams &params)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::cleanup_linear_multi_files (const std::string &outFile, int numOutputs=1)
 
std::shared_ptr< Ioss::Regionanonymous_namespace{UnitTestDynamicTopology.C}::construct_region (const OutputParams &params, Ioss::PropertyManager &propertyManager, Ioss::DatabaseUsage db_usage, const std::string &name)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::run_multi_file_topology_change (const OutputParams &params)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicWrite, multi_file_simple_topology_modification)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::cleanup_cyclic_multi_files (const std::string &outFile, unsigned cyclicCount=3)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicWrite, multi_file_cyclic_topology_modification)
 
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)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::test_internal_file_change_set_names (Ioss::DatabaseIO *database)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::cleanup_single_file (const std::string &outFile)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::run_single_file_simple_topology_change (const OutputParams &params)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicWrite, single_file_simple_topology_modification)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicWrite, single_file_groups_not_enabled)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicWrite, create_subgroup_with_file_reopen)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicWrite, create_subgroup_with_file_persistence_and_child_group)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicWrite, create_subgroup_with_file_persistence_and_no_child_group)
 
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)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::run_single_file_simple_topology_change_with_multiple_output (const std::string &model, const OutputParams &params1, const OutputParams &params2)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicWrite, single_file_simple_topology_modification_with_multiple_output)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicWrite, same_model_triggers_same_modification_for_all_observers)
 
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)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::read_and_test_single_file_simple_topology_change (const OutputParams &params)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, single_file_simple_topology_modification)
 
std::tuple< std::string, int, double > anonymous_namespace{UnitTestDynamicTopology.C}::read_and_locate_db_state (const OutputParams &params, double targetTime)
 
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)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, single_file_locate_db_time_state)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, single_file_locate_db_time_state_all_negative_time)
 
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)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, linear_multi_file_locate_db_time_state)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, cyclic_multi_file_locate_db_time_state)
 
std::tuple< std::string, int, double > anonymous_namespace{UnitTestDynamicTopology.C}::read_and_locate_db_max_time (const OutputParams &params)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, single_file_locate_db_max_time)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, linear_multi_file_locate_db_max_time)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, cyclic_multi_file_locate_db_max_time)
 
std::tuple< std::string, int, double > anonymous_namespace{UnitTestDynamicTopology.C}::read_and_locate_db_min_time (const OutputParams &params)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, single_file_locate_db_min_time)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, linear_multi_file_locate_db_min_time)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestDynamicRead, cyclic_multi_file_locate_db_min_time)
 
unsigned anonymous_namespace{UnitTestDynamicTopology.C}::get_num_change_sets (const OutputParams &params)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::read_and_test_single_file_topology_change_set (const OutputParams &params)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestChangeSet, single_file_simple_topology_modification)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::read_and_test_cyclic_multi_file_topology_change_set (const OutputParams &params)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestChangeSet, multi_file_cyclic_topology_modification)
 
void anonymous_namespace{UnitTestDynamicTopology.C}::read_and_test_linear_multi_file_topology_change_set (const OutputParams &params)
 
 anonymous_namespace{UnitTestDynamicTopology.C}::TEST (TestChangeSet, multi_file_linear_topology_modification)