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
9
class
RefValues
{
10
public
:
11
double
n0
= 0;
12
double
lambda
= 0;
13
14
RefValues
() =
default
;
23
RefValues
(
int
dim,
double
particleDistance,
double
re,
WeightType
weightType);
24
25
private
:
26
Weight
weight
;
27
};
RefValues
Struct for reference values of MPS method.
Definition
refvalues.hpp:9
RefValues::weight
Weight weight
weight function instance
Definition
refvalues.hpp:26
RefValues::RefValues
RefValues()=default
RefValues::n0
double n0
reference value of number density for source term of pressure Poisson equation
Definition
refvalues.hpp:11
RefValues::lambda
double lambda
coefficient for laplacian
Definition
refvalues.hpp:12
Weight
Provides a weight function.
Definition
weight.hpp:15
common.hpp
weight.hpp
WeightType
WeightType
Definition
weight.hpp:5
src
refvalues.hpp
Generated by
1.12.0