Skip to content

Commit 818c39b

Browse files
committed
only "coefficient" type outputs are averaged automatically
1 parent 0e12033 commit 818c39b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

SU2_CFD/include/output/COutput.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ class COutput {
629629
*/
630630
inline void AddHistoryOutput(string name, string field_name, ScreenOutputFormat format,
631631
string groupname, string description,
632-
HistoryFieldType field_type = HistoryFieldType::DEFAULT ){
632+
HistoryFieldType field_type = HistoryFieldType::DEFAULT) {
633633
historyOutput_Map[name] = HistoryOutputField(field_name, format, groupname, field_type, description);
634634
historyOutput_List.push_back(name);
635635
}

SU2_CFD/src/output/COutput.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,7 @@ void COutput::SetCustomOutputs(const CConfig* config) {
21202120
#endif
21212121

21222122
if (type == OperationType::FUNCTION) {
2123-
AddHistoryOutput(output.name, output.name, ScreenOutputFormat::SCIENTIFIC, "CUSTOM", "Custom output");
2123+
AddHistoryOutput(output.name, output.name, ScreenOutputFormat::SCIENTIFIC, "CUSTOM", "Custom output", HistoryFieldType::COEFFICIENT);
21242124
break;
21252125
}
21262126

@@ -2137,7 +2137,7 @@ void COutput::SetCustomOutputs(const CConfig* config) {
21372137
/*--- Skip the terminating "]". ---*/
21382138
if (it != last) ++it;
21392139

2140-
AddHistoryOutput(output.name, output.name, ScreenOutputFormat::SCIENTIFIC, "CUSTOM", "Custom output");
2140+
AddHistoryOutput(output.name, output.name, ScreenOutputFormat::SCIENTIFIC, "CUSTOM", "Custom output", HistoryFieldType::COEFFICIENT);
21412141
}
21422142
}
21432143

0 commit comments

Comments
 (0)