Go to the documentation of this file.
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);
168 virtual double ComputeFunctionWeight(
const double d) = 0;
174 virtual double ComputeDerivWeight(
const double d) = 0;
183 vtkGetMacro(NormFactor,
double);
vtkDataArray * CutoffArray
vtkDataArray * DensityArray
represent and manipulate point attribute data
dynamic, self-adjusting array of float
virtual void Initialize(vtkAbstractPointLocator *loc, vtkDataSet *ds, vtkPointData *pd)
Initialize the kernel.
abstract superclass for arrays of numeric data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkIdType ComputeBasis(double x[3], vtkIdList *pIds, vtkIdType ptId=0)=0
Given a point x (and optional associated point id), determine the points around x which form an inter...
a simple class to control print indentation
list of point or cell ids
a family of SPH interpolation kernels
abstract class to specify dataset behavior
abstract class to quickly locate points in 3-space
dynamic, self-adjusting array of double
virtual vtkIdType ComputeWeights(double x[3], vtkIdList *pIds, vtkDoubleArray *weights)=0
Given a point x, and a list of basis points pIds, compute interpolation weights associated with these...
base class for interpolation kernels