MBDyn-1.7.3
|
#include <aeroelem.h>
Classes | |
struct | Aero_output |
Public Types | |
enum | eOutput { AEROD_OUT_NONE = 0x0U, AEROD_OUT_STD = (ToBeOutput::OUTPUT_PRIVATE << 0), AEROD_OUT_PGAUSS = (ToBeOutput::OUTPUT_PRIVATE << 1), AEROD_OUT_NODE = (ToBeOutput::OUTPUT_PRIVATE << 2), AEROD_OUT_MASK = (AEROD_OUT_STD | AEROD_OUT_PGAUSS | AEROD_OUT_NODE) } |
enum | { OUTPUT_NONE = 0x0U, OUTPUT_GP_X = (ToBeOutput::OUTPUT_PRIVATE << 4), OUTPUT_GP_R = (ToBeOutput::OUTPUT_PRIVATE << 5), OUTPUT_GP_V = (ToBeOutput::OUTPUT_PRIVATE << 6), OUTPUT_GP_W = (ToBeOutput::OUTPUT_PRIVATE << 7), OUTPUT_GP_CONFIGURATION = (OUTPUT_GP_X | OUTPUT_GP_R | OUTPUT_GP_V | OUTPUT_GP_W), OUTPUT_GP_F = (ToBeOutput::OUTPUT_PRIVATE << 8), OUTPUT_GP_M = (ToBeOutput::OUTPUT_PRIVATE << 9), OUTPUT_GP_FORCES = (OUTPUT_GP_F | OUTPUT_GP_M), OUTPUT_DEFAULT = (OUTPUT_GP_F | OUTPUT_GP_M), OUTPUT_GP_ALL = (ToBeOutput::OUTPUT_PRIVATE_MASK & (~AEROD_OUT_MASK)) } |
Public Member Functions | |
AerodynamicOutput (flag f, int iNP, OrientationDescription ood) | |
~AerodynamicOutput (void) | |
void | SetOutputFlag (flag f, int iNP) |
void | ResetIterator (void) |
void | SetData (const Vec3 &v, const doublereal *pd, const Vec3 &X, const Mat3x3 &R, const Vec3 &V, const Vec3 &W, const Vec3 &F, const Vec3 &M) |
AerodynamicOutput::eOutput | GetOutput (void) const |
bool | IsOutput (void) const |
bool | IsSTD (void) const |
bool | IsPGAUSS (void) const |
bool | IsNODE (void) const |
Protected Attributes | |
flag | m_eOutput |
OrientationDescription | od |
std::vector< Aero_output > | OutputData |
std::vector< Aero_output > ::iterator | OutputIter |
Definition at line 47 of file aeroelem.h.
anonymous enum |
Enumerator | |
---|---|
OUTPUT_NONE | |
OUTPUT_GP_X | |
OUTPUT_GP_R | |
OUTPUT_GP_V | |
OUTPUT_GP_W | |
OUTPUT_GP_CONFIGURATION | |
OUTPUT_GP_F | |
OUTPUT_GP_M | |
OUTPUT_GP_FORCES | |
OUTPUT_DEFAULT | |
OUTPUT_GP_ALL |
Definition at line 60 of file aeroelem.h.
Enumerator | |
---|---|
AEROD_OUT_NONE | |
AEROD_OUT_STD | |
AEROD_OUT_PGAUSS | |
AEROD_OUT_NODE | |
AEROD_OUT_MASK |
Definition at line 49 of file aeroelem.h.
AerodynamicOutput::AerodynamicOutput | ( | flag | f, |
int | iNP, | ||
OrientationDescription | ood | ||
) |
Definition at line 50 of file aeroelem.cc.
References SetOutputFlag().
AerodynamicOutput::~AerodynamicOutput | ( | void | ) |
Definition at line 58 of file aeroelem.cc.
References NO_OP.
AerodynamicOutput::eOutput AerodynamicOutput::GetOutput | ( | void | ) | const |
Definition at line 125 of file aeroelem.cc.
References AEROD_OUT_MASK, and m_eOutput.
Referenced by IsNODE(), IsPGAUSS(), IsSTD(), AerodynamicBody::Output(), AerodynamicBeam::Output(), and AerodynamicBeam2::Output().
bool AerodynamicOutput::IsNODE | ( | void | ) | const |
Definition at line 149 of file aeroelem.cc.
References AEROD_OUT_NODE, and GetOutput().
bool AerodynamicOutput::IsOutput | ( | void | ) | const |
Definition at line 131 of file aeroelem.cc.
References m_eOutput, and ToBeOutput::OUTPUT.
Referenced by ResetIterator(), and SetOutputFlag().
bool AerodynamicOutput::IsPGAUSS | ( | void | ) | const |
Definition at line 143 of file aeroelem.cc.
References AEROD_OUT_PGAUSS, and GetOutput().
Referenced by ResetIterator(), SetData(), and SetOutputFlag().
bool AerodynamicOutput::IsSTD | ( | void | ) | const |
Definition at line 137 of file aeroelem.cc.
References AEROD_OUT_STD, and GetOutput().
void AerodynamicOutput::ResetIterator | ( | void | ) |
Definition at line 77 of file aeroelem.cc.
References ASSERT, IsOutput(), IsPGAUSS(), OutputData, and OutputIter.
Referenced by AerodynamicBody::AssJac(), AerodynamicBeam::AssJac(), AerodynamicBeam2::AssJac(), AerodynamicBody::AssVec(), AerodynamicBeam::AssVec(), and AerodynamicBeam2::AssVec().
void AerodynamicOutput::SetData | ( | const Vec3 & | v, |
const doublereal * | pd, | ||
const Vec3 & | X, | ||
const Mat3x3 & | R, | ||
const Vec3 & | V, | ||
const Vec3 & | W, | ||
const Vec3 & | F, | ||
const Vec3 & | M | ||
) |
Definition at line 92 of file aeroelem.cc.
References ASSERT, grad::atan2(), IsPGAUSS(), M_PI, OutputData, OutputIter, and R.
Referenced by AerodynamicBody::AssVec(), AerodynamicBeam::AssVec(), and AerodynamicBeam2::AssVec().
Definition at line 64 of file aeroelem.cc.
References IsOutput(), IsPGAUSS(), m_eOutput, and OutputData.
Referenced by AerodynamicOutput(), and Aerodynamic2DElem< iNN >::SetOutputFlag().
|
protected |
Definition at line 80 of file aeroelem.h.
Referenced by GetOutput(), IsOutput(), and SetOutputFlag().
|
protected |
Definition at line 83 of file aeroelem.h.
|
protected |
Definition at line 107 of file aeroelem.h.
Referenced by AerodynamicBody::Output(), AerodynamicBeam::Output(), AerodynamicBeam2::Output(), ResetIterator(), SetData(), and SetOutputFlag().
|
protected |
Definition at line 108 of file aeroelem.h.
Referenced by ResetIterator(), and SetData().