Go to the documentation of this file.
28 #ifndef vtkAMRInterpolatedVelocityField_h
29 #define vtkAMRInterpolatedVelocityField_h
31 #include "vtkFiltersFlowPathsModule.h"
59 { this->Superclass::SetLastCellId( c ); }
bool GetLastDataSetLocation(unsigned int &level, unsigned int &id)
virtual int FunctionValues(double *x, double *f)=0
Evaluate functions at x_j.
vtkAMRInterpolatedVelocityField()
vtkOverlappingAMR * AmrDataSet
int FunctionValues(double *x, double *f) override
Evaluate the velocity field f at point p.
A concrete class for obtaining the interpolated velocity values at a point in AMR data.
static vtkAMRInterpolatedVelocityField * New()
void SetAMRData(vtkOverlappingAMR *amr)
void SetLastCellId(vtkIdType c) override
Set the cell id cached by the last evaluation.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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...
hierarchical dataset of vtkUniformGrids
static bool FindGrid(double q[3], vtkOverlappingAMR *amrds, unsigned int &level, unsigned int &gridId)
abstract class to specify dataset behavior
An abstract class for obtaining the interpolated velocity values at a point.
void SetLastCellId(vtkIdType c, int dataindex) override
Set the id of the most recently visited cell of a dataset.
~vtkAMRInterpolatedVelocityField() override
bool SetLastDataSet(int level, int id)