25#ifndef vtkAMRInterpolatedVelocityField_h
26#define vtkAMRInterpolatedVelocityField_h
28#include "vtkFiltersFlowPathsModule.h"
56 using Superclass::FunctionValues;
75 double q[3],
vtkOverlappingAMR* amrds,
unsigned int& level,
unsigned int& gridId);
A concrete class for obtaining the interpolated velocity values at a point in AMR data.
bool SetLastDataSet(int level, int id)
bool GetLastDataSetLocation(unsigned int &level, unsigned int &id)
int FunctionValues(vtkDataSet *ds, double *x, double *f) override
Evaluate the velocity field f at point (x, y, z) in a specified dataset by invoking vtkDataSet::FindC...
~vtkAMRInterpolatedVelocityField() override
vtkOverlappingAMR * AmrDataSet
static bool FindGrid(double q[3], vtkOverlappingAMR *amrds, unsigned int &level, unsigned int &gridId)
int FunctionValues(double *x, double *f) override
Evaluate the velocity field f at point p.
static vtkAMRInterpolatedVelocityField * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetLastCellId(vtkIdType c) override
Set the cell id cached by the last evaluation.
vtkAMRInterpolatedVelocityField()
void SetAMRData(vtkOverlappingAMR *amr)
void SetLastCellId(vtkIdType c, int dataindex) override
Set the id of the most recently visited cell of a dataset.
An abstract class for obtaining the interpolated velocity values at a point.
abstract class to specify dataset behavior
virtual int FunctionValues(double *x, double *f)
Evaluate functions at x_j.
a simple class to control print indentation
hierarchical dataset of vtkUniformGrids