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

#include <Ioss_DynamicTopologyObserver.h>

Inheritance diagram for Ioss::DynamicTopologyObserver:
[legend]
Collaboration diagram for Ioss::DynamicTopologyObserver:
[legend]

Public Member Functions

 DynamicTopologyObserver (Region *region)
 
virtual ~DynamicTopologyObserver ()=default
 
virtual void reset_topology_modification_all ()
 
virtual void reset_topology_modification ()
 
virtual void set_topology_modification (unsigned int type)
 
virtual void sync_topology_modification (unsigned int modFlag, unsigned int cumulativeModFlag)
 
virtual unsigned int get_topology_modification () const
 
virtual unsigned int get_cumulative_topology_modification () const
 
virtual void set_cumulative_topology_modification (unsigned int type)
 
int get_cumulative_topology_modification_field ()
 
virtual bool is_topology_modified () const
 
virtual bool is_automatic_restart () const
 
virtual bool is_restart_requested () const
 
void set_automatic_restart (bool flag)
 
void set_restart_requested (bool flag)
 
void register_region (Region *region)
 
Regionget_region () const
 
void register_notifier (DynamicTopologyNotifier *notifier)
 
DynamicTopologyNotifierget_notifier () const
 
virtual void define_model ()
 
virtual void write_model ()
 
virtual void define_transient ()
 
virtual FileControlOption get_control_option () const
 
virtual bool needs_new_output_file () const
 

Static Public Member Functions

static std::string topology_modification_change_name ()
 

Protected Member Functions

void verify_region_is_registered () const
 
IOSS_NODISCARD const ParallelUtilsutil () const
 
void synchronize_topology_modified_flags ()
 
void set_topology_modification_nl (unsigned int type)
 

Protected Attributes

Regionm_region {nullptr}
 
unsigned int m_topologyModification {TOPOLOGY_SAME}
 
unsigned int m_cumulativeTopologyModification {TOPOLOGY_SAME}
 
bool m_automaticRestart {false}
 
bool m_restartRequested {false}
 
DynamicTopologyNotifierm_notifier {nullptr}
 

Private Member Functions

 DynamicTopologyObserver ()
 

Constructor & Destructor Documentation

◆ DynamicTopologyObserver() [1/2]

Ioss::DynamicTopologyObserver::DynamicTopologyObserver ( Region * region)
inlineexplicit

◆ ~DynamicTopologyObserver()

virtual Ioss::DynamicTopologyObserver::~DynamicTopologyObserver ( )
virtualdefault

◆ DynamicTopologyObserver() [2/2]

Ioss::DynamicTopologyObserver::DynamicTopologyObserver ( )
private

Member Function Documentation

◆ define_model()

void Ioss::DynamicTopologyObserver::define_model ( )
virtual

◆ define_transient()

void Ioss::DynamicTopologyObserver::define_transient ( )
virtual

◆ get_control_option()

virtual FileControlOption Ioss::DynamicTopologyObserver::get_control_option ( ) const
inlinevirtual

◆ get_cumulative_topology_modification()

unsigned int Ioss::DynamicTopologyObserver::get_cumulative_topology_modification ( ) const
virtual

◆ get_cumulative_topology_modification_field()

int Ioss::DynamicTopologyObserver::get_cumulative_topology_modification_field ( )

◆ get_notifier()

DynamicTopologyNotifier * Ioss::DynamicTopologyObserver::get_notifier ( ) const
inline

◆ get_region()

Region * Ioss::DynamicTopologyObserver::get_region ( ) const
inline

◆ get_topology_modification()

unsigned int Ioss::DynamicTopologyObserver::get_topology_modification ( ) const
virtual

◆ is_automatic_restart()

virtual bool Ioss::DynamicTopologyObserver::is_automatic_restart ( ) const
inlinevirtual

◆ is_restart_requested()

virtual bool Ioss::DynamicTopologyObserver::is_restart_requested ( ) const
inlinevirtual

◆ is_topology_modified()

bool Ioss::DynamicTopologyObserver::is_topology_modified ( ) const
virtual

◆ needs_new_output_file()

bool Ioss::DynamicTopologyObserver::needs_new_output_file ( ) const
virtual

◆ register_notifier()

void Ioss::DynamicTopologyObserver::register_notifier ( DynamicTopologyNotifier * notifier)

◆ register_region()

void Ioss::DynamicTopologyObserver::register_region ( Region * region)

◆ reset_topology_modification()

void Ioss::DynamicTopologyObserver::reset_topology_modification ( )
virtual

◆ reset_topology_modification_all()

void Ioss::DynamicTopologyObserver::reset_topology_modification_all ( )
virtual

◆ set_automatic_restart()

void Ioss::DynamicTopologyObserver::set_automatic_restart ( bool flag)
inline

◆ set_cumulative_topology_modification()

void Ioss::DynamicTopologyObserver::set_cumulative_topology_modification ( unsigned int type)
virtual

◆ set_restart_requested()

void Ioss::DynamicTopologyObserver::set_restart_requested ( bool flag)
inline

◆ set_topology_modification()

void Ioss::DynamicTopologyObserver::set_topology_modification ( unsigned int type)
virtual

◆ set_topology_modification_nl()

void Ioss::DynamicTopologyObserver::set_topology_modification_nl ( unsigned int type)
protected

◆ sync_topology_modification()

void Ioss::DynamicTopologyObserver::sync_topology_modification ( unsigned int modFlag,
unsigned int cumulativeModFlag )
virtual

◆ synchronize_topology_modified_flags()

void Ioss::DynamicTopologyObserver::synchronize_topology_modified_flags ( )
protected

◆ topology_modification_change_name()

static std::string Ioss::DynamicTopologyObserver::topology_modification_change_name ( )
inlinestatic

◆ util()

const ParallelUtils & Ioss::DynamicTopologyObserver::util ( ) const
protected

◆ verify_region_is_registered()

void Ioss::DynamicTopologyObserver::verify_region_is_registered ( ) const
protected

◆ write_model()

void Ioss::DynamicTopologyObserver::write_model ( )
virtual

Member Data Documentation

◆ m_automaticRestart

bool Ioss::DynamicTopologyObserver::m_automaticRestart {false}
protected

◆ m_cumulativeTopologyModification

unsigned int Ioss::DynamicTopologyObserver::m_cumulativeTopologyModification {TOPOLOGY_SAME}
protected

◆ m_notifier

DynamicTopologyNotifier* Ioss::DynamicTopologyObserver::m_notifier {nullptr}
protected

◆ m_region

Region* Ioss::DynamicTopologyObserver::m_region {nullptr}
protected

◆ m_restartRequested

bool Ioss::DynamicTopologyObserver::m_restartRequested {false}
protected

◆ m_topologyModification

unsigned int Ioss::DynamicTopologyObserver::m_topologyModification {TOPOLOGY_SAME}
protected

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