YAMLParser
|
This class represents a (normalized) vector used to define element orientation. More...
#include <FEVector.h>
Public Member Functions | |
FEVector (YAML::Node &yamlNode, std::string vecType) | |
FEVector (int id, double x, double y, double z) | |
~FEVector () | |
Identifiable::Type | getType () |
std::string | getTypeAsString () |
virtual void | printAttributes () override |
virtual bool | assignIndependentAttributes (YAML::Node &yamlNode) override |
void | normalizeVector () |
Normalize the vector (named vec) More... | |
![]() | |
virtual | ~Identifiable () |
int | getID () const |
Getter for the externally defined identification number. More... | |
Public Attributes | |
double | vec [3] |
The vector data. Contents: x-, y-, and z-components of the vector. 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... | |
This class represents a (normalized) vector used to define element orientation.
FEVector::FEVector | ( | YAML::Node & | yamlNode, |
std::string | vecType | ||
) |
FEVector::FEVector | ( | int | id, |
double | x, | ||
double | y, | ||
double | z | ||
) |
YAML-independent constructor
FEVector::~FEVector | ( | ) |
|
overridevirtual |
Setter for independent (dependency level null) attributes
Implements GenericFE.
|
virtual |
Function returning the type of the element.
Used to specify element types for operatins such as comparison.
Reimplemented from Identifiable.
|
virtual |
Function returning the type as a string.
Used to throw informative error messages
Reimplemented from Identifiable.
void FEVector::normalizeVector | ( | ) |
Normalize the vector (named vec)
|
overridevirtual |
Print attributes to console
Implements GenericFE.
double FEVector::vec[3] |
The vector data. Contents: x-, y-, and z-components of the vector.