pyHarm.Maestro¶
Classes¶
Class that reads and launches the pyHarm analysis contained in the provided input file. |
Module Contents¶
- class pyHarm.Maestro.Maestro(idata: dict)¶
Class that reads and launches the pyHarm analysis contained in the provided input file.
The class is in charge of reading the input file and build the system and the analysis that are requested by the input file. The class is in charge of loading the plugins beforehand if some plugins are requested by the input file. When operated, the class runs a loop over the analysis required and solve them.
- Parameters:
idata (dict) – input dictionary describing all the necessary component (analysis, system composition).
- default¶
- inputData¶
- system¶
- nls¶
- operate(x0=None, **kwargs)¶
Loops over the analysis and runs the Solve method associated with the analysis.
- Parameters:
x0 (None | np.ndarray | str) – initial point from which running the analysis.
kwargs – additional keyword arguments.
- getIndex(sub: str, node: int, dir_num: int) numpy.ndarray¶
From a substructure name, a node number, and a direction; returns the index of the required dof into the explicit dof vector of the system.
- Parameters:
sub (str) – name of the substructure.
node (int) – node number.
dir_num (int) – direction number.
- Returns :
np.ndarray : sorted array of the dof index associated with the input in the explicit dof DataFrame of the system.