Trilinear interpolation for GhostLayerFields.
Template parameter GlField has to be a GhostLayerField or a class that implements the methods CellInterval xyzSizeWithGhostLayer() GlField::value_type get( cell_idx_t x, cell_idx_t y, cell_idx_t z )
Provides access to a field with real valued coordinates. Values are interpolated with a trilinear scheme.
Coordinate System:
#include <TrilinearInterpolatorFwd.h>
Public Member Functions | |
TrilinearInterpolator (const GlField &fieldToInterpolate) | |
ResType | operator() (real_t x, real_t y, real_t z) const |
ResType | operator() (real_t x, real_t y, real_t z, cell_idx_t f) const |
ResType | operator() (const Vector3< real_t > &p, cell_idx_t f) const |
ResType | operator() (const Vector3< real_t > &p) const |
const AABB & | getValidRegion () const |
Static Public Attributes | |
static const uint_t | F_SIZE = GlField::F_SIZE |
Protected Attributes | |
const GlField & | field_ |
AABB | validRegion_ |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
protected |
|
protected |