15#ifndef vtkAMRInterpolatedVelocityField_h
16#define vtkAMRInterpolatedVelocityField_h
18#include "vtkFiltersFlowPathsModule.h"
22VTK_ABI_NAMESPACE_BEGIN
61 using Superclass::FunctionValues;
78 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)
Methods to support local caching while searching for AMR datasets.
virtual void SetAmrDataSet(vtkOverlappingAMR *)
Specify the AMR dataset to process.
bool GetLastDataSetLocation(unsigned int &level, unsigned int &id)
Methods to support local caching while searching for AMR datasets.
void CopyParameters(vtkAbstractInterpolatedVelocityField *from) override
Copy essential parameters between instances of this class.
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)
Helper function to locator the grid within an AMR dataset.
int FunctionValues(double *x, double *f) override
Evaluate the velocity field f at point p.
static vtkAMRInterpolatedVelocityField * New()
Standard methods for obtaining type information and printing the object state.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for obtaining type information and printing the object state.
void SetLastCellId(vtkIdType c) override
Set the cell id cached by the last evaluation.
vtkAMRInterpolatedVelocityField()
void SetAMRData(vtkOverlappingAMR *amr)
Specify the AMR dataset to process.
void SetLastCellId(vtkIdType c, int dataindex) override
Methods to support local caching while searching for AMR datasets.
int SelfInitialize() override
Method to initialize the velocity field.
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