Skip to content

Commit 4327942

Browse files
committed
Merge branch 'feature_mz_adjoint_for_turbo' of https://github.com/su2code/SU2 into feature_mz_adjoint_for_turbo
2 parents bb0831d + e68f844 commit 4327942

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/regression.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ jobs:
8888
# flags: '--buildtype=debug -Denable-directdiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-pywrapper=true -Denable-tecio=false --warnlevel=3 --werror'
8989
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
9090
steps:
91-
- name: Reduce ASLR entropy for tsan
92-
run: sudo sysctl -w vm.mmap_rnd_bits=28
9391
- name: Cache Object Files
9492
uses: actions/cache@v4
9593
with:
@@ -130,8 +128,6 @@ jobs:
130128
flags: '--buildtype=debugoptimized -Denable-autodiff=true -Denable-normal=false -Dwith-mpi=disabled --warnlevel=3 --werror'
131129
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
132130
steps:
133-
- name: Reduce ASLR entropy for asan
134-
run: sudo sysctl -w vm.mmap_rnd_bits=28
135131
- name: Cache Object Files
136132
uses: actions/cache@v4
137133
with:
@@ -229,8 +225,6 @@ jobs:
229225
matrix:
230226
testscript: ['hybrid_regression.py', 'hybrid_regression_AD.py']
231227
steps:
232-
- name: Reduce ASLR entropy for tsan
233-
run: sudo sysctl -w vm.mmap_rnd_bits=28
234228
- name: Pre Cleanup
235229
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:240320-1536
236230
with:
@@ -276,8 +270,6 @@ jobs:
276270
matrix:
277271
testscript: ['serial_regression.py', 'serial_regression_AD.py']
278272
steps:
279-
- name: Reduce ASLR entropy for asan
280-
run: sudo sysctl -w vm.mmap_rnd_bits=28
281273
- name: Pre Cleanup
282274
uses: docker://ghcr.io/su2code/su2/test-su2-asan:240320-1536
283275
with:

Common/src/CConfig.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3934,6 +3934,13 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
39343934
SU2_MPI::Error("The use of FLUID_MIXTURE requires the INC_DENSITY_MODEL option to be VARIABLE",
39353935
CURRENT_FUNCTION);
39363936
}
3937+
/*--- Check whether the Kind scalar model used is correct, in the case of FLUID_MIXTURE the kind scalar model must
3938+
be SPECIES_TRANSPORT. Otherwise, if the scalar model is NONE, the species transport equations will not be solved.
3939+
--- */
3940+
if (Kind_Species_Model != SPECIES_MODEL::SPECIES_TRANSPORT) {
3941+
SU2_MPI::Error("The use of FLUID_MIXTURE requires the KIND_SCALAR_MODEL option to be SPECIES_TRANSPORT",
3942+
CURRENT_FUNCTION);
3943+
}
39373944

39383945
switch (Kind_ViscosityModel) {
39393946
case VISCOSITYMODEL::CONSTANT:

0 commit comments

Comments
 (0)