@@ -597,8 +597,10 @@ class CConfig {
597597 // bool ContactResistance = false; /*!< \brief Apply contact resistance for conjugate heat transfer. */
598598 unsigned short nID_DV; /* !< \brief ID for the region of FEM when computed using direct differentiation. */
599599
600- bool AD_Mode; /* !< \brief Algorithmic Differentiation support. */
601- bool AD_Preaccumulation; /* !< \brief Enable or disable preaccumulation in the AD mode. */
600+ bool AD_Mode; /* !< \brief Algorithmic Differentiation support. */
601+ bool AD_Preaccumulation; /* !< \brief Enable or disable preaccumulation in the AD mode. */
602+ CHECK_TAPE_TYPE AD_CheckTapeType; /* !< \brief Type of tape that is checked in a tape debug run. */
603+ CHECK_TAPE_VARIABLES AD_CheckTapeVariables; /* !< \brief Type of variables that are checked in a tape debug run. */
602604 STRUCT_COMPRESS Kind_Material_Compress; /* !< \brief Determines if the material is compressible or incompressible (structural analysis). */
603605 STRUCT_MODEL Kind_Material; /* !< \brief Determines the material model to be used (structural analysis). */
604606 STRUCT_DEFORMATION Kind_Struct_Solver; /* !< \brief Determines the geometric condition (small or large deformations) for structural analysis. */
@@ -822,6 +824,7 @@ class CConfig {
822824 SurfSens_FileName, /* !< \brief Output file for the sensitivity on the surface (discrete adjoint). */
823825 VolSens_FileName, /* !< \brief Output file for the sensitivity in the volume (discrete adjoint). */
824826 ObjFunc_Hess_FileName; /* !< \brief Hessian approximation obtained by the Sobolev smoothing solver. */
827+ bool Multizone_Adapt_FileName; /* !< \brief Append zone number to solution and restart file names. */
825828
826829 bool
827830 Wrt_Performance, /* !< \brief Write the performance summary at the end of a calculation. */
@@ -1056,7 +1059,8 @@ class CConfig {
10561059 long ParMETIS_pointWgt; /* !< \brief Load balancing weight given to points. */
10571060 long ParMETIS_edgeWgt; /* !< \brief Load balancing weight given to edges. */
10581061 unsigned short DirectDiff; /* !< \brief Direct Differentation mode. */
1059- bool DiscreteAdjoint; /* !< \brief AD-based discrete adjoint mode. */
1062+ bool DiscreteAdjoint, /* !< \brief AD-based discrete adjoint mode. */
1063+ DiscreteAdjointDebug; /* !< \brief Discrete adjoint debug mode using tags. */
10601064 su2double Const_DES; /* !< \brief Detached Eddy Simulation Constant. */
10611065 WINDOW_FUNCTION Kind_WindowFct; /* !< \brief Type of window (weight) function for objective functional. */
10621066 unsigned short Kind_HybridRANSLES; /* !< \brief Kind of Hybrid RANS/LES. */
@@ -1898,6 +1902,12 @@ class CConfig {
18981902 */
18991903 su2double GetPressure_FreeStreamND (void ) const { return Pressure_FreeStreamND; }
19001904
1905+ /* !
1906+ * \brief Get a reference to the non-dimensionalized freestream pressure (used for AD tracking).
1907+ * \return Reference to non-dimensionalized freestream pressure.
1908+ */
1909+ su2double& GetPressure_FreeStreamND (void ) { return Pressure_FreeStreamND; }
1910+
19011911 /* !
19021912 * \brief Get the value of the thermodynamic pressure.
19031913 * \return Thermodynamic pressure.
@@ -1929,6 +1939,12 @@ class CConfig {
19291939 */
19301940 su2double GetTemperature_FreeStreamND (void ) const { return Temperature_FreeStreamND; }
19311941
1942+ /* !
1943+ * \brief Get a reference to the non-dimensionalized freestream temperature (used for AD tracking).
1944+ * \return Reference to non-dimensionalized freestream temperature.
1945+ */
1946+ su2double& GetTemperature_FreeStreamND (void ) { return Temperature_FreeStreamND; }
1947+
19321948 /* !
19331949 * \brief Get the value of the non-dimensionalized vibrational-electronic freestream temperature.
19341950 * \return Non-dimensionalized vibrational-electronic freestream temperature.
@@ -5391,19 +5407,25 @@ class CConfig {
53915407 bool GetWrt_Volume_Overwrite (void ) const { return Wrt_Volume_Overwrite; }
53925408
53935409 /* !
5394- * \brief Provides the number of varaibles.
5410+ * \brief Get whether filenames are appended the zone number automatically (multiphysics solver).
5411+ * \return Flag for appending zone numbers to restart and solution filenames. If Flag=true, zone numer is appended.
5412+ */
5413+ bool GetMultizone_AdaptFilename (void ) const { return Multizone_Adapt_FileName; }
5414+
5415+ /* !
5416+ * \brief Provides the number of variables.
53955417 * \return Number of variables.
53965418 */
53975419 unsigned short GetnVar (void );
53985420
53995421 /* !
5400- * \brief Provides the number of varaibles .
5422+ * \brief Provides the number of variables .
54015423 * \return Number of variables.
54025424 */
54035425 unsigned short GetnZone (void ) const { return nZone; }
54045426
54055427 /* !
5406- * \brief Provides the number of varaibles .
5428+ * \brief Provides the number of variables .
54075429 * \return Number of variables.
54085430 */
54095431 unsigned short GetiZone (void ) const { return iZone; }
@@ -8786,6 +8808,12 @@ class CConfig {
87868808 */
87878809 bool GetDiscrete_Adjoint (void ) const { return DiscreteAdjoint; }
87888810
8811+ /* !
8812+ * \brief Get the indicator whether a debug run for the discrete adjoint solver will be started.
8813+ * \return the discrete adjoint debug indicator.
8814+ */
8815+ bool GetDiscrete_Adjoint_Debug (void ) const { return DiscreteAdjointDebug; }
8816+
87898817 /* !
87908818 * \brief Get the number of subiterations while a ramp is applied.
87918819 * \return Number of FSI subiters.
@@ -9223,6 +9251,16 @@ class CConfig {
92239251 */
92249252 su2double GetConst_DES (void ) const { return Const_DES; }
92259253
9254+ /* !
9255+ * \brief Get the type of tape that will be checked in a tape debug run.
9256+ */
9257+ CHECK_TAPE_TYPE GetAD_CheckTapeType (void ) const { return AD_CheckTapeType; }
9258+
9259+ /* !
9260+ * \brief Get the type of variables that will be checked for in a tape debug run.
9261+ */
9262+ CHECK_TAPE_VARIABLES GetAD_CheckTapeVariables (void ) const { return AD_CheckTapeVariables; }
9263+
92269264 /* !
92279265 * \brief Get if AD preaccumulation should be performed.
92289266 */
@@ -9612,6 +9650,11 @@ class CConfig {
96129650 */
96139651 unsigned short GetnVolumeOutputFiles () const { return nVolumeOutputFiles; }
96149652
9653+ /* !
9654+ * \brief GetnVolumeOutputFrequencies
9655+ */
9656+ unsigned short GetnVolumeOutputFrequencies () const { return nVolumeOutputFrequencies; }
9657+
96159658 /* !
96169659 * \brief GetVolumeOutputFrequency
96179660 * \param[in] iFile: index of file number for which the writing frequency needs to be returned.
0 commit comments