Workspace 6.21.5
Public Member Functions | List of all members
PointMass Class Reference

Define the point mass class. More...

#include <Mesh/DataStructures/pointmass.h>

Inheritance diagram for PointMass:
[legend]

Public Member Functions

 PointMass (long IDnum, long compIDnum, Node *n, double m)
 
double GetMass () const
 
NodeGetNode () const
 
void SetMass (double m)
 
void SetNode (Node *n)
 
bool UsesNode (const Node *n) const
 
bool UsesNode (long nID) const
 
- Public Member Functions inherited from Entity
long getCompID () const
 Get the ID of the component this entity belongs to.
 
void setCompID (long compID)
 
void SetCompID (long compID)
 
long GetCompID () const
 
- Public Member Functions inherited from NumberedObject
 NumberedObject (long ID)
 Create an object with the specified ID and all flags except isValid not set.
 
void clearFlag (unsigned flag)
 Clear flag. Do not use this to manipulate the isValid flag, since list managers are responsible for that.
 
void copyFlags (const NumberedObject &t)
 
long getID () const
 
long getIndex () const
 
bool isFlagSet (unsigned flag) const
 
bool isValid () const
 
void setFlag (unsigned flag, bool b=true)
 Set flag to b. Do not use this to manipulate the isValid flag, since list managers are responsible for that.
 
void setID (long ID)
 
void setIndex (long i)
 
void SetID (long ID)
 
long GetID () const
 
void SetIndex (long i)
 
long GetIndex () const
 
bool IsFlagSet (unsigned flag) const
 
void ClearFlag (unsigned flag)
 
void SetFlag (unsigned flag)
 
void setFlagTo (unsigned flag, bool b=true)
 
void SetFlagTo (unsigned flag, bool b=true)
 
bool IsValid () const
 

Additional Inherited Members

- Public Types inherited from NumberedObject
enum  {
  flag0 , flag1 , flag2 , flag3 ,
  flag4 , flag5 , flag6 , flag7 ,
  flag8 , flag9 , flag10 , flag11 ,
  flag12 , flag13 , flag14 , flag15
}
 
- Protected Member Functions inherited from Entity
 Entity (long id, long compID)
 

Detailed Description

Constructor & Destructor Documentation

◆ PointMass()

PointMass ( long  IDnum,
long  compIDnum,
Node n,
double  m 
)
inline

Member Function Documentation

◆ GetMass()

double GetMass ( ) const
inline

◆ GetNode()

Node * GetNode ( ) const
inline

◆ SetMass()

void SetMass ( double  m)
inline

◆ SetNode()

void SetNode ( Node n)
inline

◆ UsesNode() [1/2]

bool UsesNode ( const Node n) const
inline

◆ UsesNode() [2/2]

bool UsesNode ( long  nID) const
inline