MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Gust1DGR Struct Reference
Inheritance diagram for Gust1DGR:
Collaboration diagram for Gust1DGR:

Public Member Functions

virtual ~Gust1DGR (void)
 
virtual GustRead (const DataManager *pDM, MBDynParser &HP)
 
- Public Member Functions inherited from GustRead
virtual ~GustRead (void)
 

Detailed Description

Definition at line 126 of file gust.cc.

Constructor & Destructor Documentation

Gust1DGR::~Gust1DGR ( void  )
virtual

Definition at line 133 of file gust.cc.

References NO_OP.

134 {
135  NO_OP;
136 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

Gust * Gust1DGR::Read ( const DataManager pDM,
MBDynParser HP 
)
virtual

Implements GustRead.

Definition at line 139 of file gust.cc.

References AbsRefFrame, MBDynParser::GetDriveCaller(), HighParser::GetReal(), MBDynParser::GetVecAbs(), DataManager::pGetDrvHdl(), and SAFENEWWITHCONSTRUCTOR.

140 {
141  /* front direction */
142  Vec3 f = HP.GetVecAbs(::AbsRefFrame);
143 
144  /* gust velocity direction */
145  Vec3 g = HP.GetVecAbs(::AbsRefFrame);
146 
147  /* reference velocity */
148  doublereal v = HP.GetReal();
149 
150  /* time drive caller
151  * FIXME: not needed if v = 0 */
152  DriveCaller *pT = NULL;
154  TimeDriveCaller(pDM->pGetDrvHdl()));
155 
156  /* gust profile drive caller */
157  DriveCaller *pP = HP.GetDriveCaller();
158 
159  /* gust */
160  Gust *pG = 0;
161  SAFENEWWITHCONSTRUCTOR(pG, Gust1D, Gust1D(f, g, v, pT, pP));
162 
163  return pG;
164 }
Definition: matvec3.h:98
const DriveHandler * pGetDrvHdl(void) const
Definition: dataman.h:340
const ReferenceFrame AbsRefFrame(0, Vec3(0., 0., 0), Mat3x3(1., 0., 0., 0., 1., 0., 0., 0., 1.), Vec3(0., 0., 0), Vec3(0., 0., 0), EULER_123)
Definition: gust.h:44
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
Vec3 GetVecAbs(const ReferenceFrame &rf)
Definition: mbpar.cc:1641
DriveCaller * GetDriveCaller(bool bDeferred=false)
Definition: mbpar.cc:2033
double doublereal
Definition: colamd.c:52
Definition: gust.cc:71
virtual doublereal GetReal(const doublereal &dDefval=0.0)
Definition: parser.cc:1056

Here is the call graph for this function:


The documentation for this struct was generated from the following file: