Performs Runge-Kutta time integration of variable order in a static velocity field.
More...
#include <VelocityFields.h>
|
| VelocityIntegrator (const GridT &velGrid) |
|
template<size_t OrderRK, typename LocationType > |
void | rungeKutta (const ElementType dt, LocationType &world) const |
| Variable order Runge-Kutta time integration for a single time step. More...
|
|
template<typename GridT = Vec3fGrid, bool Staggered = false, size_t SampleOrder = 1>
class openvdb::v8_0::tools::VelocityIntegrator< GridT, Staggered, SampleOrder >
Performs Runge-Kutta time integration of variable order in a static velocity field.
- Note
- Note that the order of the velocity sampling is controlled with the SampleOrder template parameter, which defaults to one, i.e. a tri-linear interpolation kernel.
void rungeKutta |
( |
const ElementType |
dt, |
|
|
LocationType & |
world |
|
) |
| const |
|
inline |
Variable order Runge-Kutta time integration for a single time step.
- Parameters
-
dt | Time sub-step for the Runge-Kutte integrator of order OrderRK |
world | Location in world space coordinates (both input and output) |
The documentation for this class was generated from the following file: