gemseo.utils.path_discipline module#

A dummy discipline for tests.

class PathDiscipline(tmp_path)[source]#

Bases: Discipline

A toy discipline that takes Path as input and stores a Path attribute.

Constructor.

Parameters:

tmp_path (Path) -- any path.

cache: BaseCache | None#

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

default_grammar_type: ClassVar[_GrammarType] = 'SimpleGrammar'#

The default type of grammar.

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.