Skip to content

Commit

Permalink
Update SU2_CFD/src/output/COutput.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
  • Loading branch information
bigfooted and pcarruscag authored Nov 27, 2024
1 parent 6e6c70e commit 9134d8b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions SU2_CFD/src/output/COutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1533,9 +1533,7 @@ void COutput::PreprocessVolumeOutput(CConfig *config){
nRequestedVolumeFields++;
}

/*--- If no volume fields were requested, we add the entire SOLUTION field.
* We also add the solution field if we are not using the compact formulation.
* This is for backwards compatibility. ---*/
/*--- Add the solution if it was not requested for backwards compatibility, unless the COMPACT keyword was used to request exclusively the specified fields. ---*/
auto itSol = std::find(requestedVolumeFields.begin(),
requestedVolumeFields.end(), "SOLUTION");
if (itCoord == requestedVolumeFields.end()) {
Expand Down

0 comments on commit 9134d8b

Please sign in to comment.