|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| float MayaFlux::Nodes::Network::PhysicsOperator::get_accreted_mass | ( | size_t | global_index | ) | const |
This particle's currently accreted mass.
Populated by sync_bonds_from_claims, which is the only place mass moves: a satellite's mass transfers onto its current root every cycle it remains claimed and is never created or destroyed (see that method's own doc). Unlike ClaimAccumulateProcessor's GPU-side swallow_count, which ClaimInitProcessor wipes every cycle, this is a genuine permanent record of accumulated material, suitable for a growth effect that actually takes real time rather than saturating as soon as local density reaches steady state.
Definition at line 613 of file PhysicsOperator.cpp.
References m_accreted_mass.
Referenced by apply_bond_forces().
Here is the caller graph for this function: