An abstract class representing a randomness provider. More...
#include <IrpsWLRandomness.h>
Public Member Functions | |
| virtual bool | ComputeRandomValue (const WindLabSimulationData &Data, double &dValue)=0 |
| Generate a random value. | |
| virtual bool | GenerateRandomMatrixFP (const WindLabSimulationData &Data, mat &dRandomValueArray)=0 |
| Generate the random value matrix for all frequency increments and locations. | |
| virtual bool | OnInitialSetting (const WindLabSimulationData &Data)=0 |
| Allows to do any initial taks before any of the other methods is called. | |
| virtual | ~IrpsWLRandomness () |
| Virtual destructor for IrpsWLRandomness class. | |
Public Member Functions inherited from WindLabAPI::WindLabFeatureRandomness | |
| virtual const char * | getViewProviderName () const |
| WindLabFeatureRandomness (void) | |
| Constructor. | |
| virtual | ~WindLabFeatureRandomness () |
| virtual short | mustExecute () const override |
Public Member Functions inherited from WindLabAPI::WindLabFeature | |
| WindLabFeature (void) | |
| Constructor. | |
| virtual | ~WindLabFeature () |
| destructor | |
Additional Inherited Members | |
Protected Member Functions inherited from WindLabAPI::WindLabFeatureRandomness | |
| virtual App::DocumentObjectExecReturn * | recompute () override |
| recompute only this object | |
| virtual App::DocumentObjectExecReturn * | execute () override |
| recalculate the feature | |
| virtual void | onChanged (const App::Property *prop) override |
Protected Member Functions inherited from WindLabAPI::WindLabFeature | |
| virtual PyObject * | getPyObject () override |
Protected Attributes inherited from WindLabAPI::WindLabFeature | |
| Py::SmartPtr | PythonObject |
An abstract class representing a randomness provider.
This is a pure virtual class (interface) that defines the interface for randomness providers. Random phenomenon exhibits random and fluctuating behavior that needs to be accurately represented in simulations to capture both long-term trends and short-term fluctuations. One of the key elements in the simulation process is the incorporation of random phases in the construction of the phenomenon. Derived classes must implement all its methods.
|
virtual |
Virtual destructor for IrpsWLRandomness class.
Provides proper cleanup in case a derived class object is destroyed.
|
pure virtual |
Generate a random value.
| Data | the simulation data containing all the simulation parameters input by the user. |
| dValue | a value to be updated. This is the generated random value. |
Referenced by WindLabAPI::CRPSWindLabFramework::ComputeRandomValue().
|
pure virtual |
Generate the random value matrix for all frequency increments and locations.
| Data | the simulation data containing all the simulation parameters input by the user.. |
| dMatrix | a matrix to be updated. It should contain the generated random values matrix. |
Referenced by WindLabAPI::CRPSWindLabFramework::GenerateRandomMatrixFP().
|
pure virtual |
Allows to do any initial taks before any of the other methods is called.
| Data | the simulation data containing all the simulation parameters input by the user. |