Itasca C++ Interface
Loading...
Searching...
No Matches
itascaxd::IGlobals Class Referenceabstract

Interface to modele global settings. More...

#include <iglobals.h>

Public Member Functions

virtual double getTimestep () const =0
 Returns the timestep.
virtual uint64 getTotalCycles () const =0
 Returns the total number of cycles.
virtual DVect getGravity () const =0
 Returns the gravitational-acceleration vector.
virtual uint32 getThreads () const =0
 Returns the target number of threads to be used by default in multithreaded computations.
virtual bool getOrientTracking () const =0
 Returns the boolean indicating whether or not orientation tracking is enabled.
virtual bool getDeterministic () const =0
 Returns the boolean indicating whether or not deterministic mode is enabled.
virtual double getFactorOfSafetyTol () const =0
virtual double getFactorOfSafety () const =0
 Last calculated mechanical factor-of-safety.
virtual bool getDeterministicDefault () const =0
 Whether determinism defaults to on or off on model reset.
virtual bool getCompressFiles () const =0
 Whether new save files should be compressed.
virtual bool getSavePlugins () const =0
 Whether plugins are saved with the project.
virtual bool getShowInBrowser () const =0
 Whether help is shown in defaul browser.
virtual uint32 getPrecisionDefault () const =0
 Get the precision for printing.
virtual uint32 getPrecision () const =0
 Get the precision for printing.
virtual uint32 getDimension () const =0
 Get the dimensionality of the code.
virtual bool getDetectionState () const =0
 Get the contact detection state.
virtual bool getLargeStrain () const =0
virtual bool getUseDeterminism () const =0
virtual void setGravity (const DVect &v)=0
 Sets the gravitational-acceleration vector.
virtual void setThreads (uint32 i)=0
 Sets the target number of processors to be used by default in multithreaded computations.
virtual void setOrientTracking (bool b)=0
 Sets the orientation tracking state.
virtual void setDeterministic (bool b)=0
 Sets the deterministic mode state.
virtual void setDeterministicDefault (bool b)=0
 Sets whether determinism os on or off on model reset.
virtual void setCompressFiles (bool b)=0
 Sets whether new save files get compressed.
virtual void setSavePlugins (bool b)=0
 Sets whether saving plugins with the project is on or off.
virtual void setShowInBrowser (bool b)=0
 Sets whether help is shown in browser.
virtual void setPrecisionDefault (int i)=0
 Set the default precision for printing.
virtual void setPrecision (int i)=0
 Set the precision for printing.
virtual void setDetectionState (bool)=0
 Set the contact detection state.
virtual void setLargeStrain (bool)=0

Public Attributes

shared::Signal< double > timestepChanged
shared::Signal< uint64 > totalCyclesChanged
shared::Signal< uint64 > superCyclesChanged
shared::Signal< DVectgravityChanged
shared::Signal< uint32 > threadsChanged
shared::Signal< bool > orientTrackingChanged
shared::Signal< bool > determinismChanged
shared::Signal< bool > configuredForPluginsChanged
shared::Signal< double > factorOfSafetyTolChanged
shared::Signal< double > factorOfSafetyChanged
shared::Signal< bool > deterministicDefaultChanged
shared::Signal< bool > compressFilesChanged
shared::Signal< bool > savePluginsChanged
shared::Signal< bool > showInBrowserChanged
shared::Signal< uint32 > precisionChanged
shared::Signal< uint32 > precisionDefaultChanged
shared::Signal< bool > detectionStateChanged
shared::Signal< bool > largeStrainChanged
shared::Signal< bool > useDeterminismChanged
shared::Signal< bool > configuredForSecureInputChanged
shared::Signal< bool > internalUseOnlyChanged
shared::Signal< bool > clusterChanged
shared::Signal< bool > plasticStrainChanged
shared::Signal updateIndicated

Detailed Description

Interface to modele global settings.

This class allow to set and access global settings for the program.


The documentation for this class was generated from the following file:
  • C:/Source/itasca-suite/common/module/interface/iglobals.h