FEDEM Model Database  R8.0
Source code of the FEDEM model database
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
FFlFENodeRefs Class Referenceabstract

#include <FFlFENodeRefs.H>

Inheritance diagram for FFlFENodeRefs:
Inheritance graph
[legend]

Public Member Functions

virtual ~FFlFENodeRefs ()
 
FFlNode * getNode (const int topologicalPos) const
 
int getNodeID (const int topologicalPos) const
 
int getTopPos (const int nodeID) const
 
short int getFaceNum (int node1, int node2) const
 
int getFaceSize (short int face=1) const
 
bool getFaceNodes (std::vector< FFlNode * > &nodes, short int face=1, bool switchNormal=false) const
 
virtual bool getFaceNormals (std::vector< FaVec3 > &, short int=1, bool=false) const
 
virtual bool setNode (const int topologicalPos, FFlNode *nodeRef)
 
virtual bool setNode (const int topologicalPos, int nodeRef)
 
virtual bool setNodes (const std::vector< int > &nodeRefs, size_t offset=0, bool=false)
 
virtual bool setNodes (const std::vector< FFlNode * > &nodeRefs, size_t offset=0, bool=false)
 
bool resolveNodeRefs (const std::vector< FFlNode * > &possibleReferences, bool suppressErrmsg=false)
 Resolves the node ID to FFlNode pointer after reading a file. More...
 
NodeCIter nodesBegin () const
 
NodeCIter nodesEnd () const
 
int getNodeCount () const
 
FaVec3 getNodeCenter () const
 Returns the geometric center of the element nodes. More...
 
double getSize () const
 Returns the characteristic element size. More...
 
virtual FFlFEElementTopSpec * getFEElementTopSpec () const =0
 Returns the topological specification of the element. More...
 
virtual int getNodalCoor (double *X, double *Y, double *Z) const
 Returns the nodal coordinates for this element. More...
 

Protected Member Functions

 FFlFENodeRefs ()
 
 FFlFENodeRefs (const FFlFENodeRefs &obj)
 
FFlFENodeRefs & operator= (const FFlFENodeRefs &)=delete
 
void checksum (FFaCheckSum *cs) const
 

Protected Attributes

NodeVec myNodes
 

Private Member Functions

void initNodeVector () const
 

Private Attributes

double mySize
 

Constructor & Destructor Documentation

◆ FFlFENodeRefs() [1/2]

FFlFENodeRefs::FFlFENodeRefs ( )
inlineprotected

◆ FFlFENodeRefs() [2/2]

FFlFENodeRefs::FFlFENodeRefs ( const FFlFENodeRefs &  obj)
protected

◆ ~FFlFENodeRefs()

virtual FFlFENodeRefs::~FFlFENodeRefs ( )
inlinevirtual

Member Function Documentation

◆ checksum()

void FFlFENodeRefs::checksum ( FFaCheckSum *  cs) const
protected

◆ getFaceNodes()

bool FFlFENodeRefs::getFaceNodes ( std::vector< FFlNode * > &  nodes,
short int  face = 1,
bool  switchNormal = false 
) const

Returns the FE nodes on the given local face.

◆ getFaceNormals()

virtual bool FFlFENodeRefs::getFaceNormals ( std::vector< FaVec3 > &  ,
short int  = 1,
bool  = false 
) const
inlinevirtual

◆ getFaceNum()

short int FFlFENodeRefs::getFaceNum ( int  node1,
int  node2 
) const

Returns the local face number defined by one or two global node numbers. Used by the Nastran Bulk Data File parser.

◆ getFaceSize()

int FFlFENodeRefs::getFaceSize ( short int  face = 1) const

Returns the number of FE nodes on the given local face.

◆ getFEElementTopSpec()

virtual FFlFEElementTopSpec* FFlFENodeRefs::getFEElementTopSpec ( ) const
pure virtual

Returns the topological specification of the element.

Implemented in FFlWAVGM, and FFlRGD.

◆ getNodalCoor()

int FFlFENodeRefs::getNodalCoor ( double *  X,
double *  Y,
double *  Z 
) const
virtual

Returns the nodal coordinates for this element.

Reimplemented in FFlTRI6, FFlBUSH, and FFlBEAM2.

◆ getNode()

FFlNode * FFlFENodeRefs::getNode ( const int  topologicalPos) const

◆ getNodeCenter()

FaVec3 FFlFENodeRefs::getNodeCenter ( ) const

Returns the geometric center of the element nodes.

◆ getNodeCount()

int FFlFENodeRefs::getNodeCount ( ) const
inline

◆ getNodeID()

int FFlFENodeRefs::getNodeID ( const int  topologicalPos) const

◆ getSize()

double FFlFENodeRefs::getSize ( ) const

Returns the characteristic element size.

This method calculates the size of an element, as the diameter of the smallest subscribing sphere.

◆ getTopPos()

int FFlFENodeRefs::getTopPos ( const int  nodeID) const

◆ initNodeVector()

void FFlFENodeRefs::initNodeVector ( ) const
private

◆ nodesBegin()

NodeCIter FFlFENodeRefs::nodesBegin ( ) const
inline

◆ nodesEnd()

NodeCIter FFlFENodeRefs::nodesEnd ( ) const
inline

◆ operator=()

FFlFENodeRefs& FFlFENodeRefs::operator= ( const FFlFENodeRefs &  )
protecteddelete

◆ resolveNodeRefs()

bool FFlFENodeRefs::resolveNodeRefs ( const std::vector< FFlNode * > &  possibleReferences,
bool  suppressErrmsg = false 
)

Resolves the node ID to FFlNode pointer after reading a file.

Resolves references to nodes. Uses the possibleReferences range for resolving.

◆ setNode() [1/2]

bool FFlFENodeRefs::setNode ( const int  topologicalPos,
FFlNode *  nodeRef 
)
virtual

Reimplemented in FFlWAVGM, and FFlRGD.

◆ setNode() [2/2]

bool FFlFENodeRefs::setNode ( const int  topologicalPos,
int  nodeRef 
)
virtual

Reimplemented in FFlWAVGM, and FFlRGD.

◆ setNodes() [1/2]

bool FFlFENodeRefs::setNodes ( const std::vector< FFlNode * > &  nodeRefs,
size_t  offset = 0,
bool  = false 
)
virtual

Reimplemented in FFlRGD, and FFlWAVGM.

◆ setNodes() [2/2]

bool FFlFENodeRefs::setNodes ( const std::vector< int > &  nodeRefs,
size_t  offset = 0,
bool  = false 
)
virtual

Reimplemented in FFlWAVGM, and FFlRGD.

Member Data Documentation

◆ myNodes

NodeVec FFlFENodeRefs::myNodes
mutableprotected

◆ mySize

double FFlFENodeRefs::mySize
mutableprivate

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