OpenVDB 11.0.0

Loading...
Searching...
No Matches
VelocityFields.h File Reference

Defines two simple wrapper classes for advection velocity fields as well as VelocitySampler and VelocityIntegrator. More...

`#include <tbb/parallel_reduce.h>`
`#include <openvdb/Platform.h>`
`#include <openvdb/openvdb.h>`
`#include "Interpolation.h"`
`#include <openvdb/math/FiniteDifference.h>`

Go to the source code of this file.

## Classes
class | DiscreteField< VelGridT, Interpolator >
| Thin wrapper class for a velocity grid. More...
class | EnrightField< ScalarT >
| Analytical, divergence-free and periodic velocity field. More...
class | VelocitySampler< GridT, Staggered, Order >
class | VelocityIntegrator< GridT, Staggered, SampleOrder >
| Performs Runge-Kutta time integration of variable order in a static velocity field. More...

## Namespaces
namespace | openvdb
namespace | openvdb::v11_0
namespace | openvdb::v11_0::tools

## Detailed Description

Defines two simple wrapper classes for advection velocity fields as well as VelocitySampler and VelocityIntegrator.

Author
  Ken Museth

DiscreteField wraps a velocity grid and EnrightField is mostly intended for debugging (it's an analytical divergence free and periodic field). They both share the same API required by the LevelSetAdvection class defined in LevelSetAdvect.h. Thus, any class with this API should work with LevelSetAdvection.

Warning
  Note the Field wrapper classes below always assume the velocity is represented in the world-frame of reference. For DiscreteField this implies the input grid must contain velocities in world coordinates.