IOSS 2.0
Loading...
Searching...
No Matches
anonymous_namespace{UnitTestDynamicTopology.C}::Observer Class Reference
Inheritance diagram for anonymous_namespace{UnitTestDynamicTopology.C}::Observer:
[legend]
Collaboration diagram for anonymous_namespace{UnitTestDynamicTopology.C}::Observer:
[legend]

Public Member Functions

 Observer (Ioss::Region &inputRegion_, const std::string &elemFieldName_, const Ioss::FileControlOption fileControlOption_)
 
virtual ~Observer ()
 
void define_model () override
 
void write_model () override
 
void define_transient () override
 
Ioss::FileControlOption get_control_option () const
 
- Public Member Functions inherited from Ioss::DynamicTopologyObserver
 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 bool needs_new_output_file () const
 

Private Member Functions

 Observer ()
 

Private Attributes

Ioss::RegioninputRegion
 
const std::string elemFieldName
 
Ioss::FileControlOption fileControlOption
 

Additional Inherited Members

- Static Public Member Functions inherited from Ioss::DynamicTopologyObserver
static std::string topology_modification_change_name ()
 
- Protected Member Functions inherited from Ioss::DynamicTopologyObserver
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 inherited from Ioss::DynamicTopologyObserver
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}
 

Constructor & Destructor Documentation

◆ Observer() [1/2]

anonymous_namespace{UnitTestDynamicTopology.C}::Observer::Observer ( Ioss::Region & inputRegion_,
const std::string & elemFieldName_,
const Ioss::FileControlOption fileControlOption_ )
inline

◆ ~Observer()

virtual anonymous_namespace{UnitTestDynamicTopology.C}::Observer::~Observer ( )
inlinevirtual

◆ Observer() [2/2]

anonymous_namespace{UnitTestDynamicTopology.C}::Observer::Observer ( )
private

Member Function Documentation

◆ define_model()

void anonymous_namespace{UnitTestDynamicTopology.C}::Observer::define_model ( )
inlineoverridevirtual

Reimplemented from Ioss::DynamicTopologyObserver.

◆ define_transient()

void anonymous_namespace{UnitTestDynamicTopology.C}::Observer::define_transient ( )
inlineoverridevirtual

Reimplemented from Ioss::DynamicTopologyObserver.

◆ get_control_option()

Ioss::FileControlOption anonymous_namespace{UnitTestDynamicTopology.C}::Observer::get_control_option ( ) const
inlinevirtual

Reimplemented from Ioss::DynamicTopologyObserver.

◆ write_model()

void anonymous_namespace{UnitTestDynamicTopology.C}::Observer::write_model ( )
inlineoverridevirtual

Reimplemented from Ioss::DynamicTopologyObserver.

Member Data Documentation

◆ elemFieldName

const std::string anonymous_namespace{UnitTestDynamicTopology.C}::Observer::elemFieldName
private

◆ fileControlOption

Ioss::FileControlOption anonymous_namespace{UnitTestDynamicTopology.C}::Observer::fileControlOption
private

◆ inputRegion

Ioss::Region& anonymous_namespace{UnitTestDynamicTopology.C}::Observer::inputRegion
private

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