Skip to content

Commit 9cced8e

Browse files
committed
Merge branch 'develop' into misc_fixes
2 parents dc6b77d + 3c783fa commit 9cced8e

158 files changed

Lines changed: 3344 additions & 3017 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/workflows/release-management.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Cache Object Files
32-
uses: actions/cache@v1
32+
uses: actions/cache@v3
3333
with:
3434
path: ccache
3535
key: ${{ matrix.os_bin }}-${{ github.sha }}
@@ -44,7 +44,7 @@ jobs:
4444
zip -r ../${{matrix.os_bin}}.zip bin/*
4545
# Uploads binaries as artifacts (just as a backup)
4646
- name: Upload Binaries
47-
uses: actions/upload-artifact@v1
47+
uses: actions/upload-artifact@v3
4848
with:
4949
name: ${{matrix.os_bin}}
5050
path: ${{matrix.os_bin}}.zip

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ TobiKattmann
126126
Trent Lukaczyk
127127
VivaanKhatri
128128
Wally Maier
129+
Zan Xu
129130
aaronyicongfu
130131
aeroamit
131132
anilvar

Common/doc/docmain.hpp

Lines changed: 0 additions & 91 deletions
This file was deleted.

Common/include/adt/CADTBaseClass.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ using namespace std;
3838

3939
/*!
4040
* \class CADTBaseClass
41+
* \ingroup ADT
4142
* \brief Base class for storing an ADT in an arbitrary number of dimensions.
4243
* \author E. van der Weide
4344
*/

Common/include/adt/CADTComparePointClass.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
/*!
3232
* \class CADTComparePointClass
33+
* \ingroup ADT
3334
* \brief Functor, used for the sorting of the points when building an ADT.
3435
* \author E. van der Weide
3536
*/

Common/include/adt/CADTElemClass.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
/*!
3535
* \class CADTElemClass
36+
* \ingroup ADT
3637
* \brief Class for storing an ADT of (linear) elements in an arbitrary number of dimensions.
3738
* \author E. van der Weide
3839
* \version 7.4.0 "Blackbird"

Common/include/adt/CADTNodeClass.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
/*!
3232
* \class CADTNodeClass
33+
* \ingroup ADT
3334
* \brief Class for storing the information needed in a node of an ADT.
3435
* \author E. van der Weide
3536
*/

Common/include/adt/CADTPointsOnlyClass.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
/*!
3232
* \class CADTPointsOnlyClass
33+
* \ingroup ADT
3334
* \brief Class for storing an ADT of only points in an arbitrary number of dimensions.
3435
* \author E. van der Weide
3536
*/

Common/include/adt/CBBoxTargetClass.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
/*!
3333
* \class CBBoxTargetClass
34+
* \ingroup ADT
3435
* \brief Class for storing the information of a possible bounding box candidate
3536
during a minimum distance search.
3637
* \author E. van der Weide

Common/include/basic_types/datatype_structure.hpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,21 @@ namespace SU2_TYPE {
114114
FORCEINLINE void SetDerivative(su2double &, const passivedouble &) {}
115115
#endif
116116

117+
/*!
118+
* \brief Get the passive value of any variable. For most types return directly,
119+
* specialize for su2double to call GetValue.
120+
* \note This is a struct instead of a function because the return type of the
121+
* su2double specialization changes.
122+
*/
123+
template <class T>
124+
struct Passive {
125+
FORCEINLINE static T Value(const T& val) {return val;}
126+
};
127+
template <>
128+
struct Passive<su2double> {
129+
FORCEINLINE static passivedouble Value(const su2double& val) {return GetValue(val);}
130+
};
131+
117132
/*!
118133
* \brief Casts the primitive value to int (uses GetValue, already implemented for each type).
119134
* \param[in] data - The non-primitive datatype.

0 commit comments

Comments
 (0)