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);
183 vtkGetMacro(NormFactor,
double);
vtkDataArray * CutoffArray
virtual void SetMassArray(vtkDataArray *)
Specify the (optional) mass array.
vtkDataArray * DensityArray
represent and manipulate point attribute data
dynamic, self-adjusting array of float
virtual void SetCutoffArray(vtkDataArray *)
Specify the (optional) array defining a cutoff distance.
void Initialize(vtkAbstractPointLocator *loc, vtkDataSet *ds, vtkPointData *pd) override
Produce the computational parameters for the kernel.
virtual void SetDensityArray(vtkDataArray *)
Specify the (optional) density array.
abstract superclass for arrays of numeric data
vtkIdType ComputeWeights(double x[3], vtkIdList *pIds, vtkDoubleArray *weights) override
Given a point x, and a list of basis points pIds, compute interpolation weights associated with these...
virtual double ComputeFunctionWeight(const double d)=0
Compute weighting factor given a normalized distance from a sample point.
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
vtkIdType ComputeBasis(double x[3], vtkIdList *pIds, vtkIdType ptId=0) override
Given a point x (and optional associated ptId), determine the points around x which form an interpola...
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 double ComputeDerivWeight(const double d)=0
Compute weighting factor for derivative quantities given a normalized distance from a sample point.
abstract class to quickly locate points in 3-space
dynamic, self-adjusting array of double
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
base class for interpolation kernels