Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
izoneglobals.h
Go to the documentation of this file.
1 #pragma once
2 // iglobaldata.h
3 
9 #include "module/interface/dim.h"
10 
11 namespace zone {
14  class IZoneGlobals {
15  public:
17  virtual const QObject *getQObject() const=0;
20  virtual bool getUseZoneBasedPP() const=0;
22  virtual double getMechRatio() const=0;
23  virtual double getAverageMechRatio() const=0;
24  virtual double getMaximumMechRatio() const=0;
25  virtual double getLocalMechRatio() const=0;
27  virtual double getMaximumUnbalancedForce() const=0;
28  virtual double getMaximumConvergence() const=0;
29  virtual void requestUpdate()=0;
31  virtual bool getFlacStrainMixing() const = 0;
33  virtual bool getFlacStrainMixingDefault() const = 0;
34 
35  // SLOTS
37  virtual void setFlacStrainMixing(bool b) = 0;
39  virtual void setFlacStrainMixingDefault(bool b) = 0;
40 
41  //SIGNALS
43  virtual void flacStrainMixingChanged(bool) = 0;
45  virtual void flacStrainMixingDefaultChanged(bool) = 0;
46  };
47 } // namespace zone
48 // EoF
49 
virtual void flacStrainMixingChanged(bool)=0
Signal emitted when somebody changes type of strain mixing (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.
virtual const QObject * getQObject() const =0
Returns a pointer to a QObject representing this object.
virtual void flacStrainMixingDefaultChanged(bool)=0
Signal emitted when somebody changes default type of strain mixing (relevant for 2D only)
virtual bool getUseZoneBasedPP() const =0
virtual double getMaximumUnbalancedForce() const =0
Returns the maximum unbalanced force in the grid.
virtual bool getFlacStrainMixing() const =0
Returns whether FLAC type strain mixing is used (relevant for 2D only)
virtual void setFlacStrainMixing(bool b)=0
Sets whether to use FLAC type strain mixing (relevant for 2D only)
virtual void setFlacStrainMixingDefault(bool b)=0
Sets whether to use FLAC type strain mixing by default (relevant for 2D only)
Interface to access FLAC3D data, see SET and CONFIG commands.
Definition: izoneglobals.h:14
virtual bool getFlacStrainMixingDefault() const =0
Returns whether FLAC type strain mixing is used by default (relevant for 2D only)