MPS-Basic
Loading...
Searching...
No Matches
refvalues.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "common.hpp"
4#include "weight.hpp"
5
9class RefValues {
10public:
11 double n0 = 0;
12 double lambda = 0;
13
14 RefValues() = default;
23 RefValues(int dim, double particleDistance, double re, WeightType weightType);
24
25private:
27};
Struct for reference values of MPS method.
Definition refvalues.hpp:9
Weight weight
weight function instance
Definition refvalues.hpp:26
RefValues()=default
double n0
reference value of number density for source term of pressure Poisson equation
Definition refvalues.hpp:11
double lambda
coefficient for laplacian
Definition refvalues.hpp:12
Provides a weight function.
Definition weight.hpp:15
WeightType
Definition weight.hpp:5