gemseo.disciplines.wrappers.filtering_discipline module#
Filtering wrapper.
- class FilteringDiscipline(discipline, input_names=(), output_names=(), keep_in=True, keep_out=True)[source]#
Bases:
DisciplineA class to wrap another Discipline for a subset of inputs and outputs.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
discipline (Discipline) -- The original discipline.
input_names (Iterable[str]) --
The names of the inputs of interest. If empty, use all the inputs.
By default it is set to ().
output_names (Iterable[str]) --
The names of the outputs of interest. If empty, use all the outputs.
By default it is set to ().
keep_in (bool) --
Whether to keep the inputs of interest. Otherwise, remove them.
By default it is set to True.
keep_out (bool) --
Whether to keep the outputs of interest. Otherwise, remove them.
By default it is set to True.
- 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}}.