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

#include <FFlFEElementTopSpec.H>

Inheritance diagram for FFlFEElementTopSpec:
Inheritance graph
[legend]

Public Member Functions

 FFlFEElementTopSpec ()
 
virtual ~FFlFEElementTopSpec ()
 
void addFace (const FaceType &f)
 
void addExpandedFace (const FaceType &f)
 
void addExplicitEdge (int i1, int i2)
 
int getNodeCount () const
 
int getExpandedNodeCount () const
 
virtual int getNodeDOFs (int) const
 
virtual bool isSlaveNode (int) const
 
virtual bool isReferenceNode (int) const
 
bool isShellFaces () const
 
void setNodeCount (int count)
 
void setExpandedNodeCount (int count)
 
void setNodeDOFs (int count)
 
void setShellFaces (bool trueOrFalse)
 
void setSlaveStatus (bool trueOrFalse)
 
void setTopology (int faceCount, int *faceConnections, bool expanded=false)
 
void setExpandedTopology (int faceCount, int *faceConnections)
 
bool getFaceTopology (short int faceNumber, bool isExpandedFace, bool switchNormal, short int idxOffset, std::vector< int > &topology) const
 
int getFaceVertexCount (short int faceNumber, bool isExpandedFace) const
 
short int getFaceNum (int node1, int node2) const
 
void dump () const
 

Public Attributes

std::vector< FaceType > myFaces
 
std::vector< FaceType > myExpandedFaces
 
std::vector< EdgeType > myExplicitEdges
 
unsigned short myExplEdgePattern
 

Protected Attributes

int myNodeCount
 
int myExpandedNodeCount
 
char myNodeDOFs: 7
 
bool iAmShellFaces: 1
 
bool allSlaveNodes: 1
 

Constructor & Destructor Documentation

◆ FFlFEElementTopSpec()

FFlFEElementTopSpec::FFlFEElementTopSpec ( )
inline

◆ ~FFlFEElementTopSpec()

virtual FFlFEElementTopSpec::~FFlFEElementTopSpec ( )
inlinevirtual

Member Function Documentation

◆ addExpandedFace()

void FFlFEElementTopSpec::addExpandedFace ( const FaceType &  f)
inline

◆ addExplicitEdge()

void FFlFEElementTopSpec::addExplicitEdge ( int  i1,
int  i2 
)
inline

◆ addFace()

void FFlFEElementTopSpec::addFace ( const FaceType &  f)
inline

◆ dump()

void FFlFEElementTopSpec::dump ( ) const

◆ getExpandedNodeCount()

int FFlFEElementTopSpec::getExpandedNodeCount ( ) const
inline

◆ getFaceNum()

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

Returns the local face number of a solid defined by two local node ids. The way we determine the unique face number depends on the element type, and matches the description of the Nastran Bulk Data File PLOAD4 entry.

Tetrahedrons: node1 must be on the face and node2 must not be on the face. Pentahedrons: if node2 != 0, both node1 and node2 must be on a quad face. if node2 == 0, node1 must be on a triangular face. Hexahedrons: both node1 and node2 must be on a face.

◆ getFaceTopology()

bool FFlFEElementTopSpec::getFaceTopology ( short int  faceNumber,
bool  isExpandedFace,
bool  switchNormal,
short int  idxOffset,
std::vector< int > &  topology 
) const

Returns the local element node ids for each vertex in face.

◆ getFaceVertexCount()

int FFlFEElementTopSpec::getFaceVertexCount ( short int  faceNumber,
bool  isExpandedFace 
) const

Get the number of vertices in the given local face.

◆ getNodeCount()

int FFlFEElementTopSpec::getNodeCount ( ) const
inline

◆ getNodeDOFs()

virtual int FFlFEElementTopSpec::getNodeDOFs ( int  ) const
inlinevirtual

Reimplemented in FFlRGDTopSpec.

◆ isReferenceNode()

virtual bool FFlFEElementTopSpec::isReferenceNode ( int  ) const
inlinevirtual

Reimplemented in FFlWAVGMTopSpec.

◆ isShellFaces()

bool FFlFEElementTopSpec::isShellFaces ( ) const
inline

◆ isSlaveNode()

virtual bool FFlFEElementTopSpec::isSlaveNode ( int  ) const
inlinevirtual

Reimplemented in FFlWAVGMTopSpec, and FFlRGDTopSpec.

◆ setExpandedNodeCount()

void FFlFEElementTopSpec::setExpandedNodeCount ( int  count)
inline

◆ setExpandedTopology()

void FFlFEElementTopSpec::setExpandedTopology ( int  faceCount,
int *  faceConnections 
)

◆ setNodeCount()

void FFlFEElementTopSpec::setNodeCount ( int  count)
inline

◆ setNodeDOFs()

void FFlFEElementTopSpec::setNodeDOFs ( int  count)
inline

◆ setShellFaces()

void FFlFEElementTopSpec::setShellFaces ( bool  trueOrFalse)
inline

◆ setSlaveStatus()

void FFlFEElementTopSpec::setSlaveStatus ( bool  trueOrFalse)
inline

◆ setTopology()

void FFlFEElementTopSpec::setTopology ( int  faceCount,
int *  faceConnections,
bool  expanded = false 
)

Member Data Documentation

◆ allSlaveNodes

bool FFlFEElementTopSpec::allSlaveNodes
protected

◆ iAmShellFaces

bool FFlFEElementTopSpec::iAmShellFaces
protected

◆ myExpandedFaces

std::vector<FaceType> FFlFEElementTopSpec::myExpandedFaces

◆ myExpandedNodeCount

int FFlFEElementTopSpec::myExpandedNodeCount
protected

◆ myExplEdgePattern

unsigned short FFlFEElementTopSpec::myExplEdgePattern

◆ myExplicitEdges

std::vector<EdgeType> FFlFEElementTopSpec::myExplicitEdges

◆ myFaces

std::vector<FaceType> FFlFEElementTopSpec::myFaces

◆ myNodeCount

int FFlFEElementTopSpec::myNodeCount
protected

◆ myNodeDOFs

char FFlFEElementTopSpec::myNodeDOFs
protected

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