32 virtual void update(
const Vector3d& particle_position,
const Vector3d& nodal_position,
const Vector3d& cell_dimension,
const Vector3d& particle_size);
42 virtual double computeGradient(
double pI_position,
double cell_dimension,
double lp);
50 virtual double computeShape(
double pI_position,
double cell_dimension,
double lp);
Represents the Linear shape functions used in the interpolation process.
Definition ShapeLinear.h:15
virtual ~ShapeLinear()
Default desconstructor.
virtual double computeGradient(double pI_position, double cell_dimension, double lp)
Returns the gradient of the shape function.
virtual void update(const Vector3d &particle_position, const Vector3d &nodal_position, const Vector3d &cell_dimension, const Vector3d &particle_size)
Update the shape functions and its gradients.
virtual double computeShape(double pI_position, double cell_dimension, double lp)
Returns the shape function value.
ShapeLinear()
Default constructor.
Represents the shape functions used in the interpolation process.
Definition Shape.h:16