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

#include <modaledge.h>

Inheritance diagram for ExtForceEDGE:
Collaboration diagram for ExtForceEDGE:

Public Member Functions

 ExtForceEDGE (DataManager *pDM)
 
virtual ~ExtForceEDGE (void)
 
bool Prepare (ExtFileHandlerBase *pEFH, unsigned uLabel, bool bRigid, unsigned uModes)
 
- Public Member Functions inherited from ExtModalForceBase
virtual ~ExtModalForceBase (void)
 
virtual unsigned Recv (ExtFileHandlerBase *pEFH, unsigned uFlags, unsigned &uLabel, Vec3 &f, Vec3 &m, std::vector< doublereal > &fv)=0
 
virtual void Send (ExtFileHandlerBase *pEFH, unsigned uFlags, unsigned uLabel, const Vec3 &x, const Mat3x3 &R, const Vec3 &v, const Vec3 &w, const std::vector< doublereal > &q, const std::vector< doublereal > &qP)=0
 

Protected Attributes

const AirPropertiespAP
 

Additional Inherited Members

- Public Types inherited from ExtModalForceBase
enum  BitMask {
  EMF_NONE = 0x0U, EMF_RIGID = 0x1U, EMF_MODAL = 0x2U, EMF_ALL = (EMF_RIGID | EMF_MODAL),
  EMF_RIGID_DETECT = 0x10U, EMF_MODAL_DETECT = 0x20U, EMF_RIGID_DETECT_MASK = (EMF_RIGID_DETECT | EMF_RIGID), EMF_MODAL_DETECT_MASK = (EMF_MODAL_DETECT | EMF_MODAL),
  EMF_DETECT_MASK = (EMF_RIGID_DETECT | EMF_MODAL_DETECT), EMF_ERR = 0x10000000U
}
 

Detailed Description

Definition at line 42 of file modaledge.h.

Constructor & Destructor Documentation

ExtForceEDGE::ExtForceEDGE ( DataManager pDM)

Definition at line 43 of file modaledge.cc.

References Elem::AIRPROPERTIES, pAP, and DataManager::pFindElem().

44 : pAP(0)
45 {
47  if (pAP == 0) {
48  silent_cerr("ExtForceEDGE::ExtForceEDGE: "
49  "warning, unable to link to air properties (no airstream contribution to velocity)" << std::endl);
50  }
51 }
Elem * pFindElem(Elem::Type Typ, unsigned int uElem, unsigned int iDeriv) const
Definition: elman.cc:650
const AirProperties * pAP
Definition: modaledge.h:44

Here is the call graph for this function:

ExtForceEDGE::~ExtForceEDGE ( void  )
virtual

Definition at line 53 of file modaledge.cc.

References NO_OP.

54 {
55  NO_OP;
56 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

bool ExtForceEDGE::Prepare ( ExtFileHandlerBase pEFH,
unsigned  uLabel,
bool  bRigid,
unsigned  uModes 
)
virtual

Implements ExtModalForceBase.

Definition at line 59 of file modaledge.cc.

61 {
62  // consistency is checked later
63  return true;
64 }

Member Data Documentation

const AirProperties* ExtForceEDGE::pAP
protected

Definition at line 44 of file modaledge.h.

Referenced by ExtForceEDGE(), and ExtRigidForceEDGE::Send().


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