CoDiPack 2 Update by jblueh · Pull Request #1903 · su2code/SU2
The changes to SU2 are mostly minor. There are some adaptions regarding external functions, due to interface changes from CoDiPack 1 to CoDiPack 2. The callPrimalFuncWithADType is necessary for correct output handling. Passing the external function to it is the intended usage, therefore the encapsulation of the respective code block in a lambda expression. callPrimalFuncWithADType also takes care of the tape activity, which was previously spelled out in SU2.