4.1.1.7.1.3. pyfem.models.ModelManager module
- class ModelManager(props: Any, globdat: Any)[source]
Bases:
objectManager for multiple model instances in PyFEM simulations.
Dynamically loads and coordinates multiple models based on the input file configuration. Handles model instantiation, property assignment, and orchestrates the execution of all active models during the simulation.
- takeAction(action: str, props: Any, globdat: Any) None[source]
Execute the method named by the string ‘action’ on all active models, if it exists.
- Parameters:
action (str) – Name of the method to call on each model (as a string).
mbuilder – MatrixBuilder instance to pass as argument.
props (Any) – Global properties object passed to the model method.
globdat (Any) – Global data structure containing nodes, elements, dofs, and state vectors.