YAMLParser
|
This class represents an isotropic material. More...
#include <FEIsoMaterial.h>
Public Member Functions | |
FEIsoMaterial (YAML::Node &yamlNode) | |
FEIsoMaterial (int id, std::string type, double Emod, double poiss, double density, double thermX) | |
~FEIsoMaterial () | |
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... | |
virtual Identifiable::Type | getType () |
Public Attributes | |
std::string | type |
Literal string identifying whether the material is elastic or plastic. More... | |
double | Emod |
Young's modulus. More... | |
double | poisson |
Poissons' ratio. More... | |
double | yield |
Yield stress when plastic (for elastic materials, yield = 0.0) More... | |
double | density |
Material density. More... | |
double | thermX |
Thermal exapansion coeffiecient. 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 an isotropic material.
FEIsoMaterial::FEIsoMaterial | ( | YAML::Node & | yamlNode | ) |
Constructor based on information from a YAML::Node
FEIsoMaterial::FEIsoMaterial | ( | int | id, |
std::string | type, | ||
double | Emod, | ||
double | poiss, | ||
double | density, | ||
double | thermX | ||
) |
YAML-independent constructor
FEIsoMaterial::~FEIsoMaterial | ( | ) |
|
overridevirtual |
Setter for independent (dependency level null) attributes
Implements GenericMaterial.
|
overridevirtual |
Function returning the type as a string.
Used to throw informative error messages
Reimplemented from Identifiable.
|
virtual |
Print attributes to console
Implements GenericMaterial.
double FEIsoMaterial::density |
Material density.
double FEIsoMaterial::Emod |
Young's modulus.
double FEIsoMaterial::poisson |
Poissons' ratio.
double FEIsoMaterial::thermX |
Thermal exapansion coeffiecient.
std::string FEIsoMaterial::type |
Literal string identifying whether the material is elastic or plastic.
double FEIsoMaterial::yield |
Yield stress when plastic (for elastic materials, yield = 0.0)