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

Container class for finite element models. More...

#include <FFlLinkHandler.H>

Collaboration diagram for FFlLinkHandler:
Collaboration graph
[legend]

Public Types

enum  Types { FFL_ALL = FFlTypeInfoSpec::OTHER_ELM+1 , FFL_FEM = FFlTypeInfoSpec::OTHER_ELM+2 , FFL_STRC = FFlTypeInfoSpec::STRC_ELM }
 Enumerator for getting counts of different element cathegories. More...
 
using Strings = std::vector< std::string >
 

Public Member Functions

 FFlLinkHandler (size_t maxNodes=0, size_t maxElms=0)
 Default constructor. More...
 
 FFlLinkHandler (const FFlLinkHandler &otherLink)
 Copy constructor. More...
 
 FFlLinkHandler (const FFlGroup &fromGroup)
 Constructor for extracting a sub-model from an element group. More...
 
 ~FFlLinkHandler ()
 The destructor deletes all heap-allocated members. More...
 
FFlLinkHandler & operator= (const FFlLinkHandler &)=delete
 Deleted assignement operator. More...
 
bool addElement (FFlElementBase *anElem, bool sortOnInsert=false)
 
bool addNode (FFlNode *aNode, bool sortOnInsert=false)
 
bool addGroup (FFlGroup *group, bool silence=false)
 
void addLoad (FFlLoadBase *load, bool sortOnInsert=false)
 
bool addAttribute (FFlAttributeBase *attr, bool silence=false)
 
bool addAttribute (FFlAttributeBase *attr, bool silence, const std::string &name)
 
int addUniqueAttribute (FFlAttributeBase *attr, bool silence=false)
 
int addUniqueAttributeCS (FFlAttributeBase *&attr)
 
bool removeAttribute (const std::string &name, int ID, bool silence=false)
 
int sortElementsAndNodes (bool deleteDuplicates=false) const
 Sorts elements and nodes in the order of increasing external IDs.:1. More...
 
const ElmTypeCount & getElmTypeCount () const
 Returns the number of elements of each type. More...
 
int getElementCount (const std::string &type) const
 Returns the number of elements of the given type. More...
 
int getElementCount (int types=FFL_ALL, bool checkCF=false) const
 Returns the number of elements of the given types. More...
 
int getNodeCount (int types=FFL_ALL) const
 Returns the number of nodes of given types. More...
 
int getDofCount (bool includeExternalDofs=true) const
 Returns the total number of DOFs in the FE model. More...
 
int getAttributeCount (const std::string &type) const
 Returns the number of attributes of the given type. More...
 
int buildFiniteElementVec (bool allFElements=true) const
 Builds the myFElements vector. More...
 
FFlElementBase * getElement (int ID, bool internalID=false) const
 Returns the element with the given ID, or NULL if not found. More...
 
FFlElementBase * getFiniteElement (int iel) const
 Returns the element with the given internal element number. More...
 
FFlNode * getNode (int ID) const
 Returns the node with the given ID, or NULL if not found. More...
 
FFlNode * getFENode (int inod) const
 Returns the FE node wit the given ID, or NULL if not found. More...
 
FFlGroup * getGroup (int ID) const
 Returns the element group with given ID, or NULL if not found. More...
 
FFlAttributeBase * getAttribute (const std::string &type, int ID) const
 Returns the attribute of the given type and ID, or NULL if not found. More...
 
size_t getRefNodes (NodesVec &refNodes, NodesVec &mstNodes) const
 finds all free reference nodes in the model. More...
 
bool getLoads (int ID, LoadsVec &loads) const
 Returns all loads with the given ID. More...
 
void getLoadCases (std::set< int > &IDs) const
 Returns a set of the external load IDs. More...
 
int getIntNodeID (int extID) const
 External-to-internal node number mapping. More...
 
int getIntElementID (int extID) const
 External-to-internal (finite) element number mapping. More...
 
void removeElements (const ElementsVec &elms)
 Removes the given elements from the myElements container. More...
 
int getNewElmID () const
 
int getNewNodeID () const
 
int getNewGroupID () const
 
int getNewAttribID (const std::string &type) const
 
ElementsCIter elementsBegin () const
 
ElementsCIter fElementsBegin () const
 
NodesCIter nodesBegin () const
 
GroupCIter groupsBegin () const
 
LoadsCIter loadsBegin () const
 
AttributeTypeCIter attributeTypesBegin () const
 
ElementsCIter elementsEnd () const
 
ElementsCIter fElementsEnd () const
 
NodesCIter nodesEnd () const
 
GroupCIter groupsEnd () const
 
LoadsCIter loadsEnd () const
 
AttributeTypeCIter attributeTypesEnd () const
 
const AttributeMap & getAttributes (const std::string &name) const
 Returns the set of all attributes of the given type. More...
 
void getAllInternalCoordSys (std::vector< FaMat34 > &mxes) const
 Returns transformation matrices of all internal coordinate systems. More...
 
bool getExtents (FaVec3 &max, FaVec3 &min) const
 
double getMeanElementSize () const
 
void getMassProperties (double &M, FaVec3 &Xcg, FFaTensor3 &I) const
 Computes the mass properties of the FE model. More...
 
int findNode (FaVec3 &nodePos, const FaMat34 *Tlg=NULL) const
 Returns the id of the node that is closest to nodePos. More...
 
FFlNode * findFreeNodeAtPoint (const FaVec3 &point, double tol, int dofFilter=-1) const
 Searches for a FE node that matches a given point. More...
 
FFlNode * findClosestNode (const FaVec3 &point) const
 Returns the node that is closest to the given point. More...
 
FFlNode * createAttachableNode (FFlNode *fromNode, const FaVec3 &nodePos, FFlConnectorItems *cItems=NULL, double Ktra=0.0, double Krot=0.0, double Mass=0.0)
 Creates a new node that can be an external node. More...
 
FFlElementBase * findClosestElement (const FaVec3 &point, const CathegoryVec &wantedTypes) const
 Returns an element with its center closest to the given point. More...
 
FFlElementBase * findClosestElement (const FaVec3 &point, const FFlGroup &group) const
 Returns the closest element within a sepcified group. More...
 
FFlElementBase * findClosestElement (const FaVec3 &point, FFlGroup *group=NULL) const
 Convenience method to search for the closest element. More...
 
FFlElementBase * findPoint (const FFlGroup &group, const FaVec3 &point, double *xi) const
 
FFlElementBase * findPoint (const FaVec3 &point, double *xi, int groupID=0) const
 
FFlNode * getNodeConnectivity (int ID, Strings &elmList) const
 Returns the list of elements connected to the specified node ID. More...
 
bool makeStrainCoat (FFlFaceGenerator *geometry, FFlNamedPartBase *group=NULL)
 
bool assignFatigueProperty (int stdIndx, int curveIndx, double sCF, FFlNamedPartBase *group=NULL)
 
void deleteResults ()
 
bool hasResults () const
 
FFlrFELinkResult * getResults ()
 
void convertUnits (const FFaUnitCalculator *convCal)
 
bool resolve (bool subdivParabolic=false, bool fromSESAM=false)
 
bool verify (bool fixNegElms=false)
 
void deleteGeometry ()
 
bool hasGeometry () const
 
bool isTooLarge () const
 
unsigned int calculateChecksum (int csType=FFl::CS_NOEXTINFO, bool rndOff=true) const
 Calculates the checksum with contributions from "all" elements. More...
 
void calculateChecksum (FFaCheckSum *cs, bool rndOff=true) const
 Calculates the checksum with contributions from important elements. More...
 
void calculateChecksum (FFaCheckSum *cs, int csType, bool rndOff) const
 Calculates the link checksum. More...
 
void initiateCalculationFlag (bool status=false)
 
bool updateCalculationFlag (int groupId, bool status=true)
 
bool updateCalculationFlag (FFlPartBase *part, bool status=true)
 
bool updateCalculationFlag (const std::string &attType, int id, bool status=true)
 
void addComponentModes (int nGen)
 
void addOP2file (const std::string &fname)
 
void clearOP2files ()
 
const Strings & getOP2files () const
 
size_t getNumberOfGenDofs () const
 
void dump (const std::string &heading="") const
 

Static Public Member Functions

static bool isStrainCoat (FFlElementBase *elm)
 

Protected Types

using NodesIter = NodesVec::const_iterator
 
using ElementsIter = ElementsVec::const_iterator
 

Protected Member Functions

NodesIter getNodeIter (int ID) const
 
ElementsIter getElementIter (int ID) const
 
void countElements () const
 Counts the number of elements of each type. More...
 
bool areBUSHconnected (FFlNode *n1, FFlNode *n2) const
 Checks if the two nodes are connected via a BUSH element. More...
 
int buildBUSHelementSet () const
 
int splitElement (FFlElementBase *elm)
 Subdivides a parabolic element into linear elements. More...
 
int sortElements (bool deleteDuplicates=false) const
 
int sortNodes (bool deleteDuplicates=false) const
 
void sortLoads () const
 

Protected Attributes

bool tooLarge
 Set by addNode() and addElement() More...
 
size_t nodeLimit
 Max number of nodes allowed. More...
 
size_t elmLimit
 Max number of elements allowed. More...
 
ElementsVec myElements
 
bool areElementsSorted
 
NodesVec myNodes
 
bool areNodesSorted
 
LoadsVec myLoads
 
bool areLoadsSorted
 
GroupMap myGroupMap
 
AttributeTypeMap myAttributes
 
std::map< unsigned int, FFlAttributeBase * > uniqueAtts
 
std::map< FFlNode *, ElementsSet > myNodeMapping
 
bool isResolved
 Flag to avoid resolving the topology more than once. More...
 
bool hasLooseNodes
 If true, the FE model contains unconnected nodes. More...
 
std::map< int, int > ext2intNode
 External-to-internal node number mapping. More...
 
NodesVec myFEnodes
 Vector or pointers to the Finite Element nodes only. More...
 
ElmTypeCount myNumElements
 Map of element type name to the number of elements of that type. More...
 
ElementsVec myFElements
 Vector of pointers to the Finite Elements only. More...
 
ElementsSet myBushElements
 Vector of pointers to all BUSH elements in the model. More...
 
Strings myOP2files
 List of files with externally reduced matrices for this model. More...
 
size_t nGenDofs
 Number of component modes, as read from Nastran bulk data file. More...
 
FFaCheckSum * myChkSum
 
FFlFEResultBase * myResults
 
FFaProfiler * myProfiler
 

Detailed Description

Container class for finite element models.

This class holds the data representing a finite element (FE) part in a FEDEM model, and associated methods for accessing and manipulating it.

Member Typedef Documentation

◆ ElementsIter

using FFlLinkHandler::ElementsIter = ElementsVec::const_iterator
protected

◆ NodesIter

using FFlLinkHandler::NodesIter = NodesVec::const_iterator
protected

◆ Strings

using FFlLinkHandler::Strings = std::vector<std::string>

Member Enumeration Documentation

◆ Types

Enumerator for getting counts of different element cathegories.

Enumerator
FFL_ALL 

All elements.

FFL_FEM 

All finite elemnents.

FFL_STRC 

All strain coat elements.

Constructor & Destructor Documentation

◆ FFlLinkHandler() [1/3]

FFlLinkHandler::FFlLinkHandler ( size_t  maxNodes = 0,
size_t  maxElms = 0 
)

Default constructor.

◆ FFlLinkHandler() [2/3]

FFlLinkHandler::FFlLinkHandler ( const FFlLinkHandler &  otherLink)

Copy constructor.

◆ FFlLinkHandler() [3/3]

FFlLinkHandler::FFlLinkHandler ( const FFlGroup &  fromGroup)

Constructor for extracting a sub-model from an element group.

◆ ~FFlLinkHandler()

FFlLinkHandler::~FFlLinkHandler ( )

The destructor deletes all heap-allocated members.

Member Function Documentation

◆ addAttribute() [1/2]

bool FFlLinkHandler::addAttribute ( FFlAttributeBase *  attr,
bool  silence,
const std::string &  name 
)

◆ addAttribute() [2/2]

bool FFlLinkHandler::addAttribute ( FFlAttributeBase *  attr,
bool  silence = false 
)

◆ addComponentModes()

void FFlLinkHandler::addComponentModes ( int  nGen)
inline

◆ addElement()

bool FFlLinkHandler::addElement ( FFlElementBase *  anElem,
bool  sortOnInsert = false 
)

◆ addGroup()

bool FFlLinkHandler::addGroup ( FFlGroup *  group,
bool  silence = false 
)

◆ addLoad()

void FFlLinkHandler::addLoad ( FFlLoadBase *  load,
bool  sortOnInsert = false 
)

◆ addNode()

bool FFlLinkHandler::addNode ( FFlNode *  aNode,
bool  sortOnInsert = false 
)

◆ addOP2file()

void FFlLinkHandler::addOP2file ( const std::string &  fname)
inline

◆ addUniqueAttribute()

int FFlLinkHandler::addUniqueAttribute ( FFlAttributeBase *  attr,
bool  silence = false 
)

◆ addUniqueAttributeCS()

int FFlLinkHandler::addUniqueAttributeCS ( FFlAttributeBase *&  attr)

◆ areBUSHconnected()

bool FFlLinkHandler::areBUSHconnected ( FFlNode *  n1,
FFlNode *  n2 
) const
protected

Checks if the two nodes are connected via a BUSH element.

◆ assignFatigueProperty()

bool FFlLinkHandler::assignFatigueProperty ( int  stdIndx,
int  curveIndx,
double  sCF,
FFlNamedPartBase *  group = NULL 
)

◆ attributeTypesBegin()

AttributeTypeCIter FFlLinkHandler::attributeTypesBegin ( ) const
inline

◆ attributeTypesEnd()

AttributeTypeCIter FFlLinkHandler::attributeTypesEnd ( ) const
inline

◆ buildBUSHelementSet()

int FFlLinkHandler::buildBUSHelementSet ( ) const
protected

◆ buildFiniteElementVec()

int FFlLinkHandler::buildFiniteElementVec ( bool  allFElements = true) const

Builds the myFElements vector.

This methods finds all elements that contribute to the stiffness matrix. Note that this method must not be invoked before resolve() is called, or else we'll get a crash (core dump).

◆ calculateChecksum() [1/3]

void FFlLinkHandler::calculateChecksum ( FFaCheckSum *  cs,
bool  rndOff = true 
) const

Calculates the checksum with contributions from important elements.

The "important" entries include node, element, load and attribute data. Group and visualization data are not included here.

◆ calculateChecksum() [2/3]

void FFlLinkHandler::calculateChecksum ( FFaCheckSum *  cs,
int  csType,
bool  rndOff 
) const

Calculates the link checksum.

◆ calculateChecksum() [3/3]

unsigned int FFlLinkHandler::calculateChecksum ( int  csType = FFl::CS_NOEXTINFO,
bool  rndOff = true 
) const

Calculates the checksum with contributions from "all" elements.

◆ clearOP2files()

void FFlLinkHandler::clearOP2files ( )
inline

◆ convertUnits()

void FFlLinkHandler::convertUnits ( const FFaUnitCalculator *  convCal)

◆ countElements()

void FFlLinkHandler::countElements ( ) const
protected

Counts the number of elements of each type.

◆ createAttachableNode()

FFlNode * FFlLinkHandler::createAttachableNode ( FFlNode *  fromNode,
const FaVec3 &  nodePos,
FFlConnectorItems *  cItems = NULL,
double  Ktra = 0.0,
double  Krot = 0.0,
double  Mass = 0.0 
)

Creates a new node that can be an external node.

This method creates a new node at nodePos, a BUSH element between fromNode and the new node, and a CMASS element at fromNode. The new node is returned. The elements are created without properties - only topology, unless Ktra, Krot, or Mass are non-zero.

◆ deleteGeometry()

void FFlLinkHandler::deleteGeometry ( )

◆ deleteResults()

void FFlLinkHandler::deleteResults ( )

◆ dump()

void FFlLinkHandler::dump ( const std::string &  heading = "") const

◆ elementsBegin()

ElementsCIter FFlLinkHandler::elementsBegin ( ) const
inline

◆ elementsEnd()

ElementsCIter FFlLinkHandler::elementsEnd ( ) const
inline

◆ fElementsBegin()

ElementsCIter FFlLinkHandler::fElementsBegin ( ) const
inline

◆ fElementsEnd()

ElementsCIter FFlLinkHandler::fElementsEnd ( ) const
inline

◆ findClosestElement() [1/3]

FFlElementBase * FFlLinkHandler::findClosestElement ( const FaVec3 &  point,
const CathegoryVec &  wantedTypes 
) const

Returns an element with its center closest to the given point.

This method returns the element within the cathegories wantedTypes that has its node center closest to the given point. If wantedTypes is empty, any element is accepted.

◆ findClosestElement() [2/3]

FFlElementBase * FFlLinkHandler::findClosestElement ( const FaVec3 &  point,
const FFlGroup &  group 
) const

Returns the closest element within a sepcified group.

This method returns the element within a specified group that has its node center closest to the given point.

◆ findClosestElement() [3/3]

FFlElementBase * FFlLinkHandler::findClosestElement ( const FaVec3 &  point,
FFlGroup *  group = NULL 
) const

Convenience method to search for the closest element.

◆ findClosestNode()

FFlNode * FFlLinkHandler::findClosestNode ( const FaVec3 &  point) const

Returns the node that is closest to the given point.

◆ findFreeNodeAtPoint()

FFlNode * FFlLinkHandler::findFreeNodeAtPoint ( const FaVec3 &  point,
double  tol,
int  dofFilter = -1 
) const

Searches for a FE node that matches a given point.

This method finds the node with (at least) the given number of DOFs (dofFilter), that matches the specified point. If more than one node match the point, return the node among these that is either a free node or a WAVGM reference node. If more than one such match exist, return the closest node among them.

Todo:
This method does not work well with large tolerances. The tolerance is used as a "all within is coincident". In that regime it actually is ID-dependent which node is returned. It is supposed to prioritize the nodes like this:
  1. Replacement node for a WAVGM reference node
  2. WAVGM reference node
  3. Closest free node But if a free node is found that happens to be closer than a found reference node, the free node will be returned instead. There should be two tolerances in this method: Coincident tolerance and search tolerance. JJS 2009.03.27

◆ findNode()

int FFlLinkHandler::findNode ( FaVec3 &  nodePos,
const FaMat34 *  Tlg = NULL 
) const

Returns the id of the node that is closest to nodePos.

The actual coordinates for the node is returned by updating nodePos.

◆ findPoint() [1/2]

FFlElementBase * FFlLinkHandler::findPoint ( const FaVec3 &  point,
double *  xi,
int  groupID = 0 
) const

◆ findPoint() [2/2]

FFlElementBase * FFlLinkHandler::findPoint ( const FFlGroup &  group,
const FaVec3 &  point,
double *  xi 
) const

◆ getAllInternalCoordSys()

void FFlLinkHandler::getAllInternalCoordSys ( std::vector< FaMat34 > &  mxes) const

Returns transformation matrices of all internal coordinate systems.

◆ getAttribute()

FFlAttributeBase * FFlLinkHandler::getAttribute ( const std::string &  type,
int  ID 
) const

Returns the attribute of the given type and ID, or NULL if not found.

◆ getAttributeCount()

int FFlLinkHandler::getAttributeCount ( const std::string &  type) const

Returns the number of attributes of the given type.

◆ getAttributes()

const AttributeMap & FFlLinkHandler::getAttributes ( const std::string &  name) const

Returns the set of all attributes of the given type.

◆ getDofCount()

int FFlLinkHandler::getDofCount ( bool  includeExternalDofs = true) const

Returns the total number of DOFs in the FE model.

Unless includeExternalDofs is true, only the internal dofs are counted.

◆ getElement()

FFlElementBase * FFlLinkHandler::getElement ( int  ID,
bool  internalID = false 
) const

Returns the element with the given ID, or NULL if not found.

◆ getElementCount() [1/2]

int FFlLinkHandler::getElementCount ( const std::string &  type) const

Returns the number of elements of the given type.

◆ getElementCount() [2/2]

int FFlLinkHandler::getElementCount ( int  types = FFL_ALL,
bool  checkCF = false 
) const

Returns the number of elements of the given types.

If checkCF is true, only the elements for which the calculation flag is set are counted.

◆ getElementIter()

FFlLinkHandler::ElementsIter FFlLinkHandler::getElementIter ( int  ID) const
protected

◆ getElmTypeCount()

const ElmTypeCount & FFlLinkHandler::getElmTypeCount ( ) const

Returns the number of elements of each type.

◆ getExtents()

bool FFlLinkHandler::getExtents ( FaVec3 &  max,
FaVec3 &  min 
) const

◆ getFENode()

FFlNode * FFlLinkHandler::getFENode ( int  inod) const

Returns the FE node wit the given ID, or NULL if not found.

◆ getFiniteElement()

FFlElementBase * FFlLinkHandler::getFiniteElement ( int  iel) const

Returns the element with the given internal element number.

This method returns a finite element only. Strain coat elements and other DOF-less elements are excluded. Returns NULL if no finite element with the given index.

◆ getGroup()

FFlGroup * FFlLinkHandler::getGroup ( int  ID) const

Returns the element group with given ID, or NULL if not found.

◆ getIntElementID()

int FFlLinkHandler::getIntElementID ( int  extID) const

External-to-internal (finite) element number mapping.

◆ getIntNodeID()

int FFlLinkHandler::getIntNodeID ( int  ID) const

External-to-internal node number mapping.

This method is assumed used by the solvers only (and not by the GUI). Therefore, we don't include any loose external nodes here.

◆ getLoadCases()

void FFlLinkHandler::getLoadCases ( std::set< int > &  IDs) const

Returns a set of the external load IDs.

◆ getLoads()

bool FFlLinkHandler::getLoads ( int  ID,
LoadsVec &  loads 
) const

Returns all loads with the given ID.

◆ getMassProperties()

void FFlLinkHandler::getMassProperties ( double &  M,
FaVec3 &  Xcg,
FFaTensor3 &  I 
) const

Computes the mass properties of the FE model.

This method computes the the total mass M, the center of gravity Xcg and the inertia tensor I for the model.

◆ getMeanElementSize()

double FFlLinkHandler::getMeanElementSize ( ) const

◆ getNewAttribID()

int FFlLinkHandler::getNewAttribID ( const std::string &  type) const

◆ getNewElmID()

int FFlLinkHandler::getNewElmID ( ) const

◆ getNewGroupID()

int FFlLinkHandler::getNewGroupID ( ) const

◆ getNewNodeID()

int FFlLinkHandler::getNewNodeID ( ) const

◆ getNode()

FFlNode * FFlLinkHandler::getNode ( int  ID) const

Returns the node with the given ID, or NULL if not found.

◆ getNodeConnectivity()

FFlNode * FFlLinkHandler::getNodeConnectivity ( int  ID,
Strings &  elmList 
) const

Returns the list of elements connected to the specified node ID.

◆ getNodeCount()

int FFlLinkHandler::getNodeCount ( int  types = FFL_ALL) const

Returns the number of nodes of given types.

Loose nodes, if any, are not counted by this method.

◆ getNodeIter()

FFlLinkHandler::NodesIter FFlLinkHandler::getNodeIter ( int  ID) const
protected

◆ getNumberOfGenDofs()

size_t FFlLinkHandler::getNumberOfGenDofs ( ) const
inline

◆ getOP2files()

const Strings& FFlLinkHandler::getOP2files ( ) const
inline

◆ getRefNodes()

size_t FFlLinkHandler::getRefNodes ( NodesVec &  refNodes,
NodesVec &  mstNodes 
) const

finds all free reference nodes in the model.

Parameters
[out]refNodesRBE3 (or WAVGM) reference nodes
[out]mstNodesRBE2 (or RGD) master nodes
Returns
Total number of reference nodes found

This method finds all spider reference nodes in the FE model, which are not connected to other elements than the spider element itself.

◆ getResults()

FFlrFELinkResult* FFlLinkHandler::getResults ( )

◆ groupsBegin()

GroupCIter FFlLinkHandler::groupsBegin ( ) const
inline

◆ groupsEnd()

GroupCIter FFlLinkHandler::groupsEnd ( ) const
inline

◆ hasGeometry()

bool FFlLinkHandler::hasGeometry ( ) const
inline

◆ hasResults()

bool FFlLinkHandler::hasResults ( ) const
inline

◆ initiateCalculationFlag()

void FFlLinkHandler::initiateCalculationFlag ( bool  status = false)

◆ isStrainCoat()

bool FFlLinkHandler::isStrainCoat ( FFlElementBase *  elm)
static

◆ isTooLarge()

bool FFlLinkHandler::isTooLarge ( ) const
inline

◆ loadsBegin()

LoadsCIter FFlLinkHandler::loadsBegin ( ) const
inline

◆ loadsEnd()

LoadsCIter FFlLinkHandler::loadsEnd ( ) const
inline

◆ makeStrainCoat()

bool FFlLinkHandler::makeStrainCoat ( FFlFaceGenerator *  geometry,
FFlNamedPartBase *  group = NULL 
)

◆ nodesBegin()

NodesCIter FFlLinkHandler::nodesBegin ( ) const
inline

◆ nodesEnd()

NodesCIter FFlLinkHandler::nodesEnd ( ) const
inline

◆ operator=()

FFlLinkHandler& FFlLinkHandler::operator= ( const FFlLinkHandler &  )
delete

Deleted assignement operator.

◆ removeAttribute()

bool FFlLinkHandler::removeAttribute ( const std::string &  name,
int  ID,
bool  silence = false 
)

◆ removeElements()

void FFlLinkHandler::removeElements ( const ElementsVec &  elms)

Removes the given elements from the myElements container.

◆ resolve()

bool FFlLinkHandler::resolve ( bool  subdivParabolic = false,
bool  fromSESAM = false 
)

◆ sortElements()

int FFlLinkHandler::sortElements ( bool  deleteDuplicates = false) const
protected

◆ sortElementsAndNodes()

int FFlLinkHandler::sortElementsAndNodes ( bool  deleteDuplicates = false) const

Sorts elements and nodes in the order of increasing external IDs.:1.

A warning is issued if duplicated elements or nodes are found. If deleteDuplicates is true, the latter duplicated entry is deleted.

Note
Deleting duplicated entries is not safe after resolving has been done.

◆ sortLoads()

void FFlLinkHandler::sortLoads ( ) const
protected

◆ sortNodes()

int FFlLinkHandler::sortNodes ( bool  deleteDuplicates = false) const
protected

◆ splitElement()

int FFlLinkHandler::splitElement ( FFlElementBase *  elm)
protected

Subdivides a parabolic element into linear elements.

This method will subdivide a 3-noded beam into two linear beam elements, and a 6-noded triangle and a 8-noded quadrilateral into four linear equivalents.

◆ updateCalculationFlag() [1/3]

bool FFlLinkHandler::updateCalculationFlag ( const std::string &  attType,
int  id,
bool  status = true 
)

◆ updateCalculationFlag() [2/3]

bool FFlLinkHandler::updateCalculationFlag ( FFlPartBase *  part,
bool  status = true 
)

◆ updateCalculationFlag() [3/3]

bool FFlLinkHandler::updateCalculationFlag ( int  groupId,
bool  status = true 
)

◆ verify()

bool FFlLinkHandler::verify ( bool  fixNegElms = false)

Member Data Documentation

◆ areElementsSorted

bool FFlLinkHandler::areElementsSorted
mutableprotected

◆ areLoadsSorted

bool FFlLinkHandler::areLoadsSorted
mutableprotected

◆ areNodesSorted

bool FFlLinkHandler::areNodesSorted
mutableprotected

◆ elmLimit

size_t FFlLinkHandler::elmLimit
protected

Max number of elements allowed.

◆ ext2intNode

std::map<int,int> FFlLinkHandler::ext2intNode
mutableprotected

External-to-internal node number mapping.

◆ hasLooseNodes

bool FFlLinkHandler::hasLooseNodes
protected

If true, the FE model contains unconnected nodes.

◆ isResolved

bool FFlLinkHandler::isResolved
protected

Flag to avoid resolving the topology more than once.

◆ myAttributes

AttributeTypeMap FFlLinkHandler::myAttributes
protected

◆ myBushElements

ElementsSet FFlLinkHandler::myBushElements
mutableprotected

Vector of pointers to all BUSH elements in the model.

◆ myChkSum

FFaCheckSum* FFlLinkHandler::myChkSum
mutableprotected

◆ myElements

ElementsVec FFlLinkHandler::myElements
mutableprotected

◆ myFElements

ElementsVec FFlLinkHandler::myFElements
mutableprotected

Vector of pointers to the Finite Elements only.

◆ myFEnodes

NodesVec FFlLinkHandler::myFEnodes
mutableprotected

Vector or pointers to the Finite Element nodes only.

◆ myGroupMap

GroupMap FFlLinkHandler::myGroupMap
protected

◆ myLoads

LoadsVec FFlLinkHandler::myLoads
mutableprotected

◆ myNodeMapping

std::map<FFlNode*,ElementsSet> FFlLinkHandler::myNodeMapping
mutableprotected

◆ myNodes

NodesVec FFlLinkHandler::myNodes
mutableprotected

◆ myNumElements

ElmTypeCount FFlLinkHandler::myNumElements
mutableprotected

Map of element type name to the number of elements of that type.

◆ myOP2files

Strings FFlLinkHandler::myOP2files
protected

List of files with externally reduced matrices for this model.

◆ myProfiler

FFaProfiler* FFlLinkHandler::myProfiler
protected

◆ myResults

FFlFEResultBase* FFlLinkHandler::myResults
protected

◆ nGenDofs

size_t FFlLinkHandler::nGenDofs
protected

Number of component modes, as read from Nastran bulk data file.

◆ nodeLimit

size_t FFlLinkHandler::nodeLimit
protected

Max number of nodes allowed.

◆ tooLarge

bool FFlLinkHandler::tooLarge
protected

Set by addNode() and addElement()

◆ uniqueAtts

std::map<unsigned int,FFlAttributeBase*> FFlLinkHandler::uniqueAtts
protected

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