SPH
|
Discretization using the density of the center particle. More...
#include <DerivativeHelpers.h>
Public Member Functions | |
void | initialize (const Storage &input) |
template<typename T > | |
INLINE T | eval (const Size i, const Size j, const T &value) |
Discretization using the density of the center particle.
Represents: 1/rho[i] sum_j m[j]*(v[j]-v[i]) * grad_ji This is the discretization of velocity divergence (and other gradients) in standard SPH formulation.
Definition at line 285 of file DerivativeHelpers.h.
|
inline |
Definition at line 294 of file DerivativeHelpers.h.
|
inline |
Definition at line 289 of file DerivativeHelpers.h.