gemseo / mda

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
Return type

gemseo.mda.mda.MDA

is_available(mda_name)[source]

Check the availability of an MDA.

Parameters

mda_name (str) – The name of the MDA.

Returns

Whether the MDA is available.

Return type

bool

property mdas: list[str]

The names of the available MDAs.