#include <rocky_triangle_scalars.hpp>
Inherits EntityScalars< rocky20::TriangleScalars >.
Public Member Functions
Detailed Description
Triangle scalars are special variables within the Rocky solver that associate a value to each one of the geometry triangles that make up the geometries in the project. When running a simulation, anIRockyTriangleScalars object gives access to all triangle scalars defined in the project. These triangle scalars can be built-in scalars defined in the solver, or custom triangle scalars defined by the current module or other active modules.
Member Function Documentation
add_scalar()
get_exchanged_heat()
ROCKY_PLUGINS_POST_MOVE hook. Moreover, the heat values are stored only if the IRockyTriangleScalarsModel::enable_storage_sph_exchanged_heat() function is called during initialization. If that operation is not done, any call to this function during simulation will cause a segmentation fault.
get_poisson_ratio()
get_scalar()
Returns
The value currently stored in the scalar variable.