|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inline |
Fill unresolved refs of a flow config from the volume.
| volume | Volume being wired. |
| config | Flow config, edited in place. |
Velocity, pressure and divergence are always required, so an unnamed one is declared as "velocity", "pressure" and "divergence". Scratch is required only when viscosity is above zero. Carried and buoyancy refs carry the caller's own names and are declared only if the volume does not hold them.
Definition at line 144 of file Evolve.cpp.
References MayaFlux::Buffers::VolumeGridBuffer::FlowConfig::buoyancy, MayaFlux::Buffers::VolumeGridBuffer::FlowConfig::carried, MayaFlux::Buffers::VolumeGridBuffer::FlowConfig::divergence, MayaFlux::Buffers::VolumeGridBuffer::FlowConfig::pressure, MayaFlux::Buffers::VolumeGridBuffer::FlowConfig::scratch, MayaFlux::Buffers::VolumeGridBuffer::FlowConfig::velocity, and MayaFlux::Buffers::VolumeGridBuffer::FlowConfig::viscosity.
Referenced by build_flow().
Here is the caller graph for this function: