#include <rocky_particle_scalars.hpp>
Inherits ScalarsModel< rocky20::ParticleTransferScalarsController >.
Public Member Functions
Detailed Description
AnIRockyParticleTransferScalarsModel allows users to add new particle transfer scalars, find particle transfer scalars created in other modules or activate particle transfer scalars known to Rocky, during the setup stage of a module. Particle transfer scalars are special particle scalars whose values are reset automatically to zero at the beginning of a new time iteration.
Member Function Documentation
add()
double
for storing custom values during a simulation, preserving them between time iterations.
Parameters
Returns
The index that will uniquely identify the scalar variable during the execution of the simulation.
find()
Returns
The index that uniquely identifies the wanted scalar if it was actually found. It returns -1 otherwise.
reset()
set_dimension()
IRockyModel object.
Parameters