MPS-Basic
Loading...
Searching...
No Matches
refvalues.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "common.hpp"
4
8class RefValues {
9public:
10 double n0 = 0;
11 double lambda = 0;
12
13 RefValues() = default;
21 RefValues(int dim, double particleDistance, double re);
22};
Struct for reference values of MPS method.
Definition refvalues.hpp:8
RefValues()=default
double n0
reference value of number density for source term of pressure Poisson equation
Definition refvalues.hpp:10
double lambda
coefficient for laplacian
Definition refvalues.hpp:11