gemseo / problems / scalable / parametric / core

Hide inherited members

scalable_discipline_settings module

Settings of a scalable discipline.

class gemseo.problems.scalable.parametric.core.scalable_discipline_settings.ScalableDisciplineSettings(d_i=1, p_i=1)[source]

Bases: NamedTuple

The configuration of a scalable discipline.

Create new instance of ScalableDisciplineSettings(d_i, p_i)

  • d_i (int) –

    By default it is set to 1.

  • p_i (int) –

    By default it is set to 1.

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

d_i: int

The size of local design variable \(x_i\) specific to this discipline.

p_i: int

The size of the coupling variable \(y_i\) outputted by this discipline.

gemseo.problems.scalable.parametric.core.scalable_discipline_settings.DEFAULT_SCALABLE_DISCIPLINE_SETTINGS = (ScalableDisciplineSettings(d_i=1, p_i=1), ScalableDisciplineSettings(d_i=1, p_i=1))

The default settings of the scalable disciplines used in a scalable problem.

Examples using ScalableDisciplineSettings

Parametric scalable MDO problem - MDF

Parametric scalable MDO problem - MDF