YAMLParser
Public Member Functions | Public Attributes | List of all members
FENode Class Reference

#include <FENode.h>

Inheritance diagram for FENode:
Identifiable

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 ()
 
- Public Member Functions inherited from Identifiable
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...
 
FECoordSyspRotID
 Reference to local coordinate system for BCs. More...
 
- Public Attributes inherited from Identifiable
std::vector< std::string > s_Types
 
Type type
 The FEM element type (see enum definition) More...
 

Additional Inherited Members

- Public Types inherited from Identifiable
enum  Type {
  NULLTYPE, NODE, COORDSYS, BEAM,
  TRISHELL, QUADSHEL, VECTOR, ECCENT,
  ISOMATERIAL, PIPE, BOX, IHPROFIL,
  LSECTION, TSECTION, PLCOMP, CROSS_SECTION_DUMMY,
  NODELOAD, LOADCOMB
}
 
- Protected Member Functions inherited from Identifiable
void setID (int id)
 Setter for the externally defined identification number. More...
 
- Protected Attributes inherited from Identifiable
int id
 Externally defined identification number. More...
 

Constructor & Destructor Documentation

◆ FENode()

FENode::FENode ( YAML::Node &  yamlNode,
FECoordSys rot 
)

◆ ~FENode()

FENode::~FENode ( )

Member Function Documentation

◆ assignIndependentAttributes()

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

◆ extractYamlKeys()

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>.

◆ getType()

Identifiable::Type FENode::getType ( )
virtual

Function returning the type of the element.
Used to specify element types for operatins such as comparison.

Reimplemented from Identifiable.

◆ getTypeAsString()

std::string FENode::getTypeAsString ( )
overridevirtual

Function returning the type as a string.
Used to throw informative error messages

Reimplemented from Identifiable.

◆ printAttributes()

void FENode::printAttributes ( )

Prints the attributes and their values to console

◆ setCoordinates()

bool FENode::setCoordinates ( YAML::Node &  yamlNode)

Sets the coordinates for the node, from the attribute fields in yamlNode

Member Data Documentation

◆ irx

int FENode::irx

Boundary code for rotation about X-axis.

◆ iry

int FENode::iry

Boundary code for rotation about Y-axis.

◆ irz

int FENode::irz

Boundary code for rotation about Z-axis.

◆ ix

int FENode::ix

Boundary code for translation in x-direction.

◆ iy

int FENode::iy

Boundary code for translation in y-direction.

◆ iz

int FENode::iz

Boundary code for translation in z-direction.

◆ pRotID

FECoordSys* FENode::pRotID

Reference to local coordinate system for BCs.

◆ x

double FENode::x

X-coordinate for the node.

◆ y

double FENode::y

Y-coordinate for the node.

◆ z

double FENode::z

Z-coordinate for the node.


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