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

This class represents a plate composite. That is, a composite cross section for shell elements. More...

#include <PLComp.h>

Inheritance diagram for PLComp:
GenericCompSection Identifiable

Classes

struct  Ply
 

Public Member Functions

 PLComp (YAML::Node &yamlNode, std::vector< GenericMaterial * > matList)
 
 ~PLComp ()
 
virtual Identifiable::Type getType () override
 
virtual std::string getTypeAsString () override
 
virtual bool assignIndependentAttributes (YAML::Node &yamlNode) override
 
virtual void printAttributes () override
 
bool addPly (const YAML::Node &plyNode, GenericMaterial *mat)
 
- Public Member Functions inherited from Identifiable
virtual ~Identifiable ()
 
int getID () const
 Getter for the externally defined identification number. More...
 

Public Attributes

double z0
 Starting coordinate for the first laminate layer. More...
 
std::vector< Plyplies
 Ordered list of plies (bottom ply at index 0) 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 a plate composite. That is, a composite cross section for shell elements.

Constructor & Destructor Documentation

◆ PLComp()

PLComp::PLComp ( YAML::Node &  yamlNode,
std::vector< GenericMaterial * >  matList 
)

◆ ~PLComp()

PLComp::~PLComp ( )

Member Function Documentation

◆ addPly()

bool PLComp::addPly ( const YAML::Node &  plyNode,
GenericMaterial mat 
)

Initiate a ply from the lists of plies and materials and add it to the list of plies

◆ assignIndependentAttributes()

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

Setter for independent (dependency level null) attributes

Implements GenericCompSection.

◆ getType()

Identifiable::Type PLComp::getType ( )
overridevirtual

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

Reimplemented from Identifiable.

◆ getTypeAsString()

std::string PLComp::getTypeAsString ( )
overridevirtual

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

Reimplemented from Identifiable.

◆ printAttributes()

void PLComp::printAttributes ( )
overridevirtual

Print attributes to console

Implements GenericCompSection.

Member Data Documentation

◆ plies

std::vector<Ply> PLComp::plies

Ordered list of plies (bottom ply at index 0)

◆ z0

double PLComp::z0

Starting coordinate for the first laminate layer.


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