IOSS 2.0
Loading...
Searching...
No Matches
Ioss::DynamicTopologyFileControl Class Reference

#include <Ioss_DynamicTopologyFileControl.h>

Collaboration diagram for Ioss::DynamicTopologyFileControl:
[legend]

Public Member Functions

 DynamicTopologyFileControl (Region *region)
 
void clone_and_replace_output_database (int steps=0)
 
void add_output_database_change_set (int steps=0)
 
DatabaseIOget_database () const
 
unsigned int get_topology_change_count () const
 
unsigned int get_file_cyclic_count () const
 
IfDatabaseExistsBehavior get_if_database_exists_behavior () const
 

Static Public Member Functions

static std::string change_set_prefix ()
 
static std::string get_cyclic_database_filename (const std::string &baseFileName, unsigned int fileCyclicCount, unsigned int step)
 
static std::string get_linear_database_filename (const std::string &baseFileName, unsigned int step)
 
static std::string get_internal_file_change_set_name (unsigned int step)
 

Private Member Functions

IOSS_NODISCARD const ParallelUtilsutil () const
 
std::string get_unique_linear_filename (DatabaseUsage db_usage)
 
std::string construct_database_filename (int &step, DatabaseUsage db_usage)
 
bool file_exists (const std::string &filename, const std::string &db_type, DatabaseUsage db_usage)
 
bool abort_if_exists (const std::string &filename, const std::string &db_type, DatabaseUsage db_usage)
 
DatabaseIOclone_output_database (int steps)
 
bool replace_output_database (DatabaseIO *db)
 

Private Attributes

Regionm_region {nullptr}
 
std::string m_ioDB
 
std::string m_dbType
 
PropertyManager m_properties
 
unsigned int m_fileCyclicCount
 
IfDatabaseExistsBehavior m_ifDatabaseExists
 
unsigned int m_dbChangeCount
 

Constructor & Destructor Documentation

◆ DynamicTopologyFileControl()

Ioss::DynamicTopologyFileControl::DynamicTopologyFileControl ( Region * region)
explicit

Member Function Documentation

◆ abort_if_exists()

bool Ioss::DynamicTopologyFileControl::abort_if_exists ( const std::string & filename,
const std::string & db_type,
Ioss::DatabaseUsage db_usage )
private

◆ add_output_database_change_set()

void Ioss::DynamicTopologyFileControl::add_output_database_change_set ( int steps = 0)

◆ change_set_prefix()

static std::string Ioss::DynamicTopologyFileControl::change_set_prefix ( )
inlinestatic

◆ clone_and_replace_output_database()

void Ioss::DynamicTopologyFileControl::clone_and_replace_output_database ( int steps = 0)

◆ clone_output_database()

Ioss::DatabaseIO * Ioss::DynamicTopologyFileControl::clone_output_database ( int steps)
private

◆ construct_database_filename()

std::string Ioss::DynamicTopologyFileControl::construct_database_filename ( int & step,
Ioss::DatabaseUsage db_usage )
private

◆ file_exists()

bool Ioss::DynamicTopologyFileControl::file_exists ( const std::string & filename,
const std::string & db_type,
Ioss::DatabaseUsage db_usage )
private

◆ get_cyclic_database_filename()

std::string Ioss::DynamicTopologyFileControl::get_cyclic_database_filename ( const std::string & baseFileName,
unsigned int fileCyclicCount,
unsigned int step )
static

◆ get_database()

DatabaseIO * Ioss::DynamicTopologyFileControl::get_database ( ) const

◆ get_file_cyclic_count()

unsigned int Ioss::DynamicTopologyFileControl::get_file_cyclic_count ( ) const
inline

◆ get_if_database_exists_behavior()

IfDatabaseExistsBehavior Ioss::DynamicTopologyFileControl::get_if_database_exists_behavior ( ) const
inline

◆ get_internal_file_change_set_name()

std::string Ioss::DynamicTopologyFileControl::get_internal_file_change_set_name ( unsigned int step)
static

◆ get_linear_database_filename()

std::string Ioss::DynamicTopologyFileControl::get_linear_database_filename ( const std::string & baseFileName,
unsigned int step )
static

◆ get_topology_change_count()

unsigned int Ioss::DynamicTopologyFileControl::get_topology_change_count ( ) const
inline

◆ get_unique_linear_filename()

std::string Ioss::DynamicTopologyFileControl::get_unique_linear_filename ( Ioss::DatabaseUsage db_usage)
private

◆ replace_output_database()

bool Ioss::DynamicTopologyFileControl::replace_output_database ( Ioss::DatabaseIO * db)
private

◆ util()

const ParallelUtils & Ioss::DynamicTopologyFileControl::util ( ) const
private

Member Data Documentation

◆ m_dbChangeCount

unsigned int Ioss::DynamicTopologyFileControl::m_dbChangeCount
private

◆ m_dbType

std::string Ioss::DynamicTopologyFileControl::m_dbType
private

◆ m_fileCyclicCount

unsigned int Ioss::DynamicTopologyFileControl::m_fileCyclicCount
private

◆ m_ifDatabaseExists

IfDatabaseExistsBehavior Ioss::DynamicTopologyFileControl::m_ifDatabaseExists
private

◆ m_ioDB

std::string Ioss::DynamicTopologyFileControl::m_ioDB
private

◆ m_properties

PropertyManager Ioss::DynamicTopologyFileControl::m_properties
private

◆ m_region

Region* Ioss::DynamicTopologyFileControl::m_region {nullptr}
private

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