YAMLParser
|
This class represents the entire FE structure in which the FE data instances are members. The FE data types are grouped and stored in a list and a map for each data instance. More...
#include <Structure.h>
Public Attributes | |
int | structureID |
Identifier for the structure. More... | |
std::vector< FECoordSys * > | coordSysList |
List of ptrs to coordSys instances. More... | |
std::map< int, FECoordSys * > | coordSysMap |
Map from ID to corresponding coordSys instance ptr. More... | |
std::vector< GenericCrossSection * > | crossSectionList |
List of ptrs to cross-section instances. More... | |
std::map< int, GenericCrossSection * > | crossSectionMap |
Map from ID to corresponding cross-section instance. More... | |
std::vector< GenericCompSection * > | compSectionList |
List of ptrs to composite section instances. More... | |
std::map< int, GenericCompSection * > | compSectionMap |
Map from ID to corresponding composite section instance. More... | |
std::vector< GenericMaterial * > | materialList |
List of ptrs to material instances. More... | |
std::map< int, GenericMaterial * > | materialMap |
Map from ID to corresponding material instance ptr. More... | |
std::vector< FENode * > | nodeList |
List of ptrs to nodes. More... | |
std::map< int, FENode * > | nodeMap |
Map from ID to corresponding node instance ptr. More... | |
std::vector< GenericFE * > | elementList |
List of ptrs to Identifiables (used to generalize FE elements) More... | |
std::map< int, GenericFE * > | elementMap |
Map from ID to corresponding Identifiable ptr for a specific FE element. More... | |
std::vector< FENodeLoad * > | nodeLoadList |
List of ptrs to node load instances. More... | |
std::map< int, FENodeLoad * > | nodeLoadMap |
Map from ID to corresponding node load instance ptr. More... | |
std::vector< FELoadComb * > | loadCombList |
List of ptrs to load combination instances. More... | |
std::map< int, FELoadComb * > | loadCombMap |
Map from ID to corresponding load combination instance ptr. More... | |
This class represents the entire FE structure in which the FE data instances are members. The FE data types are grouped and stored in a list and a map for each data instance.
checkElementExistence traverses a list. The check should be performed wrt. a map ( list search = O(n) / map search = (Olog(n)) )
fetchObject traveses a list. It should rather obtain the value from the corresponding map (list search = O(n) / map search = (O(log(n)) ).
Structure::Structure | ( | int | structureID | ) |
Structure::~Structure | ( | ) |
bool Structure::addCompSection | ( | GenericCompSection * | section | ) |
Add a new section instance to the corresponding map and vector containers
bool Structure::addCoordSys | ( | FECoordSys * | coordSys | ) |
Add a new coordinate system instance to the corresponding map and vector containers
bool Structure::addCrossSection | ( | GenericCrossSection * | crossSection | ) |
Add a new cross-section instance to the corresponding map and vector containers
bool Structure::addElement | ( | GenericFE * | element | ) |
Add a new FE element instance to the corresponding map and vector containers
bool Structure::addLoadComb | ( | FELoadComb * | loadComb | ) |
Add a new load combination instance to the corresponding map and vector containers
bool Structure::addMaterial | ( | GenericMaterial * | material | ) |
Add a new material instance to the corresponding map and vector containers
bool Structure::addNode | ( | FENode * | node | ) |
Add a new node instance to the corresponding map and vector containers
bool Structure::addNodeLoad | ( | FENodeLoad * | nodeLoad | ) |
Add a new node load instance to the corresponding map and vector containers
bool Structure::checkCompSectionExistence | ( | int | id | ) |
Check if a specific section instance exists in the structure
bool Structure::checkCoordSysExistence | ( | int | id | ) |
Check if a specific coordinate system instance exists in the structure
bool Structure::checkCrossSectionExistence | ( | int | id, |
std::string & | type | ||
) |
Check if a specific cross-section instance exists in the structure
bool Structure::checkElementExistence | ( | int | id, |
std::string | type | ||
) |
Check if a specific FE element instance exists in the structure
bool Structure::checkLoadCombExistence | ( | int | id | ) |
Check if a specific load combination instance exists in the structure
bool Structure::checkMaterialExistence | ( | int | id | ) |
Check if a specific material instance exists in the structure
bool Structure::checkNodeExistence | ( | int | id | ) |
Check if a specific node instance exists in the structure
bool Structure::checkNodeLoadExistence | ( | int | id | ) |
Check if a specific node load instance exists in the structure
GenericCompSection * Structure::fetchCompSection | ( | int | id | ) |
Fetch a specific section instance
FECoordSys * Structure::fetchCoordSys | ( | int | id | ) |
Fetch a specific coordinate system instance
GenericCrossSection * Structure::fetchCrossSection | ( | int | id | ) |
Fetch a specific cross-section instance
FELoadComb * Structure::fetchLoadComb | ( | int | id | ) |
Fetch a specific load combination instance
GenericMaterial * Structure::fetchMaterial | ( | int | id | ) |
Fetch a specific material instance
FENode * Structure::fetchNode | ( | int | id | ) |
Fetch a specific node instance
FENodeLoad * Structure::fetchNodeLoad | ( | int | id | ) |
Fetch a specific node load instance
GenericFE * Structure::fetchObject | ( | int | id, |
std::string | type | ||
) |
Fetch a specific FE element instance instance
void Structure::printData | ( | ) |
std::vector<GenericCompSection*> Structure::compSectionList |
List of ptrs to composite section instances.
std::map<int, GenericCompSection*> Structure::compSectionMap |
Map from ID to corresponding composite section instance.
std::vector<FECoordSys*> Structure::coordSysList |
List of ptrs to coordSys instances.
std::map<int, FECoordSys*> Structure::coordSysMap |
Map from ID to corresponding coordSys instance ptr.
std::vector<GenericCrossSection*> Structure::crossSectionList |
List of ptrs to cross-section instances.
std::map<int, GenericCrossSection*> Structure::crossSectionMap |
Map from ID to corresponding cross-section instance.
std::vector<GenericFE*> Structure::elementList |
List of ptrs to Identifiables (used to generalize FE elements)
std::map<int, GenericFE*> Structure::elementMap |
Map from ID to corresponding Identifiable ptr for a specific FE element.
std::vector<FELoadComb*> Structure::loadCombList |
List of ptrs to load combination instances.
std::map<int, FELoadComb*> Structure::loadCombMap |
Map from ID to corresponding load combination instance ptr.
std::vector<GenericMaterial*> Structure::materialList |
List of ptrs to material instances.
std::map<int, GenericMaterial*> Structure::materialMap |
Map from ID to corresponding material instance ptr.
std::vector<FENode*> Structure::nodeList |
List of ptrs to nodes.
std::vector<FENodeLoad*> Structure::nodeLoadList |
List of ptrs to node load instances.
std::map<int, FENodeLoad*> Structure::nodeLoadMap |
Map from ID to corresponding node load instance ptr.
std::map<int, FENode*> Structure::nodeMap |
Map from ID to corresponding node instance ptr.
int Structure::structureID |
Identifier for the structure.