|
Lagrangian Particle Code for The Simulation of 2D/3D Fluid Dynamics
|
A class that implements the Gaussian pressure state. More...
#include <state.h>
Public Member Functions | |
| GaussianPressureState () | |
| Constructor. | |
| virtual | ~GaussianPressureState () |
| Destructor. | |
| virtual double | pressure (double x, double y, double z) |
| Calculates pressure based on the Cartesian coordinate (x,y,z) of a particle and Gaussian distribution. More... | |
| virtual double | density (double x, double y, double z) |
| Specifies a constant value as specified in constructor implementation. More... | |
| virtual void | velocity (double x, double y, double z, double &vX, double &vY, double &vZ) |
| Specifies uniform velocity as specified in constructor implementation. More... | |
Public Member Functions inherited from State | |
| virtual | ~State () |
| Destructor. | |
A class that implements the Gaussian pressure state.
The Gaussian state specifies the pressure distribution as Gaussian, with uniform density and uniform zero velocities in all x, y, and z-coordinates
Created on: 2014/06/07
|
virtual |
Specifies a constant value as specified in constructor implementation.
| [in] | x | The x-coordinate |
| [in] | y | The y-coordinate |
| [in] | z | The z-coordinate |
Implements State.
|
virtual |
Calculates pressure based on the Cartesian coordinate (x,y,z) of a particle and Gaussian distribution.
| [in] | x | The x-coordinate |
| [in] | y | The y-coordinate |
| [in] | z | The z-coordinate |
Implements State.
|
virtual |
Specifies uniform velocity as specified in constructor implementation.
| [in] | x | The x-coordinate |
| [in] | y | The y-coordinate |
| [in] | z | The z-coordinate |
| [out] | vX | A constant velocity value |
| [out] | vY | A constant velocity value |
| [out] | vZ | A constant velocity value |
Implements State.
1.8.6