MBDyn-1.7.3
|
#include <instruments.h>
Public Member Functions | |
AircraftInstruments (unsigned int uLabel, const DofOwner *pDO, const StructNode *pN, const Mat3x3 &R, flag fOut) | |
virtual | ~AircraftInstruments (void) |
virtual std::ostream & | Restart (std::ostream &out) const |
virtual Elem::Type | GetElemType (void) const |
virtual void | Output (OutputHandler &OH) const |
virtual AerodynamicElem::Type | GetAerodynamicElemType (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 dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual unsigned int | iGetNumPrivData (void) const |
virtual unsigned int | iGetPrivDataIdx (const char *s) const |
virtual doublereal | dGetPrivData (unsigned int i) const |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) 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 int | GetNumConnectedNodes (void) 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 AerodynamicElem | |
AerodynamicElem (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~AerodynamicElem (void) |
virtual bool | NeedsAirProperties (void) const |
virtual const InducedVelocity * | pGetInducedVelocity (void) const |
Public Member Functions inherited from ElemWithDofs | |
ElemWithDofs (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~ElemWithDofs (void) |
Public Member Functions inherited from DofOwnerOwner | |
DofOwnerOwner (const DofOwner *pDO) | |
virtual | ~DofOwnerOwner () |
virtual const DofOwner * | pGetDofOwner (void) const |
virtual integer | iGetFirstIndex (void) const |
virtual void | SetInitialValue (VectorHandler &X) |
Public Member Functions inherited from AirPropOwner | |
AirPropOwner (void) | |
virtual | ~AirPropOwner (void) |
virtual void | PutAirProperties (const AirProperties *pAP) |
virtual flag | fGetAirVelocity (Vec3 &Velocity, const Vec3 &X) const |
virtual doublereal | dGetAirDensity (const Vec3 &X) const |
virtual doublereal | dGetAirPressure (const Vec3 &X) const |
virtual doublereal | dGetAirTemperature (const Vec3 &X) const |
virtual doublereal | dGetSoundSpeed (const Vec3 &X) const |
virtual bool | GetAirProps (const Vec3 &X, doublereal &rho, doublereal &c, doublereal &p, doublereal &T) const |
Protected Member Functions | |
void | Update (void) |
Protected Attributes | |
const StructNode * | pNode |
Mat3x3 | Rh |
doublereal | dMeasure [LASTMEASURE] |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
Protected Attributes inherited from AirPropOwner | |
const AirProperties * | pAirProperties |
Definition at line 39 of file instruments.h.
Enumerator | |
---|---|
AIRSPEED | |
GROUNDSPEED | |
ALTITUDE | |
ATTITUDE | |
BANK | |
TURN | |
SLIP | |
VERTICALSPEED | |
AOA | |
HEADING | |
LONGITUDE | |
LATITUDE | |
ROLLRATE | |
PITCHRATE | |
YAWRATE | |
LASTMEASURE |
Definition at line 41 of file instruments.h.
AircraftInstruments::AircraftInstruments | ( | unsigned int | uLabel, |
const DofOwner * | pDO, | ||
const StructNode * | pN, | ||
const Mat3x3 & | R, | ||
flag | fOut | ||
) |
Definition at line 39 of file instruments.cc.
References dMeasure.
|
virtual |
Definition at line 50 of file instruments.cc.
References NO_OP.
|
virtual |
Implements Elem.
Definition at line 178 of file instruments.cc.
References DEBUGCOUTFNAME, and VariableSubMatrixHandler::SetNullMatrix().
|
virtual |
Implements Elem.
Definition at line 192 of file instruments.cc.
References VectorHandler::Resize(), and Update().
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 249 of file instruments.cc.
References dMeasure, WithLabel::GetLabel(), LASTMEASURE, and MBDYN_EXCEPT_ARGS.
|
inlinevirtual |
Implements AerodynamicElem.
Definition at line 91 of file instruments.h.
References AerodynamicElem::AIRCRAFTINSTRUMENTS.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 206 of file instruments.cc.
References LASTMEASURE.
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 212 of file instruments.cc.
References AIRSPEED, ALTITUDE, AOA, ASSERT, ATTITUDE, BANK, GROUNDSPEED, HEADING, LATITUDE, LONGITUDE, PITCHRATE, ROLLRATE, SLIP, TURN, VERTICALSPEED, and YAWRATE.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 154 of file instruments.cc.
References OutputHandler::Aerodynamic(), ToBeOutput::bToBeOutput(), dMeasure, WithLabel::GetLabel(), and LASTMEASURE.
|
virtual |
Implements Elem.
Definition at line 143 of file instruments.cc.
References WithLabel::GetLabel(), pNode, Rh, and Mat3x3::Write().
|
protected |
Definition at line 62 of file instruments.cc.
References AIRSPEED, ALTITUDE, AOA, grad::atan2(), ATTITUDE, BANK, dMeasure, AirPropOwner::fGetAirVelocity(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), Mat3x3::GetVec(), StructNode::GetWCurr(), StructDispNode::GetXCurr(), GROUNDSPEED, HEADING, LATITUDE, LONGITUDE, Mat3x3::MulTV(), PITCHRATE, pNode, R, Rh, ROLLRATE, SLIP, TURN, VERTICALSPEED, YAWRATE, and Zero3.
Referenced by AssRes().
Implements Elem.
Definition at line 170 of file instruments.cc.
|
protected |
Definition at line 66 of file instruments.h.
Referenced by AircraftInstruments(), dGetPrivData(), Output(), and Update().
|
protected |
Definition at line 63 of file instruments.h.
Referenced by GetConnectedNodes(), Restart(), and Update().
|
protected |
Definition at line 64 of file instruments.h.