YAMLParser
|
#include <FEBeam.h>
Public Member Functions | |
FEBeam (int id, FENode *node1, FENode *node2, GenericMaterial *mat, GenericCrossSection *crossSection, FEEccentricity *ecc1, FEEccentricity *ecc2, FEVector *vec) | |
~FEBeam () | |
Identifiable::Type | getType () |
virtual std::string | getTypeAsString () override |
bool | assignIndependentAttributes (YAML::Node &yamlNode) override |
void | printAttributes () |
![]() | |
virtual | ~Identifiable () |
int | getID () const |
Getter for the externally defined identification number. More... | |
Public Attributes | |
const FENode * | pNode1 |
Ptr to FENode object defining the start point of the beam. More... | |
const FENode * | pNode2 |
Ptr to FENode object defining the end point of the beam. More... | |
const GenericMaterial * | pMaterial |
Ptr to material object. More... | |
const GenericCrossSection * | pCrossSection |
Ptr to object holding the cross-sectional data. More... | |
const FEEccentricity * | pEcc1 |
Ptr to eccentricity information for node 1. More... | |
const FEEccentricity * | pEcc2 |
Ptr to eccentricity information for node 2. More... | |
const FEVector * | pVec |
Ptr to FEVector object specifying the beam's orientation. More... | |
![]() | |
std::vector< std::string > | s_Types |
Type | type |
The FEM element type (see enum definition) More... | |
Additional Inherited Members | |
![]() | |
enum | Type { NULLTYPE, NODE, COORDSYS, BEAM, TRISHELL, QUADSHEL, VECTOR, ECCENT, ISOMATERIAL, PIPE, BOX, IHPROFIL, LSECTION, TSECTION, PLCOMP, CROSS_SECTION_DUMMY, NODELOAD, LOADCOMB } |
![]() | |
void | setID (int id) |
Setter for the externally defined identification number. More... | |
![]() | |
int | id |
Externally defined identification number. More... | |
FEBeam::FEBeam | ( | int | id, |
FENode * | node1, | ||
FENode * | node2, | ||
GenericMaterial * | mat, | ||
GenericCrossSection * | crossSection, | ||
FEEccentricity * | ecc1, | ||
FEEccentricity * | ecc2, | ||
FEVector * | vec | ||
) |
This is the class constructor. It simply populates the attributes with data from the function argument list.
FEBeam::~FEBeam | ( | ) |
|
overridevirtual |
This function is inherited from GenericFE. This function does nothing. The only independent attributes for the BEAM record is the id, but this attribute is not assigned in this function. Rather, the id is passed as an integer in the constructor because passing an integer is more effective than passing a YAML::Node.
This method is implemented to ensure consistency with the base class.
Implements GenericFE.
|
virtual |
Function returning the type of the element.
Used to specify element types for operatins such as comparison.
Reimplemented from Identifiable.
|
overridevirtual |
Function returning the type as a string.
Used to throw informative error messages
Reimplemented from Identifiable.
|
virtual |
Print attributes to console
Implements GenericFE.
const GenericCrossSection* FEBeam::pCrossSection |
Ptr to object holding the cross-sectional data.
const FEEccentricity* FEBeam::pEcc1 |
Ptr to eccentricity information for node 1.
const FEEccentricity* FEBeam::pEcc2 |
Ptr to eccentricity information for node 2.
const GenericMaterial* FEBeam::pMaterial |
Ptr to material object.