numerics
Loading...
Searching...
No Matches
particle3d.hpp
Go to the documentation of this file.
1/// @file fluid/particle3d.hpp
2/// @brief 3D SPH particle type
3#pragma once
4
5namespace physics {
6
7/// @brief 3D SPH particle -- AoS layout
8struct Particle3D {
9 float x, y, z;
10 float vx, vy, vz;
11 float evx, evy, evz; ///< smoothed velocity (ev = (ev+v)/2 each step)
12 float ax, ay, az;
15};
16
17} // namespace physics
3D SPH particle – AoS layout
Definition particle3d.hpp:8
float evz
smoothed velocity (ev = (ev+v)/2 each step)