MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
AirPropOwner Class Reference

#include <aerodyn.h>

Inheritance diagram for AirPropOwner:
Collaboration diagram for AirPropOwner:

Public Member Functions

 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 Attributes

const AirPropertiespAirProperties
 

Detailed Description

Definition at line 208 of file aerodyn.h.

Constructor & Destructor Documentation

AirPropOwner::AirPropOwner ( void  )

Definition at line 705 of file aerodyn.cc.

References NO_OP.

706 : pAirProperties(NULL)
707 {
708  NO_OP;
709 }
#define NO_OP
Definition: myassert.h:74
const AirProperties * pAirProperties
Definition: aerodyn.h:210
AirPropOwner::~AirPropOwner ( void  )
virtual

Definition at line 711 of file aerodyn.cc.

References NO_OP.

712 {
713  NO_OP;
714 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

doublereal AirPropOwner::dGetAirDensity ( const Vec3 X) const
virtual
doublereal AirPropOwner::dGetAirPressure ( const Vec3 X) const
virtual

Definition at line 742 of file aerodyn.cc.

References AirProperties::dGetAirPressure(), and pAirProperties.

743 {
744  return pAirProperties->dGetAirPressure(X);
745 }
virtual doublereal dGetAirPressure(const Vec3 &) const =0
const AirProperties * pAirProperties
Definition: aerodyn.h:210

Here is the call graph for this function:

doublereal AirPropOwner::dGetAirTemperature ( const Vec3 X) const
virtual

Definition at line 748 of file aerodyn.cc.

References AirProperties::dGetAirTemperature(), and pAirProperties.

749 {
751 }
const AirProperties * pAirProperties
Definition: aerodyn.h:210
virtual doublereal dGetAirTemperature(const Vec3 &) const =0

Here is the call graph for this function:

doublereal AirPropOwner::dGetSoundSpeed ( const Vec3 X) const
virtual

Definition at line 754 of file aerodyn.cc.

References AirProperties::dGetSoundSpeed(), and pAirProperties.

755 {
756  return pAirProperties->dGetSoundSpeed(X);
757 }
virtual doublereal dGetSoundSpeed(const Vec3 &) const =0
const AirProperties * pAirProperties
Definition: aerodyn.h:210

Here is the call graph for this function:

flag AirPropOwner::fGetAirVelocity ( Vec3 Velocity,
const Vec3 X 
) const
virtual

Definition at line 725 of file aerodyn.cc.

References AirProperties::GetVelocity(), and pAirProperties.

Referenced by AerodynamicModal::AssJac(), AerodynamicBody::AssJac(), AerodynamicBeam::AssJac(), AerodynamicBeam2::AssJac(), GenericAerodynamicForce::AssVec(), AerodynamicModal::AssVec(), AerodynamicBody::AssVec(), AerodynamicBeam::AssVec(), AerodynamicBeam2::AssVec(), Rotor::InitParam(), and AircraftInstruments::Update().

726 {
727  if (pAirProperties == NULL) {
728  return 0;
729  }
730 
731  Velocity = pAirProperties->GetVelocity(X);
732  return 1;
733 }
virtual Vec3 GetVelocity(const Vec3 &) const
Definition: aerodyn.cc:208
const AirProperties * pAirProperties
Definition: aerodyn.h:210

Here is the call graph for this function:

bool AirPropOwner::GetAirProps ( const Vec3 X,
doublereal rho,
doublereal c,
doublereal p,
doublereal T 
) const
virtual

Definition at line 760 of file aerodyn.cc.

References AirProperties::GetAirProps(), and pAirProperties.

Referenced by AerodynamicModal::AssJac(), AerodynamicBody::AssJac(), AerodynamicBeam::AssJac(), AerodynamicBeam2::AssJac(), GenericAerodynamicForce::AssVec(), AerodynamicModal::AssVec(), AerodynamicBody::AssVec(), AerodynamicBeam::AssVec(), and AerodynamicBeam2::AssVec().

762 {
763  return pAirProperties->GetAirProps(X, rho, c, p, T);
764 }
virtual bool GetAirProps(const Vec3 &X, doublereal &rho, doublereal &c, doublereal &p, doublereal &T) const =0
const AirProperties * pAirProperties
Definition: aerodyn.h:210
static std::stack< cleanup * > c
Definition: cleanup.cc:59

Here is the call graph for this function:

void AirPropOwner::PutAirProperties ( const AirProperties pAP)
virtual

Reimplemented in NestedElem.

Definition at line 717 of file aerodyn.cc.

References ASSERT, and pAirProperties.

Referenced by NestedElem::PutAirProperties(), and DataManager::ReadElems().

718 {
719  ASSERT(pAirProperties == NULL);
720 
721  pAirProperties = pAP;
722 }
const AirProperties * pAirProperties
Definition: aerodyn.h:210
#define ASSERT(expression)
Definition: colamd.c:977

Member Data Documentation

const AirProperties* AirPropOwner::pAirProperties
protected

The documentation for this class was generated from the following files: