SPH
Public Member Functions | List of all members
CenterDensityDiscr Class Reference

Discretization using the density of the center particle. More...

#include <DerivativeHelpers.h>

Public Member Functions

void initialize (const Storage &input)
 
template<typename T >
INLINEeval (const Size i, const Size j, const T &value)
 

Detailed Description

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.

Member Function Documentation

◆ eval()

template<typename T >
INLINE T CenterDensityDiscr::eval ( const Size  i,
const Size  j,
const T &  value 
)
inline

Definition at line 294 of file DerivativeHelpers.h.

◆ initialize()

void CenterDensityDiscr::initialize ( const Storage input)
inline

Definition at line 289 of file DerivativeHelpers.h.


The documentation for this class was generated from the following file: