99 void Read(std::ifstream &in);
101 void Write(std::ofstream &out,
int Id);
MASS_OBJECT_DATA class and functions.
VECTOR_3D Side
Direction component
double R
external radius [m]
void Clean(void)
cleans local variables
double th
hollow objects wallss thicknes [m]
GeomObjType Type
type of the object (see enum GeomObjType)
MATRIX_3x3 I_s
Inertia matrix in SELF CS.
VECTOR_3D Base
Base point.
int CoordinateSystems()
computes coordinate systems versors of the mass object
VECTOR_3D kl
LOCAL coordinate system (versors)
void Read(std::ifstream &in)
reads single mass object
VECTOR_3D CG_g
CG position in GLOBAL CS.
MATRIX_3x3 I_l
Inertia matrix in LOCAL CS.
double ro
density [kg/m^3]
void Write(std::ofstream &out, int Id)
writes single mass object
VECTOR_3D Tip
Direction component
std::string Name
name of the object
VECTOR_3D CG_s
CG position in SELF CS.
VECTOR_3D kg
GLOBAL coordinate system (versors)
int CheckData(bool CheckMassFlag)
checks integrity of data of the mass object
double c
edge (z) length [m]
double r
internal (tube) radius [m]
bool Active
object activity flag
VECTOR_3D CG_l
CG position in LOCAL CS.
double b
edge (y) length [m]
double a
edge (x) length [m]
VECTOR_3D ks
SELF coordinate system (versors)
MATRIX_3x3 class and functions.
Vector 3D class - vector manipulation.
GeomObjType
type of the geometry objectsymmetry flag
@ TUBE
tube (height H, internal radius r, external radius R)
@ M_POINT
mass piont (particle)
@ CYLINDER
cylinder (height H, radius R)
@ DISC
thin disc (radius R)
@ CONE
cone (height H, base radius R)
@ SPHERE
sphere (radius R)
@ CUBOID
cuboid (the edges: a,b,c)
MATRIX_3x3 class and functions.
Vector 3D class and functions.