pyHarm.Elements.FactoryElements¶
This module is the factory of the ABCElement excluding the Substructure kind.
- pyHarm.Elements.FactoryElements.L_Elem¶
List of available ABCElement subclasses available for creation.
- Type:
list[ABCElement]
- pyHarm.Elements.FactoryElements.ElementDictionary¶
Dictionary of available ABCElement as values and their factory_keyword as key.
- Type:
dict[str, ABCElement]
Attributes¶
List of available ABCElement subclasses available for creation. |
|
Dictionary of available ABCElement as values and their factory_keyword as key. |
Functions¶
|
Factory function that creates an ABCElement object. |
Module Contents¶
- pyHarm.Elements.FactoryElements.L_Elem¶
List of available ABCElement subclasses available for creation.
- Type:
list[ABCElement]
- pyHarm.Elements.FactoryElements.ElementDictionary¶
Dictionary of available ABCElement as values and their factory_keyword as key.
- Type:
dict[str, ABCElement]
- pyHarm.Elements.FactoryElements.generateElement(nh: int | list[int], nti: int, name: str, data: dict, dict_CS: dict[str, pyHarm.CoordinateSystem.CoordinateSystem], dynop: dict[str, numpy.ndarray] | None = None) pyHarm.Elements.ABCElement.ABCElement¶
Factory function that creates an ABCElement object.
- Parameters:
nh (int) – number of harmonics.
nti (int) – number of time steps.
name (str) – type of kinematic condition to instantiate.
data (dict) – dictionary containing the definition of the element.
dict_CS (dict[str,CoordinateSystem]) – dictionary containing all the local and global coordinate systems.
- Returns:
Instance of the required ABCElement class.
- Return type: