MBDyn-1.7.3
|
#include <aerodyn.h>
Public Member Functions | |
AirProperties (const TplDriveCaller< Vec3 > *pDC, std::vector< const Gust * > &pg, const RigidBodyKinematics *pRBK, flag fOut) | |
virtual | ~AirProperties (void) |
virtual void | AddGust (const Gust *pG) |
virtual std::ostream & | Restart (std::ostream &out) const |
virtual Elem::Type | GetElemType (void) const |
virtual void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal, const VectorHandler &, const VectorHandler &) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, doublereal, const VectorHandler &, const VectorHandler &) |
virtual unsigned int | iGetInitialNumDof (void) const |
virtual void | InitialWorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual VariableSubMatrixHandler & | InitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &) |
virtual SubVectorHandler & | InitialAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr) |
virtual void | Output (OutputHandler &) const |
virtual Vec3 | GetVelocity (const Vec3 &) const |
virtual bool | GetVelocity (const Vec3 &, Vec3 &V) const |
virtual doublereal | dGetAirDensity (const Vec3 &) const =0 |
virtual doublereal | dGetAirPressure (const Vec3 &) const =0 |
virtual doublereal | dGetAirTemperature (const Vec3 &) const =0 |
virtual doublereal | dGetSoundSpeed (const Vec3 &) const =0 |
virtual bool | GetAirProps (const Vec3 &X, doublereal &rho, doublereal &c, doublereal &p, doublereal &T) const =0 |
virtual int | GetNumConnectedNodes (void) const |
virtual unsigned int | iGetNumPrivData (void) const |
virtual unsigned int | iGetPrivDataIdx (const char *s) const |
virtual doublereal | dGetPrivData (unsigned int i) const |
Public Member Functions inherited from Elem | |
Elem (unsigned int uL, flag fOut) | |
virtual | ~Elem (void) |
virtual unsigned int | iGetNumDof (void) const |
virtual std::ostream & | DescribeDof (std::ostream &out, const char *prefix="", bool bInitial=false) const |
virtual void | DescribeDof (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const |
virtual std::ostream & | DescribeEq (std::ostream &out, const char *prefix="", bool bInitial=false) const |
virtual void | DescribeEq (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const |
virtual DofOrder::Order | GetDofType (unsigned int) const |
virtual void | AssMats (VariableSubMatrixHandler &WorkMatA, VariableSubMatrixHandler &WorkMatB, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual bool | bInverseDynamics (void) const |
void | SetInverseDynamicsFlags (unsigned uIDF) |
unsigned | GetInverseDynamicsFlags (void) const |
bool | bIsErgonomy (void) const |
bool | bIsRightHandSide (void) const |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr, const VectorHandler &XPrimePrimeCurr, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS) |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) const |
Public Member Functions inherited from WithLabel | |
WithLabel (unsigned int uL=0, const std::string &sN="") | |
virtual | ~WithLabel (void) |
void | PutLabel (unsigned int uL) |
void | PutName (const std::string &sN) |
unsigned int | GetLabel (void) const |
const std::string & | GetName (void) const |
Public Member Functions inherited from SimulationEntity | |
SimulationEntity (void) | |
virtual | ~SimulationEntity (void) |
virtual bool | bIsValidIndex (unsigned int i) const |
virtual DofOrder::Order | GetEqType (unsigned int i) const |
virtual void | SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *h=0) |
virtual Hint * | ParseHint (DataManager *pDM, const char *s) const |
virtual void | BeforePredict (VectorHandler &, VectorHandler &, VectorHandler &, VectorHandler &) const |
virtual void | AfterPredict (VectorHandler &X, VectorHandler &XP) |
virtual void | Update (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | DerivativesUpdate (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | Update (const VectorHandler &XCurr, InverseDynamics::Order iOrder) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP, const VectorHandler &XPP) |
virtual std::ostream & | OutputAppend (std::ostream &out) const |
virtual void | ReadInitialState (MBDynParser &HP) |
Public Member Functions inherited from ToBeOutput | |
ToBeOutput (flag fOut=fDefaultOut) | |
virtual | ~ToBeOutput (void) |
virtual void | OutputPrepare (OutputHandler &OH) |
virtual void | Output (OutputHandler &OH, const VectorHandler &X, const VectorHandler &XP) const |
virtual flag | fToBeOutput (void) const |
virtual bool | bToBeOutput (void) const |
virtual void | SetOutputFlag (flag f=flag(1)) |
Public Member Functions inherited from InitialAssemblyElem | |
InitialAssemblyElem (unsigned int uL, flag fOut) | |
virtual | ~InitialAssemblyElem (void) |
Public Member Functions inherited from SubjectToInitialAssembly | |
SubjectToInitialAssembly (void) | |
virtual | ~SubjectToInitialAssembly (void) |
Public Member Functions inherited from TplDriveOwner< Vec3 > | |
TplDriveOwner (const TplDriveCaller< Vec3 > *pDC=0) | |
virtual | ~TplDriveOwner (void) |
void | Set (const TplDriveCaller< Vec3 > *pDC) |
TplDriveCaller< Vec3 > * | pGetDriveCaller (void) const |
Vec3 | Get (const doublereal &dVar) const |
Vec3 | Get (void) const |
virtual bool | bIsDifferentiable (void) const |
virtual Vec3 | GetP (void) const |
Protected Attributes | |
Vec3 | Velocity |
std::vector< const Gust * > | gust |
const RigidBodyKinematics * | pRBK |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
Protected Attributes inherited from TplDriveOwner< Vec3 > | |
TplDriveCaller< Vec3 > * | pTplDriveCaller |
Additional Inherited Members | |
Public Types inherited from Elem | |
enum | Type { UNKNOWN = -1, AIRPROPERTIES = 0, INDUCEDVELOCITY, AUTOMATICSTRUCTURAL, GRAVITY, BODY, JOINT, JOINT_REGULARIZATION, BEAM, PLATE, FORCE, INERTIA, ELECTRICBULK, ELECTRIC, THERMAL, HYDRAULIC, BULK, LOADABLE, DRIVEN, EXTERNAL, AEROMODAL, AERODYNAMIC, GENEL, SOCKETSTREAM_OUTPUT, RTAI_OUTPUT = SOCKETSTREAM_OUTPUT, LASTELEMTYPE } |
Public Types inherited from SimulationEntity | |
typedef std::vector< Hint * > | Hints |
Public Types inherited from ToBeOutput | |
enum | { OUTPUT = 0x1U, OUTPUT_MASK = 0xFU, OUTPUT_PRIVATE = 0x10U, OUTPUT_PRIVATE_MASK = ~OUTPUT_MASK } |
AirProperties::AirProperties | ( | const TplDriveCaller< Vec3 > * | pDC, |
std::vector< const Gust * > & | pg, | ||
const RigidBodyKinematics * | pRBK, | ||
flag | fOut | ||
) |
Definition at line 73 of file aerodyn.cc.
References gust, and Gust::SetAirProperties().
|
virtual |
|
virtual |
|
virtual |
Implements Elem.
Definition at line 132 of file aerodyn.cc.
References VariableSubMatrixHandler::SetNullMatrix().
|
virtual |
Implements Elem.
Definition at line 143 of file aerodyn.cc.
References TplDriveOwner< Vec3 >::Get(), VectorHandler::Resize(), and Velocity.
Referenced by InitialAssRes().
|
pure virtual |
Implemented in StdAirProperties, and BasicAirProperties.
Referenced by AirPropOwner::dGetAirDensity(), RotorTrimGeneric::GetData(), and Output().
|
pure virtual |
Implemented in StdAirProperties, and BasicAirProperties.
Referenced by AirPropOwner::dGetAirPressure().
|
pure virtual |
Implemented in StdAirProperties, and BasicAirProperties.
Referenced by AirPropOwner::dGetAirTemperature().
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 289 of file aerodyn.cc.
References WithLabel::GetLabel(), MBDYN_EXCEPT_ARGS, Vec3::Norm(), and Velocity.
|
pure virtual |
Implemented in StdAirProperties, and BasicAirProperties.
Referenced by AirPropOwner::dGetSoundSpeed(), and Output().
|
pure virtual |
Implemented in StdAirProperties, and BasicAirProperties.
Referenced by AirPropOwner::GetAirProps().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 208 of file aerodyn.cc.
Referenced by AirPropOwner::fGetAirVelocity(), Output(), and ExtRigidForceEDGE::Send().
Definition at line 218 of file aerodyn.cc.
References Vec3::Cross(), RigidBodyKinematics::GetR(), RigidBodyKinematics::GetV(), RigidBodyKinematics::GetW(), RigidBodyKinematics::GetX(), gust, Mat3x3::MulTV(), pRBK, and Velocity.
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 163 of file aerodyn.cc.
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 261 of file aerodyn.cc.
|
virtual |
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 179 of file aerodyn.cc.
References VariableSubMatrixHandler::SetNullMatrix().
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 188 of file aerodyn.cc.
References AssRes().
Implements SubjectToInitialAssembly.
Definition at line 170 of file aerodyn.cc.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 196 of file aerodyn.cc.
References OutputHandler::AirProps(), ToBeOutput::bToBeOutput(), dGetAirDensity(), dGetSoundSpeed(), WithLabel::GetLabel(), GetVelocity(), and Zero3.
|
virtual |
Implements Elem.
Reimplemented in StdAirProperties, and BasicAirProperties.
Definition at line 109 of file aerodyn.cc.
References gust, TplDriveOwner< Vec3 >::pGetDriveCaller(), and TplDriveCaller< T >::Restart().
Referenced by BasicAirProperties::Restart(), and StdAirProperties::Restart().
Implements Elem.
Definition at line 124 of file aerodyn.cc.
|
protected |
Definition at line 92 of file aerodyn.h.
Referenced by AddGust(), AirProperties(), GetVelocity(), Restart(), and ~AirProperties().
|
protected |
Definition at line 95 of file aerodyn.h.
Referenced by GetVelocity().
|
mutableprotected |
Definition at line 91 of file aerodyn.h.
Referenced by AssRes(), dGetPrivData(), and GetVelocity().