55 #ifndef vtkSPHKernel_h
56 #define vtkSPHKernel_h
58 #include "vtkFiltersPointsModule.h"
85 vtkGetMacro(SpatialStep,
double);
92 vtkSetClampMacro(Dimension,
int,1,3);
93 vtkGetMacro(Dimension,
int);
101 vtkGetMacro(CutoffFactor,
double);
183 vtkGetMacro(NormFactor,
double);
212 void operator=(
const vtkSPHKernel&) VTK_DELETE_FUNCTION;
abstract class to quickly locate points in 3-space
abstract superclass for arrays of numeric data
abstract class to specify dataset behavior
dynamic, self-adjusting array of double
dynamic, self-adjusting array of float
list of point or cell ids
a simple class to control print indentation
base class for interpolation kernels
represent and manipulate point attribute data
a family of SPH interpolation kernels
vtkDataArray * DensityArray
vtkDataArray * CutoffArray
virtual vtkIdType ComputeWeights(double x[3], vtkIdList *pIds, vtkDoubleArray *weights)
Given a point x, and a list of basis points pIds, compute interpolation weights associated with these...
virtual double ComputeDerivWeight(const double d)=0
Compute weighting factor for derivative quantities given a normalized distance from a sample point.
virtual void SetDensityArray(vtkDataArray *)
Specify the (optional) density array.
virtual void SetMassArray(vtkDataArray *)
Specify the (optional) mass array.
virtual vtkIdType ComputeDerivWeights(double x[3], vtkIdList *pIds, vtkDoubleArray *weights, vtkDoubleArray *gradWeights)
Given a point x, and a list of basis points pIds, compute interpolation weights, plus derivative weig...
virtual void Initialize(vtkAbstractPointLocator *loc, vtkDataSet *ds, vtkPointData *pd)
Produce the computational parameters for the kernel.
virtual vtkIdType ComputeBasis(double x[3], vtkIdList *pIds, vtkIdType ptId=0)
Given a point x (and optional associated ptId), determine the points around x which form an interpola...
virtual double ComputeFunctionWeight(const double d)=0
Compute weighting factor given a normalized distance from a sample point.
virtual void SetCutoffArray(vtkDataArray *)
Specify the (optional) array defining a cutoff distance.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.