OpenVDB: VelocityIntegrator< GridT, Staggered, SampleOrder > Class Template Reference

OpenVDB 5.0.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_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.

## Member Typedef Documentation

## ◆ ElementType

typedef VecType::ValueType ElementType

## ◆ VecType

typedef GridT::ValueType VecType

## Constructor & Destructor Documentation

## ◆ VelocityIntegrator()

VelocityIntegrator | ( | const GridT & | velGrid | ) |
| inline

## Member Function Documentation

## ◆ rungeKutta()

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:

- VelocityFields.h