Itasca C++ Interface
izoneglobals.h
Go to the documentation of this file.
1 #pragma once
2 // iglobaldata.h
3 
9 #include "module/interface/dim.h"
10 #include "shared/interface/signal.h"
11 
12 namespace zone {
15  class IZoneGlobals {
16  public:
17  shared::Signal<bool> mixDisc3dChanged;
18 
21  virtual bool getUseZoneBasedPP() const=0;
23  virtual double getMechRatio() const=0;
24  virtual double getAverageMechRatio() const=0;
25  virtual double getMaximumMechRatio() const=0;
26  virtual double getLocalMechRatio() const=0;
28  virtual double getMaximumUnbalancedForce() const=0;
29  virtual double getMaximumConvergence() const=0;
30  virtual void requestUpdate()=0;
32  virtual bool getMixedDiscretization3d() const = 0;
33 
34  // SLOTS
36  virtual void setMixedDiscretization3d(bool b) = 0;
37  };
38 } // namespace zone
39 // EoF
40 
Interface to access FLAC3D data, see SET and CONFIG commands.
Definition: izoneglobals.h:15
virtual bool getMixedDiscretization3d() const =0
Returns whether FLAC3D type mixed discretization is used (relevant for 2D only)
virtual bool getUseZoneBasedPP() const =0
virtual double getMaximumUnbalancedForce() const =0
Returns the maximum unbalanced force in the grid.
virtual void setMixedDiscretization3d(bool b)=0
Sets whether to use FLAC3D type mixed discretization scheme (relevant for 2D only)
virtual double getMechRatio() const =0
Returns the current unbalanced mechanical-force ratio.
DIM - Provides code portability between 2D and 3D codes.