All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
NodeResForces Class Reference

#include <resforces.h>

Inheritance diagram for NodeResForces:
Collaboration diagram for NodeResForces:

Public Member Functions

 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)
virtual const Vec3Force (void) const
virtual const Vec3Moment (void) const

Protected Attributes

const StructNodepNode
- Protected Attributes inherited from ResForces
Vec3 F
Vec3 C

Detailed Description

Definition at line 81 of file resforces.h.

Constructor & Destructor Documentation

NodeResForces::NodeResForces ( const StructNode n = 0)

Definition at line 150 of file resforces.cc.

References NO_OP.

151 : pNode(n)
152 {
153  NO_OP;
154 }
#define NO_OP
Definition: myassert.h:74
const StructNode * pNode
Definition: resforces.h:83
NodeResForces::~NodeResForces ( void  )

Definition at line 156 of file resforces.cc.

References NO_OP.

157 {
158  NO_OP;
159 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

const Vec3 & NodeResForces::Pole ( void  ) const

Implements ResForces.

Definition at line 162 of file resforces.cc.

References ASSERT, StructDispNode::GetXCurr(), and pNode.

163 {
164  ASSERT(pNode);
165  return pNode->GetXCurr();
166 }
#define ASSERT(expression)
Definition: colamd.c:977
virtual const Vec3 & GetXCurr(void) const
Definition: strnode.h:310
const StructNode * pNode
Definition: resforces.h:83

Here is the call graph for this function:

Member Data Documentation

const StructNode* NodeResForces::pNode

Definition at line 83 of file resforces.h.

Referenced by LocalNodeResForces::Force(), LocalNodeResForces::Moment(), and Pole().

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