MPS-Basic
|
Go to the source code of this file.
Functions | |
double | weight (double dis, double re) |
Wight function for MPS method presented by Koshizuka and Oka, 1996 | |
double weight | ( | double | dis, |
double | re ) |
Wight function for MPS method presented by Koshizuka and Oka, 1996
dis | distance of each particle \(r\). It must be positive. |
re | effective radius \(r_e\) |
\[w(r) = \frac{r_e}{r} - 1\]
Definition at line 5 of file weight.cpp.