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

#include <modalext.h>

Inheritance diagram for ExtModalForceBase:

Public Types

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
}
 

Public Member Functions

virtual ~ExtModalForceBase (void)
 
virtual bool Prepare (ExtFileHandlerBase *pEFH, unsigned uLabel, bool bRigid, unsigned uModes)=0
 
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
 

Detailed Description

Definition at line 45 of file modalext.h.

Member Enumeration Documentation

Enumerator
EMF_NONE 
EMF_RIGID 
EMF_MODAL 
EMF_ALL 
EMF_RIGID_DETECT 
EMF_MODAL_DETECT 
EMF_RIGID_DETECT_MASK 
EMF_MODAL_DETECT_MASK 
EMF_DETECT_MASK 
EMF_ERR 

Definition at line 47 of file modalext.h.

Constructor & Destructor Documentation

ExtModalForceBase::~ExtModalForceBase ( void  )
virtual

Definition at line 44 of file modalext.cc.

References NO_OP.

45 {
46  NO_OP;
47 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

virtual bool ExtModalForceBase::Prepare ( ExtFileHandlerBase pEFH,
unsigned  uLabel,
bool  bRigid,
unsigned  uModes 
)
pure virtual
virtual unsigned ExtModalForceBase::Recv ( ExtFileHandlerBase pEFH,
unsigned  uFlags,
unsigned &  uLabel,
Vec3 f,
Vec3 m,
std::vector< doublereal > &  fv 
)
pure virtual
virtual void ExtModalForceBase::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 
)
pure virtual

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