Skip to content

Commit d32ccec

Browse files
authored
Merge pull request #1772 from su2code/feature_hom_quickmerge
Quick fix to a bug in CFlowOutput.cpp that crashes the FEM-DG solver
2 parents 2642f7f + 205ec3f commit d32ccec

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

SU2_CFD/src/output/CFlowCompFEMOutput.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ void CFlowCompFEMOutput::LoadHistoryData(CConfig *config, CGeometry *geometry, C
255255
SetHistoryOutputValue("AOA", config->GetAoA());
256256
SetHistoryOutputValue("CFL_NUMBER", config->GetCFL(MESH_0));
257257

258-
/*--- Set the analyse surface history values --- */
259-
260-
SetAnalyzeSurface(solver, geometry, config, false);
258+
if (config->GetnMarker_Analyze() > 0) {
259+
SU2_MPI::Error("SetAnalyzeSurface is not implemented for FEM-DG solver.", CURRENT_FUNCTION);
260+
}
261261

262262
/*--- Set aeroydnamic coefficients --- */
263263

0 commit comments

Comments
 (0)