Skip to content

Commit 6bd758a

Browse files
committed
fix order
1 parent feca391 commit 6bd758a

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

QuickStart/inv_NACA0012.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ CONV_CAUCHY_ELEMS= 100
254254
% Epsilon to control the series convergence
255255
CONV_CAUCHY_EPS= 1E-6
256256
%
257-
SCREEN_OUTPUT=(INNER_ITER, WALL_TIME, RMS_DENSITY, LIFT, DRAG, CAUCHY_SENS_PRESS, CAUCHY_DRAG RMS_ADJ_DENSITY RMS_ADJ_ENERGY)
257+
SCREEN_OUTPUT=(INNER_ITER, WALL_TIME, RMS_RES, LIFT, DRAG, CAUCHY_SENS_PRESS, CAUCHY_DRAG RMS_ADJ_DENSITY RMS_ADJ_ENERGY)
258258

259259
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
260260
% Mesh input file

SU2_CFD/src/output/COutput.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,16 +1415,16 @@ void COutput::CheckHistoryOutput() {
14151415

14161416
for (const auto& requestedField : requestedScreenFields) {
14171417
bool isGroup = false;
1418-
for (const auto& item : historyOutput_Map) {
1419-
if (requestedField == item.second.outputGroup) {
1418+
for (const auto& name : historyOutput_List) {
1419+
if (requestedField == historyOutput_Map.at(name).outputGroup) {
14201420
isGroup = true;
1421-
requestWithExpandedGroups.push_back(item.first);
1421+
requestWithExpandedGroups.push_back(name);
14221422
}
14231423
}
1424-
for (const auto& item : historyOutputPerSurface_Map) {
1425-
if (requestedField == item.second.front().outputGroup) {
1424+
for (const auto& name : historyOutputPerSurface_List) {
1425+
if (requestedField == historyOutputPerSurface_Map.at(name).front().outputGroup) {
14261426
isGroup = true;
1427-
requestWithExpandedGroups.push_back(item.first);
1427+
requestWithExpandedGroups.push_back(name);
14281428
}
14291429
}
14301430
if (!isGroup) {

0 commit comments

Comments
 (0)