You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/Advanced-AD-Techniques.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ we can build an internal representation of each expression to directly compute a
25
25
The picture below shows the computational graph for the expression `φ=cos(v1)v2` and the compile-time representation as object with `su2double` being the general datatype used throughout SU2.
This object can be traversed to compute and store the partial derivatives `∂φ/∂v1=cos(v1)` and `∂φ/∂v2=-sin(v1)v2` based on the derivatives of each involved unary or binary operation. If recording is enabled the traversal of the computational graph of each
28
+
This object can be traversed to compute and store the partial derivatives `∂φ/∂v1=-sin(v1)v2` and `∂φ/∂v2=cos(v1)` based on the derivatives of each involved unary or binary operation. If recording is enabled the traversal of the computational graph of each
29
29
expression is started as soon as it occurs on the right-hand side in a statement. Note that the partial derivatives are only stored if the corresponding argument has some dependency on the input variables set by the user. This kind of dependency or
30
30
activity tracking is relatively easy to accomplish since every variable stores an index along with its value. A
31
31
zero index represents passive variables while a non-zero index identifies active variables. This index will be
@@ -35,7 +35,7 @@ as an argument.
35
35
### AD Tool Wrapper
36
36
37
37
The CoDi library provides a special datatype and is automatically included
38
-
during the compilation if AD support is requested by the user (see [[AD Build]]) . For developers of SU2 there is no need to deal
38
+
during the compilation if AD support is requested by the user (see the build instructions for further information). For developers of SU2 there is no need to deal
39
39
with this library explicitly which is why there are simple wrapper routines for the most important features
0 commit comments