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

#include <gust.h>

Inheritance diagram for Gust:
Collaboration diagram for Gust:

Public Member Functions

virtual ~Gust (void)
 
void SetAirProperties (const AirProperties *pap)
 
virtual Vec3 GetVelocity (const Vec3 &X) const
 
virtual bool GetVelocity (const Vec3 &X, Vec3 &V) const =0
 
virtual std::ostream & Restart (std::ostream &out) const =0
 

Protected Attributes

const AirPropertiespAP
 

Detailed Description

Definition at line 44 of file gust.h.

Constructor & Destructor Documentation

Gust::~Gust ( void  )
virtual

Definition at line 42 of file gust.cc.

References NO_OP.

43 {
44  NO_OP;
45 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

Vec3 Gust::GetVelocity ( const Vec3 X) const
virtual

Definition at line 55 of file gust.cc.

References Zero3.

56 {
57  Vec3 V(Zero3);
58  GetVelocity(X, V);
59  return V;
60 }
const Vec3 Zero3(0., 0., 0.)
Definition: matvec3.h:98
virtual Vec3 GetVelocity(const Vec3 &X) const
Definition: gust.cc:55
virtual bool Gust::GetVelocity ( const Vec3 X,
Vec3 V 
) const
pure virtual
virtual std::ostream& Gust::Restart ( std::ostream &  out) const
pure virtual
void Gust::SetAirProperties ( const AirProperties pap)

Definition at line 48 of file gust.cc.

References ASSERT, and pAP.

Referenced by AirProperties::AirProperties().

49 {
50  ASSERT(pap != 0);
51  pAP = pap;
52 }
const AirProperties * pAP
Definition: gust.h:46
#define ASSERT(expression)
Definition: colamd.c:977

Member Data Documentation

const AirProperties* Gust::pAP
protected

Definition at line 46 of file gust.h.

Referenced by SetAirProperties().


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