hydrobricks
|
Public Member Functions | |
void | SetParameters (const BrickSettings &brickSettings) override |
![]() | |
virtual void | AttachFluxIn (Flux *flux) |
void | AddProcess (Process *process) |
virtual void | Reset () |
virtual void | SaveAsInitialState () |
virtual bool | IsOk () |
bool | NeedsSolver () const |
virtual bool | CanHaveAreaFraction () |
virtual bool | IsSnowpack () |
virtual bool | IsGlacier () |
virtual bool | IsLandCover () |
virtual bool | IsNull () |
virtual void | Finalize () |
virtual void | SetInitialState (double value, const string &type="water") |
virtual double | GetContent (const string &type="water") |
virtual void | UpdateContent (double value, const string &type="water") |
virtual void | UpdateContentFromInputs () |
virtual void | ApplyConstraints (double timeStep) |
WaterContainer * | GetWaterContainer () |
Process * | GetProcess (int index) |
vector< Process * > & | GetProcesses () |
string | GetName () |
void | SetName (const string &name) |
virtual vecDoublePt | GetDynamicContentChanges () |
vecDoublePt | GetStateVariableChangesFromProcesses () |
int | GetProcessesConnectionsNb () |
double * | GetBaseValuePointer (const string &name) |
virtual double * | GetValuePointer (const string &name) |
Additional Inherited Members | |
![]() | |
static Brick * | Factory (const BrickSettings &brickSettings) |
static bool | HasParameter (const BrickSettings &brickSettings, const string &name) |
static float * | GetParameterValuePointer (const BrickSettings &brickSettings, const string &name) |
![]() | |
string | m_name |
bool | m_needsSolver |
WaterContainer * | m_water |
vector< Process * > | m_processes |
|
overridevirtual |
Assign the parameters to the brick element.
brickSettings | settings of the brick containing the parameters. |
Reimplemented from Brick.