YAMLParser
FETrishell.h
Go to the documentation of this file.
1 
4 #pragma once
5 #include "yaml-cpp/yaml.h"
6 #include "GenericFE.h"
7 #include "Identifiable.h"
8 #include "FETypes.h"
9 
10 //Forward declarations
11 class FECoordSys;
12 class FEIsoMaterial;
13 class GenericCompSection;
14 class FEEccentricity;
15 
16 class FETrishell :
17  public GenericFE
18 {
19 public:
20  FETrishell(int id, FENode* n1, FENode* n2, FENode* n3,
21  FEIsoMaterial* mat, GenericCompSection* section, FEVector* vec,
22  FEEccentricity* ecc1, FEEccentricity* ecc2, FEEccentricity* ecc3);
23  ~FETrishell();
24 
25  //---------- Functions -----------
26  virtual std::string getTypeAsString() override;
27  //Inherited from GenericFE
28  bool assignIndependentAttributes(YAML::Node& yamlNode) override;
29  void printAttributes();
30 
31  //----------- Data fields -----------
41 };
42 
Definition: FETrishell.h:16
FETrishell(int id, FENode *n1, FENode *n2, FENode *n3, FEIsoMaterial *mat, GenericCompSection *section, FEVector *vec, FEEccentricity *ecc1, FEEccentricity *ecc2, FEEccentricity *ecc3)
Definition: FETrishell.cpp:6
virtual std::string getTypeAsString() override
Definition: FETrishell.cpp:25
FEEccentricity * pEcc3
Ptr to eccentricity information for node3.
Definition: FETrishell.h:40
This class represents a (normalized) vector used to define element orientation.
Definition: FEVector.h:8
This class represents an isotropic material.
Definition: FEIsoMaterial.h:11
Definition: FENode.h:15
FEIsoMaterial * pMaterial
Ptr to object containing material information.
Definition: FETrishell.h:36
FEEccentricity * pEcc2
Ptr to eccentricity information for node2.
Definition: FETrishell.h:39
This class represents a coordinate system.
Definition: FECoordSys.h:11
GenericCompSection * pCompSection
Ptr to object containing composite sectional data.
Definition: FETrishell.h:35
FENode * pNode2
Ptr to node defining second corner.
Definition: FETrishell.h:33
This class represents a FE eccentricity element.
Definition: FEEccentricity.h:12
bool assignIndependentAttributes(YAML::Node &yamlNode) override
Definition: FETrishell.cpp:27
FEEccentricity * pEcc1
Ptr to eccentricity information for node1.
Definition: FETrishell.h:38
FEVector * pVec
Ptr to vector defining local X-direction.
Definition: FETrishell.h:37
FENode * pNode3
Ptr to node defining third corner.
Definition: FETrishell.h:34
void printAttributes()
Definition: FETrishell.cpp:32
This is the base class for all element classes.
Definition: GenericFE.h:13
~FETrishell()
Definition: FETrishell.cpp:22
This is the base class for all composite section classes (NB: Not to be interchanged with GenericCros...
Definition: GenericCompSection.h:12
FENode * pNode1
Ptr to node defining first corner.
Definition: FETrishell.h:32