[−][src]Trait salva3d::kernel::Kernel
Kernel functions for performing approximations within the PBF/SPH methods.
Required methods
fn scalar_apply(r: Real, h: Real) -> Real
[src]
Evaluates the kernel for the given scalar r
and the reference support length h
.
fn scalar_apply_diff(r: Real, h: Real) -> Real
[src]
Evaluates the kernel derivative for the given scalar r
and the reference support length h
.
Provided methods
fn apply(v: Vector<Real>, h: Real) -> Real
[src]
Evaluate the kernel for the given vector.
fn apply_diff(v: Vector<Real>, h: Real) -> Vector<Real>
[src]
Differential wrt. the coordinates of v
.
fn points_apply(p1: &Point<Real>, p2: &Point<Real>, h: Real) -> Real
[src]
Evaluate the kernel for the vector equal to p1 - p2
.
fn points_apply_diff1(
p1: &Point<Real>,
p2: &Point<Real>,
h: Real
) -> Vector<Real>
[src]
p1: &Point<Real>,
p2: &Point<Real>,
h: Real
) -> Vector<Real>
Differential wrt. the coordinates of p1
.
fn points_apply_diff2(
p1: &Point<Real>,
p2: &Point<Real>,
h: Real
) -> Vector<Real>
[src]
p1: &Point<Real>,
p2: &Point<Real>,
h: Real
) -> Vector<Real>
Differential wrt. the coordinates of p2
.