YAMLParser
|
#include <FENode.h>
Public Member Functions | |
FENode (YAML::Node &yamlNode, FECoordSys *rot) | |
~FENode () | |
Identifiable::Type | getType () |
virtual std::string | getTypeAsString () override |
bool | assignIndependentAttributes (YAML::Node &yamlNode) |
bool | setCoordinates (YAML::Node &yamlNode) |
std::vector< std::string > | extractYamlKeys (YAML::Node yamlNode) |
void | printAttributes () |
![]() | |
virtual | ~Identifiable () |
int | getID () const |
Getter for the externally defined identification number. More... | |
Public Attributes | |
double | x |
X-coordinate for the node. More... | |
double | y |
Y-coordinate for the node. More... | |
double | z |
Z-coordinate for the node. More... | |
int | ix |
Boundary code for translation in x-direction. More... | |
int | iy |
Boundary code for translation in y-direction. More... | |
int | iz |
Boundary code for translation in z-direction. More... | |
int | irx |
Boundary code for rotation about X-axis. More... | |
int | iry |
Boundary code for rotation about Y-axis. More... | |
int | irz |
Boundary code for rotation about Z-axis. More... | |
FECoordSys * | pRotID |
Reference to local coordinate system for BCs. 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... | |
FENode::FENode | ( | YAML::Node & | yamlNode, |
FECoordSys * | rot | ||
) |
FENode::~FENode | ( | ) |
bool FENode::assignIndependentAttributes | ( | YAML::Node & | yamlNode | ) |
Assigns NODE attributes with dependency level null, i.e. attributes which can be obtained directly from the YAML representation
std::vector< std::string > FENode::extractYamlKeys | ( | YAML::Node | yamlNode | ) |
Extracts keys of a YAML mapping, in a container on the form std::vector<std::string>.
|
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.
void FENode::printAttributes | ( | ) |
Prints the attributes and their values to console
bool FENode::setCoordinates | ( | YAML::Node & | yamlNode | ) |
Sets the coordinates for the node, from the attribute fields in yamlNode
int FENode::irx |
Boundary code for rotation about X-axis.
int FENode::iry |
Boundary code for rotation about Y-axis.
int FENode::irz |
Boundary code for rotation about Z-axis.
int FENode::ix |
Boundary code for translation in x-direction.
int FENode::iy |
Boundary code for translation in y-direction.
int FENode::iz |
Boundary code for translation in z-direction.
FECoordSys* FENode::pRotID |
Reference to local coordinate system for BCs.
double FENode::x |
X-coordinate for the node.
double FENode::y |
Y-coordinate for the node.
double FENode::z |
Z-coordinate for the node.