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

#include <Ioss_DynamicTopologyStateLocator.h>

Collaboration diagram for Ioss::DynamicTopologyStateLocator:
[legend]

Classes

struct  DatabaseState
 

Public Member Functions

 DynamicTopologyStateLocator (Region *region, bool loadAllFiles=true)
 
 DynamicTopologyStateLocator (Ioss::DatabaseIO *db, const std::string &dbName, const std::string &dbType, unsigned fileCyclicCount=0, bool loadAllFiles=true)
 
 DynamicTopologyStateLocator (Ioss::DatabaseIO *db, unsigned fileCyclicCount=0, bool loadAllFiles=true)
 
virtual ~DynamicTopologyStateLocator ()
 
 DynamicTopologyStateLocator ()=delete
 
 DynamicTopologyStateLocator (const DynamicTopologyStateLocator &)=delete
 
DatabaseIOget_database () const
 
std::tuple< std::string, int, double > locate_db_state (double targetTime) const
 
std::tuple< std::string, int, double > get_db_min_time () const
 
std::tuple< std::string, int, double > get_db_max_time () const
 

Private Types

using StateLocatorCompare = std::function<bool(double, double)>
 

Private Member Functions

void locate_state_impl (Ioss::DatabaseIO *db, double targetTime, StateLocatorCompare comparator, DatabaseState &loc) const
 
void locate_state (Ioss::DatabaseIO *db, double targetTime, DatabaseState &loc) const
 
void locate_db_state_impl (double targetTime, DatabaseState &loc) const
 
void get_db_time_impl (double init_time, StateLocatorCompare comparator, DatabaseState &loc) const
 
IOSS_NODISCARD const ParallelUtilsutil () const
 

Private Attributes

Ioss::DatabaseIOm_database {nullptr}
 
std::string m_ioDB
 
std::string m_dbType
 
unsigned m_fileCyclicCount {0}
 
bool m_loadAllFiles {true}
 

Member Typedef Documentation

◆ StateLocatorCompare

using Ioss::DynamicTopologyStateLocator::StateLocatorCompare = std::function<bool(double, double)>
private

Constructor & Destructor Documentation

◆ DynamicTopologyStateLocator() [1/5]

Ioss::DynamicTopologyStateLocator::DynamicTopologyStateLocator ( Region * region,
bool loadAllFiles = true )

◆ DynamicTopologyStateLocator() [2/5]

Ioss::DynamicTopologyStateLocator::DynamicTopologyStateLocator ( Ioss::DatabaseIO * db,
const std::string & dbName,
const std::string & dbType,
unsigned fileCyclicCount = 0,
bool loadAllFiles = true )

◆ DynamicTopologyStateLocator() [3/5]

Ioss::DynamicTopologyStateLocator::DynamicTopologyStateLocator ( Ioss::DatabaseIO * db,
unsigned fileCyclicCount = 0,
bool loadAllFiles = true )

◆ ~DynamicTopologyStateLocator()

Ioss::DynamicTopologyStateLocator::~DynamicTopologyStateLocator ( )
virtual

◆ DynamicTopologyStateLocator() [4/5]

Ioss::DynamicTopologyStateLocator::DynamicTopologyStateLocator ( )
delete

◆ DynamicTopologyStateLocator() [5/5]

Ioss::DynamicTopologyStateLocator::DynamicTopologyStateLocator ( const DynamicTopologyStateLocator & )
delete

Member Function Documentation

◆ get_database()

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

◆ get_db_max_time()

std::tuple< std::string, int, double > Ioss::DynamicTopologyStateLocator::get_db_max_time ( ) const

◆ get_db_min_time()

std::tuple< std::string, int, double > Ioss::DynamicTopologyStateLocator::get_db_min_time ( ) const

◆ get_db_time_impl()

void Ioss::DynamicTopologyStateLocator::get_db_time_impl ( double init_time,
StateLocatorCompare comparator,
DatabaseState & loc ) const
private

◆ locate_db_state()

std::tuple< std::string, int, double > Ioss::DynamicTopologyStateLocator::locate_db_state ( double targetTime) const

◆ locate_db_state_impl()

void Ioss::DynamicTopologyStateLocator::locate_db_state_impl ( double targetTime,
DatabaseState & loc ) const
private

◆ locate_state()

void Ioss::DynamicTopologyStateLocator::locate_state ( Ioss::DatabaseIO * db,
double targetTime,
DatabaseState & loc ) const
private

◆ locate_state_impl()

void Ioss::DynamicTopologyStateLocator::locate_state_impl ( Ioss::DatabaseIO * db,
double targetTime,
StateLocatorCompare comparator,
DatabaseState & loc ) const
private

◆ util()

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

Member Data Documentation

◆ m_database

Ioss::DatabaseIO* Ioss::DynamicTopologyStateLocator::m_database {nullptr}
private

◆ m_dbType

std::string Ioss::DynamicTopologyStateLocator::m_dbType
private

◆ m_fileCyclicCount

unsigned Ioss::DynamicTopologyStateLocator::m_fileCyclicCount {0}
private

◆ m_ioDB

std::string Ioss::DynamicTopologyStateLocator::m_ioDB
private

◆ m_loadAllFiles

bool Ioss::DynamicTopologyStateLocator::m_loadAllFiles {true}
private

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