gemseo / mda

mda_factory module

A factory to instantiate MDA from their class names.

Classes:

MDAFactory()

MDA factory to create the MDA from a name or a class.

class gemseo.mda.mda_factory.MDAFactory[source]

Bases: object

MDA factory to create the MDA from a name or a class.

Methods:

create(mda_name, disciplines, **options)

Create a MDA.

is_available(mda_name)

Check the availability of an MDA.

Attributes:

mdas

The names of the available MDAs.

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

The names of the available MDAs.