MPS-Basic
|
Class for explicit pressure calculation. More...
#include <explicit.hpp>
Public Member Functions | |
std::vector< double > | calc (Particles &particles) override |
calculate pressure | |
~Explicit () override | |
Explicit (double n0, double soundSpeed, int dimension, double particleDistance) | |
Public Member Functions inherited from PressureCalculator::Interface | |
virtual | ~Interface () |
destructor | |
Private Attributes | |
double | n0 |
double | soundSpeed |
Class for explicit pressure calculation.
This class calculates pressure explicitly.
Definition at line 14 of file explicit.hpp.
|
override |
Definition at line 12 of file explicit.cpp.
Explicit::Explicit | ( | double | n0, |
double | soundSpeed, | ||
int | dimension, | ||
double | particleDistance ) |
Definition at line 7 of file explicit.cpp.
|
overridevirtual |
calculate pressure
particles | particles |
Implements PressureCalculator::Interface.
Definition at line 15 of file explicit.cpp.
|
private |
Definition at line 26 of file explicit.hpp.
|
private |
Definition at line 27 of file explicit.hpp.