Skip to content

Commit ad8b7ff

Browse files
author
Nicola-Fonzi
committed
Merge branch 'develop' into publish
2 parents 60212d1 + cea9862 commit ad8b7ff

101 files changed

Lines changed: 3921 additions & 3563 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.

AUTHORS.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ Juan J. Alonso (Stanford University)
1515
The SU2 project is maintained by members of the SU2 Foundation (https://su2foundation.org)
1616

1717
```
18-
Thomas D. Economon - Executive Director - tom@su2foundation.org
19-
Ruben Sanchez - User Director - ruben@su2foundation.org
20-
Tim Albring - Developer Director - tim@su2foundation.org
21-
Juan J. Alonso - Academic Director - juan@su2foundation.org
22-
Eran Arad - Industry Director - eran@su2foundation.org
18+
Thomas D. Economon - Executive Director - tom@su2foundation.org
19+
Tim Albring - Director - tim@su2foundation.org
20+
Juan J. Alonso - Director - juan@su2foundation.org
21+
Eran Arad - Director - eran@su2foundation.org
22+
Piero Colonna - Director - piero@su2foundation.org
23+
Pedro Gomes - Director - pedro@su2foundation.org
24+
Daniel Mayer - Director - daniel@su2foundation.org
2325
```
2426

2527
in collaboration with the following main contributors and research teams:
@@ -63,17 +65,20 @@ Clark Pederson
6365
Daumantas Kavolis
6466
Dave Taflin
6567
Eduardo Molina
68+
Edwin van der Weide
6669
Ethan Alan Hereth
6770
Florian Dittmann
6871
Francisco D. Palacios
6972
Gaurav Bansal
73+
Giacomo Baldan
7074
Giulio Gori
7175
Guillaume Bâty
7276
Harichand M V
7377
HL Kline
7478
IndianaStokes
7579
J. Sinsay
7680
JSmith36
81+
Jacob Needels
7782
Jairo Paes Cavalcante Filho
7883
Jason Howison
7984
Jayant Mukhopadhaya
@@ -92,7 +97,9 @@ Max Sagebaum
9297
Michele Gaffuri
9398
Mickael Philit
9499
Mladen Banovic
100+
Nat-1
95101
Nicola Fonzi
102+
Nijso Beishuizen
96103
Ole Burghardt
97104
Patrick Mischke
98105
Paul Urbanczyk
@@ -119,8 +126,6 @@ aaronyicongfu
119126
aeroamit
120127
anilvar
121128
band-a-prend
122-
bigfootedrockmidget
123-
bmunguia
124129
chamsolli
125130
costat
126131
daniel-linton
@@ -130,16 +135,15 @@ erangit
130135
flo
131136
fmpmorgado
132137
garcgutierrez
133-
jtneedels
134138
juliendm
135139
jvanoostrom
136140
mcolonno
137141
minkwankim
138142
padronas
143+
snow54
139144
sravya91
140145
srcopela
141146
tobadavid
142-
vdweide
143147
vfrancesmolla
144148
```
145149

Common/include/code_config.hpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,17 @@ template<class T, class F> struct su2conditional<false, T, F> { using type = F;
6767
template<bool B, class T, class F>
6868
using su2conditional_t = typename su2conditional<B,T,F>::type;
6969

70+
/*! \brief Static cast "In" to "Out", in debug builds a dynamic cast is used. */
71+
template<class Out, class In>
72+
FORCEINLINE Out su2staticcast_p(In ptr) {
73+
static_assert(std::is_pointer<In>::value, "This expects a pointer");
74+
#ifndef NDEBUG
75+
return static_cast<Out>(ptr);
76+
#else
77+
return dynamic_cast<Out>(ptr);
78+
#endif
79+
}
80+
7081
/*--- Detect compilation with OpenMP. ---*/
7182
#if defined(_OPENMP)
7283
#define HAVE_OMP

0 commit comments

Comments
 (0)