17#include "ioss_export.h"
27 class DynamicTopologyNotifier;
36 virtual void reset_topology_modification_all();
37 virtual void reset_topology_modification();
38 virtual void set_topology_modification(
unsigned int type);
39 virtual void sync_topology_modification(
unsigned int modFlag,
unsigned int cumulativeModFlag);
40 virtual unsigned int get_topology_modification()
const;
42 virtual unsigned int get_cumulative_topology_modification()
const;
43 virtual void set_cumulative_topology_modification(
unsigned int type);
45 int get_cumulative_topology_modification_field();
47 virtual bool is_topology_modified()
const;
56 return std::string(
"CUMULATIVE_TOPOLOGY_MODIFICATION");
59 void register_region(
Region *region);
65 virtual void define_model();
66 virtual void write_model();
67 virtual void define_transient();
71 virtual bool needs_new_output_file()
const;
78 bool m_automaticRestart{
false};
79 bool m_restartRequested{
false};
83 void verify_region_is_registered()
const;
85 void synchronize_topology_modified_flags();
87 void set_topology_modification_nl(
unsigned int type);
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
Definition Ioss_DynamicTopologyNotifier.h:29
Definition Ioss_DynamicTopologyObserver.h:30
Region * get_region() const
Definition Ioss_DynamicTopologyObserver.h:60
DynamicTopologyNotifier * get_notifier() const
Definition Ioss_DynamicTopologyObserver.h:63
DynamicTopologyObserver()
virtual FileControlOption get_control_option() const
Definition Ioss_DynamicTopologyObserver.h:69
DynamicTopologyObserver(Region *region)
Definition Ioss_DynamicTopologyObserver.h:32
virtual bool is_automatic_restart() const
Definition Ioss_DynamicTopologyObserver.h:48
void set_restart_requested(bool flag)
Definition Ioss_DynamicTopologyObserver.h:52
static std::string topology_modification_change_name()
Definition Ioss_DynamicTopologyObserver.h:54
virtual bool is_restart_requested() const
Definition Ioss_DynamicTopologyObserver.h:49
virtual ~DynamicTopologyObserver()=default
void set_automatic_restart(bool flag)
Definition Ioss_DynamicTopologyObserver.h:51
Definition Ioss_ParallelUtils.h:32
A grouping entity that contains other grouping entities.
Definition Ioss_Region.h:93
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
FileControlOption
Definition Ioss_DynamicTopology.h:46
@ TOPOLOGY_SAME
No change, also used for initialization.
Definition Ioss_DynamicTopology.h:28