@@ -132,6 +132,7 @@ class CConfig {
132132 Sens_Remove_Sharp, /* !< \brief Flag for removing or not the sharp edges from the sensitivity computation. */
133133 Hold_GridFixed, /* !< \brief Flag hold fixed some part of the mesh during the deformation. */
134134 Axisymmetric, /* !< \brief Flag for axisymmetric calculations */
135+ Enable_Cuda, /* !< \brief Flag for switching GPU computing*/
135136 Integrated_HeatFlux; /* !< \brief Flag for heat flux BC whether it deals with integrated values.*/
136137 su2double Buffet_k; /* !< \brief Sharpness coefficient for buffet sensor.*/
137138 su2double Buffet_lambda; /* !< \brief Offset parameter for buffet sensor.*/
@@ -590,14 +591,17 @@ class CConfig {
590591 MUSCL_AdjTurb; /* !< \brief MUSCL scheme for the adj turbulence equations.*/
591592 bool MUSCL_Species; /* !< \brief MUSCL scheme for the species equations.*/
592593 bool Use_Accurate_Jacobians; /* !< \brief Use numerically computed Jacobians for AUSM+up(2) and SLAU(2). */
594+ bool Use_Accurate_Turb_Jacobians; /* !< \brief Use numerically computed Jacobians for standard SA turbulence model. */
593595 bool EulerPersson; /* !< \brief Boolean to determine whether this is an Euler simulation with Persson shock capturing. */
594596 bool FSI_Problem = false ,/* !< \brief Boolean to determine whether the simulation is FSI or not. */
595597 Multizone_Problem; /* !< \brief Boolean to determine whether we are solving a multizone problem. */
596598 // bool ContactResistance = false; /*!< \brief Apply contact resistance for conjugate heat transfer. */
597599 unsigned short nID_DV; /* !< \brief ID for the region of FEM when computed using direct differentiation. */
598600
599- bool AD_Mode; /* !< \brief Algorithmic Differentiation support. */
600- bool AD_Preaccumulation; /* !< \brief Enable or disable preaccumulation in the AD mode. */
601+ bool AD_Mode; /* !< \brief Algorithmic Differentiation support. */
602+ bool AD_Preaccumulation; /* !< \brief Enable or disable preaccumulation in the AD mode. */
603+ CHECK_TAPE_TYPE AD_CheckTapeType; /* !< \brief Type of tape that is checked in a tape debug run. */
604+ CHECK_TAPE_VARIABLES AD_CheckTapeVariables; /* !< \brief Type of variables that are checked in a tape debug run. */
601605 STRUCT_COMPRESS Kind_Material_Compress; /* !< \brief Determines if the material is compressible or incompressible (structural analysis). */
602606 STRUCT_MODEL Kind_Material; /* !< \brief Determines the material model to be used (structural analysis). */
603607 STRUCT_DEFORMATION Kind_Struct_Solver; /* !< \brief Determines the geometric condition (small or large deformations) for structural analysis. */
@@ -824,6 +828,7 @@ class CConfig {
824828 SurfSens_FileName, /* !< \brief Output file for the sensitivity on the surface (discrete adjoint). */
825829 VolSens_FileName, /* !< \brief Output file for the sensitivity in the volume (discrete adjoint). */
826830 ObjFunc_Hess_FileName; /* !< \brief Hessian approximation obtained by the Sobolev smoothing solver. */
831+ bool Multizone_Adapt_FileName; /* !< \brief Append zone number to solution and restart file names. */
827832
828833 bool
829834 Wrt_Performance, /* !< \brief Write the performance summary at the end of a calculation. */
@@ -1057,7 +1062,8 @@ class CConfig {
10571062 long ParMETIS_pointWgt; /* !< \brief Load balancing weight given to points. */
10581063 long ParMETIS_edgeWgt; /* !< \brief Load balancing weight given to edges. */
10591064 unsigned short DirectDiff; /* !< \brief Direct Differentation mode. */
1060- bool DiscreteAdjoint; /* !< \brief AD-based discrete adjoint mode. */
1065+ bool DiscreteAdjoint, /* !< \brief AD-based discrete adjoint mode. */
1066+ DiscreteAdjointDebug; /* !< \brief Discrete adjoint debug mode using tags. */
10611067 su2double Const_DES; /* !< \brief Detached Eddy Simulation Constant. */
10621068 WINDOW_FUNCTION Kind_WindowFct; /* !< \brief Type of window (weight) function for objective functional. */
10631069 unsigned short Kind_HybridRANSLES; /* !< \brief Kind of Hybrid RANS/LES. */
@@ -1899,6 +1905,12 @@ class CConfig {
18991905 */
19001906 su2double GetPressure_FreeStreamND (void ) const { return Pressure_FreeStreamND; }
19011907
1908+ /* !
1909+ * \brief Get a reference to the non-dimensionalized freestream pressure (used for AD tracking).
1910+ * \return Reference to non-dimensionalized freestream pressure.
1911+ */
1912+ su2double& GetPressure_FreeStreamND (void ) { return Pressure_FreeStreamND; }
1913+
19021914 /* !
19031915 * \brief Get the value of the thermodynamic pressure.
19041916 * \return Thermodynamic pressure.
@@ -1924,6 +1936,12 @@ class CConfig {
19241936 */
19251937 su2double GetTemperature_FreeStreamND (void ) const { return Temperature_FreeStreamND; }
19261938
1939+ /* !
1940+ * \brief Get a reference to the non-dimensionalized freestream temperature (used for AD tracking).
1941+ * \return Reference to non-dimensionalized freestream temperature.
1942+ */
1943+ su2double& GetTemperature_FreeStreamND (void ) { return Temperature_FreeStreamND; }
1944+
19271945 /* !
19281946 * \brief Get the value of the non-dimensionalized vibrational-electronic freestream temperature.
19291947 * \return Non-dimensionalized vibrational-electronic freestream temperature.
@@ -4520,6 +4538,12 @@ class CConfig {
45204538 */
45214539 bool GetUse_Accurate_Jacobians (void ) const { return Use_Accurate_Jacobians; }
45224540
4541+ /* !
4542+ * \brief Get whether to "Use Accurate Jacobians" for Standard SA turbulence model.
4543+ * \return yes/no.
4544+ */
4545+ bool GetUse_Accurate_Turb_Jacobians (void ) const { return Use_Accurate_Turb_Jacobians; }
4546+
45234547 /* !
45244548 * \brief Get the kind of integration scheme (explicit or implicit)
45254549 * for the flow equations.
@@ -5404,19 +5428,25 @@ class CConfig {
54045428 bool GetWrt_Volume_Overwrite (void ) const { return Wrt_Volume_Overwrite; }
54055429
54065430 /* !
5407- * \brief Provides the number of varaibles.
5431+ * \brief Get whether filenames are appended the zone number automatically (multiphysics solver).
5432+ * \return Flag for appending zone numbers to restart and solution filenames. If Flag=true, zone numer is appended.
5433+ */
5434+ bool GetMultizone_AdaptFilename (void ) const { return Multizone_Adapt_FileName; }
5435+
5436+ /* !
5437+ * \brief Provides the number of variables.
54085438 * \return Number of variables.
54095439 */
54105440 unsigned short GetnVar (void );
54115441
54125442 /* !
5413- * \brief Provides the number of varaibles .
5443+ * \brief Provides the number of variables .
54145444 * \return Number of variables.
54155445 */
54165446 unsigned short GetnZone (void ) const { return nZone; }
54175447
54185448 /* !
5419- * \brief Provides the number of varaibles .
5449+ * \brief Provides the number of variables .
54205450 * \return Number of variables.
54215451 */
54225452 unsigned short GetiZone (void ) const { return iZone; }
@@ -6213,6 +6243,12 @@ class CConfig {
62136243 */
62146244 bool GetAxisymmetric (void ) const { return Axisymmetric; }
62156245
6246+ /* !
6247+ * \brief Get information about GPU support.
6248+ * \return <code>TRUE</code> if cuda is enabled; otherwise <code>FALSE</code>.
6249+ */
6250+ bool GetCUDA (void ) const { return Enable_Cuda; }
6251+
62166252 /* !
62176253 * \brief Subtract one to the index of the finest grid (full multigrid strategy).
62186254 * \return Change the index of the finest grid.
@@ -8793,6 +8829,12 @@ class CConfig {
87938829 */
87948830 bool GetDiscrete_Adjoint (void ) const { return DiscreteAdjoint; }
87958831
8832+ /* !
8833+ * \brief Get the indicator whether a debug run for the discrete adjoint solver will be started.
8834+ * \return the discrete adjoint debug indicator.
8835+ */
8836+ bool GetDiscrete_Adjoint_Debug (void ) const { return DiscreteAdjointDebug; }
8837+
87968838 /* !
87978839 * \brief Get the number of subiterations while a ramp is applied.
87988840 * \return Number of FSI subiters.
@@ -9230,6 +9272,16 @@ class CConfig {
92309272 */
92319273 su2double GetConst_DES (void ) const { return Const_DES; }
92329274
9275+ /* !
9276+ * \brief Get the type of tape that will be checked in a tape debug run.
9277+ */
9278+ CHECK_TAPE_TYPE GetAD_CheckTapeType (void ) const { return AD_CheckTapeType; }
9279+
9280+ /* !
9281+ * \brief Get the type of variables that will be checked for in a tape debug run.
9282+ */
9283+ CHECK_TAPE_VARIABLES GetAD_CheckTapeVariables (void ) const { return AD_CheckTapeVariables; }
9284+
92339285 /* !
92349286 * \brief Get if AD preaccumulation should be performed.
92359287 */
@@ -9619,6 +9671,11 @@ class CConfig {
96199671 */
96209672 unsigned short GetnVolumeOutputFiles () const { return nVolumeOutputFiles; }
96219673
9674+ /* !
9675+ * \brief GetnVolumeOutputFrequencies
9676+ */
9677+ unsigned short GetnVolumeOutputFrequencies () const { return nVolumeOutputFrequencies; }
9678+
96229679 /* !
96239680 * \brief GetVolumeOutputFrequency
96249681 * \param[in] iFile: index of file number for which the writing frequency needs to be returned.
0 commit comments