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

#include <resforces.h>

Inheritance diagram for LocalNodeResForces:
Collaboration diagram for LocalNodeResForces:

Public Member Functions

 LocalNodeResForces (const StructNode *n=0)
 
virtual ~LocalNodeResForces (void)
 
const Vec3Force (void) const
 
const Vec3Moment (void) const
 
- Public Member Functions inherited from NodeResForces
 NodeResForces (const StructNode *n=0)
 
virtual ~NodeResForces (void)
 
const Vec3Pole (void) const
 
- Public Member Functions inherited from ResForces
 ResForces (void)
 
virtual ~ResForces (void)
 
virtual void Reset (void)
 
void AddForce (const Vec3 &f)
 
void AddForce (const Vec3 &f, Vec3 &x)
 
void AddMoment (const Vec3 &c)
 
void AddForces (const Vec3 &f, const Vec3 &c, const Vec3 &x)
 
void PutForce (const Vec3 &f)
 
void PutMoment (const Vec3 &c)
 
void PutForces (const Vec3 &f, const Vec3 &c)
 

Protected Attributes

Vec3 Fr
 
Vec3 Cr
 
- Protected Attributes inherited from NodeResForces
const StructNodepNode
 
- Protected Attributes inherited from ResForces
Vec3 F
 
Vec3 C
 

Detailed Description

Definition at line 92 of file resforces.h.

Constructor & Destructor Documentation

LocalNodeResForces::LocalNodeResForces ( const StructNode n = 0)

Definition at line 168 of file resforces.cc.

References NO_OP.

169 : NodeResForces(n)
170 {
171  NO_OP;
172 }
NodeResForces(const StructNode *n=0)
Definition: resforces.cc:150
#define NO_OP
Definition: myassert.h:74
LocalNodeResForces::~LocalNodeResForces ( void  )
virtual

Definition at line 174 of file resforces.cc.

References NO_OP.

175 {
176  NO_OP;
177 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

const Vec3 & LocalNodeResForces::Force ( void  ) const
virtual

Reimplemented from ResForces.

Definition at line 180 of file resforces.cc.

References ResForces::F, Fr, StructNode::GetRCurr(), NodeResForces::pNode, and Mat3x3::Transpose().

181 {
182  return (Fr = pNode->GetRCurr().Transpose()*F);
183 }
virtual const Mat3x3 & GetRCurr(void) const
Definition: strnode.h:1012
Mat3x3 Transpose(void) const
Definition: matvec3.h:816
Vec3 F
Definition: resforces.h:45
const StructNode * pNode
Definition: resforces.h:83

Here is the call graph for this function:

const Vec3 & LocalNodeResForces::Moment ( void  ) const
virtual

Reimplemented from ResForces.

Definition at line 186 of file resforces.cc.

References ResForces::C, Cr, StructNode::GetRCurr(), NodeResForces::pNode, and Mat3x3::Transpose().

187 {
188  return (Cr = pNode->GetRCurr().Transpose()*C);
189 }
virtual const Mat3x3 & GetRCurr(void) const
Definition: strnode.h:1012
Vec3 C
Definition: resforces.h:46
Mat3x3 Transpose(void) const
Definition: matvec3.h:816
const StructNode * pNode
Definition: resforces.h:83

Here is the call graph for this function:

Member Data Documentation

Vec3 LocalNodeResForces::Cr
mutableprotected

Definition at line 95 of file resforces.h.

Referenced by Moment().

Vec3 LocalNodeResForces::Fr
mutableprotected

Definition at line 94 of file resforces.h.

Referenced by Force().


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