gemseo.utils.discipline module#

Discipline utilities.

class DummyDiscipline(name='', input_names=(), output_names=())[source]#

Bases: Discipline

A dummy discipline that does nothing.

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

Parameters:
  • name (str) --

    The name of the discipline. If empty, use the name of the class.

    By default it is set to "".

  • input_names (Iterable[str]) --

    The names of the input variables, if any.

    By default it is set to ().

  • output_names (Iterable[str]) --

    The names of the output variables, if any.

    By default it is set to ().

cache: BaseCache | None#

The execution and linearization data saved according to the cache type.

execution_statistics: ExecutionStatistics#

The execution statistics of the process.

execution_status: ExecutionStatus#

The execution status of the process.

jac: JacobianData#

The Jacobian matrices of the outputs.

The structure is {output_name: {input_name: jacobian_matrix}}.

name: str#

The name of the process.