Disciplines#
Fundamentals of disciplines#
A discipline computes output data from input data.
Compute the Jacobian of a discipline with analytical and approximated elements
Compute the Jacobian of a discipline with analytical and approximated elements
Compute the Jacobian of a discipline with finite differences
Compute the Jacobian of a discipline with finite differences
Grammars for inputs and outputs#
A grammar defines a set of variables from names and possibly types and default values.
Different types of disciplines#
A few examples of templates to help you build your discipline faster.
Changing input and output names#
Sometimes you want to rename a discipline input or output variable,
e.g. "a" to "x".
This is renaming.
Sometimes you want to rename some components of a discipline input or output variable,
e.g. the first component of "a" to "x"
and the other components to "y".
This is remapping.
This section proposes examples for each case.