mda_factory module¶
A factory to instantiate MDA from their class names.
- class gemseo.mda.mda_factory.MDAFactory[source]¶
Bases:
object
MDA factory to create the MDA from a name or a class.
- Return type
None
- create(mda_name, disciplines, **options)[source]¶
Create a MDA.
- Parameters
mda_name (str) – The name of the MDA (its class name).
disciplines (Sequence[gemseo.core.discipline.MDODiscipline]) – The disciplines.
**options (Optional[Union[float, int, bool, str, Iterable[gemseo.core.coupling_structure.MDOCouplingStructure], Sequence[gemseo.mda.mda.MDA]]]) – The options of the MDA.
- Return type