MPS-Basic
|
Struct for reference values of MPS method. More...
#include <refvalues.hpp>
Public Member Functions | |
RefValues ()=default | |
RefValues (int dim, double particleDistance, double re) | |
calculate reference values for MPS method | |
Public Attributes | |
double | n0 = 0 |
reference value of number density for source term of pressure Poisson equation | |
double | lambda = 0 |
coefficient for laplacian | |
Struct for reference values of MPS method.
Definition at line 8 of file refvalues.hpp.
|
default |
RefValues::RefValues | ( | int | dim, |
double | particleDistance, | ||
double | re ) |
calculate reference values for MPS method
dim | dimension of the simulation |
particleDistance | initial particle distance |
re | effective radius |
Definition at line 9 of file refvalues.cpp.
double RefValues::n0 = 0 |
reference value of number density for source term of pressure Poisson equation
Definition at line 10 of file refvalues.hpp.
double RefValues::lambda = 0 |
coefficient for laplacian
Definition at line 11 of file refvalues.hpp.