numerics
Loading...
Searching...
No Matches
rigid_body3d.hpp
Go to the documentation of this file.
1/// @file fluid/rigid_body3d.hpp
2/// @brief 3D rigid body type for SPH boundary interactions
3#pragma once
4
5namespace physics {
6
7/// @brief 3D rigid spherical body that interacts with SPH particles
8struct RigidBody3D {
9 float x, y, z;
10 float vx, vy, vz;
11 float radius;
13 float mass;
14 bool fixed;
16};
17
18} // namespace physics
3D rigid spherical body that interacts with SPH particles