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

This class represents an isotropic material. More...

#include <FEIsoMaterial.h>

Inheritance diagram for FEIsoMaterial:
GenericMaterial Identifiable

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 ()
 
- Public Member Functions inherited from Identifiable
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...
 
- 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...
 

Detailed Description

This class represents an isotropic material.

Constructor & Destructor Documentation

◆ FEIsoMaterial() [1/2]

FEIsoMaterial::FEIsoMaterial ( YAML::Node &  yamlNode)

Constructor based on information from a YAML::Node

◆ FEIsoMaterial() [2/2]

FEIsoMaterial::FEIsoMaterial ( int  id,
std::string  type,
double  Emod,
double  poiss,
double  density,
double  thermX 
)

YAML-independent constructor

◆ ~FEIsoMaterial()

FEIsoMaterial::~FEIsoMaterial ( )

Member Function Documentation

◆ assignIndependentAttributes()

bool FEIsoMaterial::assignIndependentAttributes ( YAML::Node &  yamlNode)
overridevirtual

Setter for independent (dependency level null) attributes

Implements GenericMaterial.

◆ getTypeAsString()

std::string FEIsoMaterial::getTypeAsString ( )
overridevirtual

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

Reimplemented from Identifiable.

◆ printAttributes()

void FEIsoMaterial::printAttributes ( )
virtual

Print attributes to console

Implements GenericMaterial.

Member Data Documentation

◆ density

double FEIsoMaterial::density

Material density.

◆ Emod

double FEIsoMaterial::Emod

Young's modulus.

◆ poisson

double FEIsoMaterial::poisson

Poissons' ratio.

◆ thermX

double FEIsoMaterial::thermX

Thermal exapansion coeffiecient.

◆ type

std::string FEIsoMaterial::type

Literal string identifying whether the material is elastic or plastic.

◆ yield

double FEIsoMaterial::yield

Yield stress when plastic (for elastic materials, yield = 0.0)


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