numerics
Loading...
Searching...
No Matches
physics::RigidBody Struct Reference

A rigid spherical body that interacts with fluid particles. More...

#include <rigid_body.hpp>

Public Attributes

float x
 
float y
 Center position [m].
 
float vx
 
float vy
 Velocity [m/s] (zero for static bodies)
 
float radius
 Sphere radius [m].
 
float temperature
 Body temperature [ degC].
 
float mass
 Mass [kg] (used if dynamic)
 
bool fixed
 If true, body is immovable.
 
bool is_heat_source
 If true, body maintains its temperature.
 

Detailed Description

A rigid spherical body that interacts with fluid particles.

Definition at line 8 of file rigid_body.hpp.

Member Data Documentation

◆ fixed

bool physics::RigidBody::fixed

If true, body is immovable.

Definition at line 14 of file rigid_body.hpp.

◆ is_heat_source

bool physics::RigidBody::is_heat_source

If true, body maintains its temperature.

Definition at line 15 of file rigid_body.hpp.

◆ mass

float physics::RigidBody::mass

Mass [kg] (used if dynamic)

Definition at line 13 of file rigid_body.hpp.

◆ radius

float physics::RigidBody::radius

Sphere radius [m].

Definition at line 11 of file rigid_body.hpp.

◆ temperature

float physics::RigidBody::temperature

Body temperature [ degC].

Definition at line 12 of file rigid_body.hpp.

◆ vx

float physics::RigidBody::vx

Definition at line 10 of file rigid_body.hpp.

◆ vy

float physics::RigidBody::vy

Velocity [m/s] (zero for static bodies)

Definition at line 10 of file rigid_body.hpp.

◆ x

float physics::RigidBody::x

Definition at line 9 of file rigid_body.hpp.

◆ y

float physics::RigidBody::y

Center position [m].

Definition at line 9 of file rigid_body.hpp.


The documentation for this struct was generated from the following file: