Skip to content

Commit c59ed24

Browse files
authored
Merge branch 'develop' into feature_improved_cauchy_convergence
2 parents 0e3c09d + fa910a0 commit c59ed24

953 files changed

Lines changed: 2161 additions & 2109 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ assignees: ''
77

88
---
99

10-
**Describe the bug**
11-
*A clear and concise description of what the bug is and what you expect the behavior to be instead. If applicable, add screenshots to help explain your problem.*
10+
*If this is a general question or difficulty building/using the code, please open a "Discussion" instead.*
1211

12+
**Describe the bug**
13+
*Give a clear and concise description of what the bug is and what you expect the behavior to be instead. Please provide enough instructions and data for a developer to reproduce the problem (config, mesh, commands, etc.). Please provide the smallest working example that reproduces the problem.*
1314

1415

15-
**To Reproduce**
16-
*Please provide a config file and mesh for a minimal example that recreates the problem.*
16+
**Bug report checklist**
17+
*Please make sure that you have followed the checklist below, many common problems can be solved by:*
1718

19+
- [ ] Consulting the build instructions (https://su2code.github.io/docs_v7/Build-SU2-Linux-MacOS/).
20+
- [ ] Looking for similar problems on GitHub or CFD-Online (https://www.cfd-online.com/Forums/su2/).
21+
- [ ] Updating to the newest version of SU2 (either develop, master, or the pre-built executables https://su2code.github.io/download.html).
1822

1923

2024
**Desktop (please complete the following information):**

.github/pull_request_template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.*
1313

1414
- [ ] I am submitting my contribution to the develop branch.
15-
- [ ] My contribution generates no new compiler warnings (try with the '-Wall -Wextra -Wno-unused-parameter -Wno-empty-body' compiler flags, or simply --warnlevel=2 when using meson).
16-
- [ ] My contribution is commented and consistent with SU2 style.
15+
- [ ] My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
16+
- [ ] My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
1717
- [ ] I have added a test case that demonstrates my contribution, if necessary.
18-
- [ ] I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp) , if necessary.
18+
- [ ] I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.

.github/workflows/regression.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- config_set: ForwardNoMPI
3232
flags: '-Denable-directdiff=true -Denable-normal=false -Dwith-mpi=disabled -Denable-tests=true --warnlevel=3 --werror'
3333
- config_set: BaseOMP
34-
flags: '-Dwith-omp=true -Denable-mixedprec=true -Denable-tecio=false --warnlevel=3 --werror'
34+
flags: '-Dwith-omp=true -Denable-mixedprec=true -Denable-pywrapper=true -Denable-tecio=false --warnlevel=3 --werror'
3535
- config_set: ReverseOMP
3636
flags: '-Denable-autodiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-tecio=false --warnlevel=3 --werror'
3737
- config_set: ForwardOMP

Common/doc/docmain.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* \file docmain.hpp
33
* \brief This file contains documentation for Doxygen and does not have any significance with respect to C++.
44
* \author F. Palacios
5-
* \version 7.3.0 "Blackbird"
5+
* \version 7.3.1 "Blackbird"
66
*
77
* SU2 Project Website: https://su2code.github.io
88
*
@@ -26,7 +26,7 @@
2626
*/
2727

2828
/*!
29-
* \mainpage SU2 version 7.3.0 "Blackbird"
29+
* \mainpage SU2 version 7.3.1 "Blackbird"
3030
* SU2 suite is an open-source collection of C++ based software tools
3131
* to perform PDE analysis and PDE constrained optimization problems. The toolset is designed with
3232
* computational fluid dynamics and aerodynamic shape optimization in mind, but is extensible to

Common/include/CConfig.hpp

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* \brief All the information about the definition of the physical problem.
44
* The subroutines and functions are in the <i>CConfig.cpp</i> file.
55
* \author F. Palacios, T. Economon, B. Tracey
6-
* \version 7.3.0 "Blackbird"
6+
* \version 7.3.1 "Blackbird"
77
*
88
* SU2 Project Website: https://su2code.github.io
99
*
@@ -387,10 +387,6 @@ class CConfig {
387387
su2double **Periodic_RotCenter; /*!< \brief Rotational center for each periodic boundary. */
388388
su2double **Periodic_RotAngles; /*!< \brief Rotation angles for each periodic boundary. */
389389
su2double **Periodic_Translation; /*!< \brief Translation vector for each periodic boundary. */
390-
unsigned short nPeriodic_Index; /*!< \brief Number of SEND_RECEIVE periodic transformations. */
391-
su2double **Periodic_Center; /*!< \brief Rotational center for each SEND_RECEIVE boundary. */
392-
su2double **Periodic_Rotation; /*!< \brief Rotation angles for each SEND_RECEIVE boundary. */
393-
su2double **Periodic_Translate; /*!< \brief Translation vector for each SEND_RECEIVE boundary. */
394390
string *Marker_CfgFile_TagBound; /*!< \brief Global index for markers using config file. */
395391
unsigned short *Marker_All_KindBC, /*!< \brief Global index for boundaries using grid information. */
396392
*Marker_CfgFile_KindBC; /*!< \brief Global index for boundaries using config file. */
@@ -1123,9 +1119,10 @@ class CConfig {
11231119

11241120
unsigned long HistoryWrtFreq[3], /*!< \brief Array containing history writing frequencies for timer iter, outer iter, inner iter */
11251121
ScreenWrtFreq[3]; /*!< \brief Array containing screen writing frequencies for timer iter, outer iter, inner iter */
1126-
unsigned long VolumeWrtFreq; /*!< \brief Writing frequency for solution files. */
11271122
OUTPUT_TYPE* VolumeOutputFiles; /*!< \brief File formats to output */
1128-
unsigned short nVolumeOutputFiles; /*!< \brief Number of File formats to output */
1123+
unsigned short nVolumeOutputFiles=0;/*!< \brief Number of File formats to output */
1124+
unsigned short nVolumeOutputFrequencies; /*!< \brief Number of frequencies for the volume outputs */
1125+
unsigned long *VolumeOutputFrequencies; /*!< \brief list containing the writing frequencies */
11291126

11301127
bool Multizone_Mesh; /*!< \brief Determines if the mesh contains multiple zones. */
11311128
bool SinglezoneDriver; /*!< \brief Determines if the single-zone driver is used. (TEMPORARY) */
@@ -1260,6 +1257,8 @@ class CConfig {
12601257

12611258
void addUShortListOption(const string name, unsigned short & size, unsigned short * & option_field);
12621259

1260+
void addULongListOption(const string name, unsigned short & size, unsigned long * & option_field);
1261+
12631262
void addStringListOption(const string name, unsigned short & num_marker, string* & option_field);
12641263

12651264
void addConvectOption(const string name, unsigned short & space_field, unsigned short & centered_field, unsigned short & upwind_field);
@@ -6602,13 +6601,6 @@ class CConfig {
66026601
*/
66036602
const su2double* GetInlet_Velocity(string val_index) const;
66046603

6605-
/*!
6606-
* \brief Get the mass fraction vector at a supersonic inlet boundary.
6607-
* \param[in] val_index - Index corresponding to the inlet boundary.
6608-
* \return The inlet mass fraction vector - NEMO only.
6609-
*/
6610-
const su2double* GetInlet_MassFrac(string val_index) const;
6611-
66126604
/*!
66136605
* \brief Get the total pressure at an inlet boundary.
66146606
* \param[in] val_index - Index corresponding to the inlet boundary.
@@ -6638,8 +6630,8 @@ class CConfig {
66386630
su2double GetExhaust_Pressure_Target(string val_index) const;
66396631

66406632
/*!
6641-
* \brief Value of the CFL reduction in LevelSet problems.
6642-
* \return Value of the CFL reduction in LevelSet problems.
6633+
* \brief Value of the CFL reduction in turbulence problems.
6634+
* \return Value of the CFL reduction in turbulence problems.
66436635
*/
66446636
su2double GetCFLRedCoeff_Turb(void) const { return CFLRedCoeff_Turb; }
66456637

@@ -8137,11 +8129,6 @@ class CConfig {
81378129
*/
81388130
void SetConfig_Options();
81398131

8140-
/*!
8141-
* \brief Set the config options.
8142-
*/
8143-
void SetRunTime_Options(void);
8144-
81458132
/*!
81468133
* \brief Set the config file parsing.
81478134
*/
@@ -9454,11 +9441,6 @@ class CConfig {
94549441
*/
94559442
void SetScreen_Wrt_Freq(unsigned short iter, unsigned long nIter) { ScreenWrtFreq[iter] = nIter; }
94569443

9457-
/*!
9458-
* \brief GetScreen_Wrt_Freq_Inner
9459-
*/
9460-
unsigned long GetVolume_Wrt_Freq() const { return VolumeWrtFreq; }
9461-
94629444
/*!
94639445
* \brief GetVolumeOutputFiles
94649446
*/
@@ -9469,6 +9451,12 @@ class CConfig {
94699451
*/
94709452
unsigned short GetnVolumeOutputFiles() const { return nVolumeOutputFiles; }
94719453

9454+
/*!
9455+
* \brief GetVolumeOutputFrequency
9456+
* \param[in] iFile: index of file number for which the writing frequency needs to be returned.
9457+
*/
9458+
unsigned long GetVolumeOutputFrequency(unsigned short iFile) const { return VolumeOutputFrequencies[iFile]; }
9459+
94729460
/*!
94739461
* \brief Get the desired factorization frequency for PaStiX
94749462
* \return Number of calls to 'Build' that trigger re-factorization.

Common/include/adt/CADTBaseClass.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* \file CADTBaseClass.hpp
33
* \brief Base class for storing an ADT in an arbitrary number of dimensions.
44
* \author E. van der Weide
5-
* \version 7.3.0 "Blackbird"
5+
* \version 7.3.1 "Blackbird"
66
*
77
* SU2 Project Website: https://su2code.github.io
88
*

Common/include/adt/CADTComparePointClass.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* \file CADTComparePointClass.hpp
33
* \brief subroutines for comparing two points in an alternating digital tree (ADT).
44
* \author E. van der Weide
5-
* \version 7.3.0 "Blackbird"
5+
* \version 7.3.1 "Blackbird"
66
*
77
* SU2 Project Website: https://su2code.github.io
88
*

Common/include/adt/CADTElemClass.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* \file CADTElemClass.hpp
33
* \brief Class for storing an ADT of (linear) elements in an arbitrary number of dimensions.
44
* \author E. van der Weide
5-
* \version 7.3.0 "Blackbird"
5+
* \version 7.3.1 "Blackbird"
66
*
77
* SU2 Project Website: https://su2code.github.io
88
*
@@ -35,7 +35,7 @@
3535
* \class CADTElemClass
3636
* \brief Class for storing an ADT of (linear) elements in an arbitrary number of dimensions.
3737
* \author E. van der Weide
38-
* \version 7.3.0 "Blackbird"
38+
* \version 7.3.1 "Blackbird"
3939
*/
4040
class CADTElemClass : public CADTBaseClass {
4141
private:
@@ -97,7 +97,7 @@ class CADTElemClass : public CADTBaseClass {
9797
* \param[out] rankID Rank on which element containing the coordinate is stored.
9898
* \param[out] parCoor Parametric coordinates of coor inside the element,
9999
which contains the coordinate.
100-
* \param[out] weightsInterpol Interpolation weigts of of coor inside the element,
100+
* \param[out] weightsInterpol Interpolation weights of coor inside the element,
101101
which contains the coordinate.
102102
* \return True if an element is found, false if not.
103103
*/

Common/include/adt/CADTNodeClass.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* \file CADTNodeClass.hpp
33
* \brief Class for storing the information needed in a node of an ADT.
44
* \author E. van der Weide
5-
* \version 7.3.0 "Blackbird"
5+
* \version 7.3.1 "Blackbird"
66
*
77
* SU2 Project Website: https://su2code.github.io
88
*

Common/include/adt/CADTPointsOnlyClass.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* \file CADTPointsOnlyClass.hpp
33
* \brief Class for storing an ADT of only points in an arbitrary number of dimensions.
44
* \author E. van der Weide
5-
* \version 7.3.0 "Blackbird"
5+
* \version 7.3.1 "Blackbird"
66
*
77
* SU2 Project Website: https://su2code.github.io
88
*

0 commit comments

Comments
 (0)