hydrobricks
Loading...
Searching...
No Matches
Processor Class Reference
Inheritance diagram for Processor:

Public Member Functions

void Initialize (const SolverSettings &solverSettings)
 
void SetModel (ModelHydro *model)
 
void ConnectToElementsToSolve ()
 
int GetNbStateVariables ()
 
bool ProcessTimeStep ()
 
vecDoublePt * GetStateVariablesVectorPt ()
 
vector< Brick * > * GetIterableBricksVectorPt ()
 
int GetNbSolvableConnections () const
 
int GetNbDirectConnections () const
 

Protected Attributes

Solverm_solver
 
ModelHydrom_model
 
int m_solvableConnectionsNb
 
int m_directConnectionsNb
 
vecDoublePt m_stateVariableChanges
 
vector< Brick * > m_iterableBricks
 
axd m_changeRatesNoSolver
 

Member Function Documentation

◆ ConnectToElementsToSolve()

void Processor::ConnectToElementsToSolve ( )

Connect the processor to the elements to solve.

◆ GetIterableBricksVectorPt()

vector< Brick * > * Processor::GetIterableBricksVectorPt ( )
inline

Get the iterable bricks vector pointer.

Returns
the pointer to the iterable bricks vector.

◆ GetNbDirectConnections()

int Processor::GetNbDirectConnections ( ) const
inline

Get the number of direct connections.

Returns
the number of direct connections.

◆ GetNbSolvableConnections()

int Processor::GetNbSolvableConnections ( ) const
inline

Get the number of solvable connections.

Returns
the number of solvable connections.

◆ GetNbStateVariables()

int Processor::GetNbStateVariables ( )

Get the number of state variables.

Returns
the number of state variables.

◆ GetStateVariablesVectorPt()

vecDoublePt * Processor::GetStateVariablesVectorPt ( )
inline

Get the state variables vector pointer.

Returns
the pointer to the state variables vector.

◆ Initialize()

void Processor::Initialize ( const SolverSettings & solverSettings)

Initialize the processor with the solver settings.

Parameters
solverSettingssettings of the solver.

◆ ProcessTimeStep()

bool Processor::ProcessTimeStep ( )

Process the time step.

Returns
true if the time step was processed successfully, false otherwise.

◆ SetModel()

void Processor::SetModel ( ModelHydro * model)

Set the model.

Parameters
modelmodel to set.

The documentation for this class was generated from the following files: