gemseo_umdo / use_cases / beam_model

Show inherited members

discipline module

The discipline for the beam use case.

class gemseo_umdo.use_cases.beam_model.discipline.Beam(n_y=3, n_z=3)[source]

Bases: MDODiscipline

The beam discipline.

See also

BeamModel for more information about the beam model.

Initialize self. See help(type(self)) for accurate signature.

Parameters:
  • n_y (int) –

    The number of discretization points in the y-direction.

    By default it is set to 3.

  • n_z (int) –

    The number of discretization points in the z-direction.

    By default it is set to 3.

cache: AbstractCache | None

The cache containing one or several executions of the discipline according to the cache policy.

data_processor: DataProcessor

A tool to pre- and post-process discipline data.

exec_for_lin: bool

Whether the last execution was due to a linearization.

input_grammar: BaseGrammar

The input grammar.

jac: dict[str, dict[str, ndarray]]

The Jacobians of the outputs wrt inputs.

The structure is {output: {input: matrix}}.

name: str

The name of the discipline.

output_grammar: BaseGrammar

The output grammar.

re_exec_policy: ReExecutionPolicy

The policy to re-execute the same discipline.

residual_variables: Mapping[str, str]

The output variables mapping to their inputs, to be considered as residuals; they shall be equal to zero.

run_solves_residuals: bool

Whether the run method shall solve the residuals.