OpenVDB  5.2.0
Public Types | Public Member Functions | List of all members
VelocityIntegrator< GridT, Staggered, SampleOrder > Class Template Reference

Performs Runge-Kutta time integration of variable order in a static velocity field. More...

#include <VelocityFields.h>

Public Types

typedef GridT::ValueType VecType
 
typedef VecType::ValueType ElementType
 

Public Member Functions

 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...
 

Detailed Description

template<typename GridT = Vec3fGrid, bool Staggered = false, size_t SampleOrder = 1>
class openvdb::v5_2::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.

Member Typedef Documentation

typedef VecType::ValueType ElementType
typedef GridT::ValueType VecType

Constructor & Destructor Documentation

VelocityIntegrator ( const GridT &  velGrid)
inline

Member Function Documentation

void rungeKutta ( const ElementType  dt,
LocationType &  world 
) const
inline

Variable order Runge-Kutta time integration for a single time step.

Parameters
dtTime sub-step for the Runge-Kutte integrator of order OrderRK
worldLocation in world space coordinates (both input and output)

The documentation for this class was generated from the following file: