Skip to content

Commit e30dab3

Browse files
committed
Added warning for incorrectly set RAMP_MUSCL_POWER
1 parent 4f35fec commit e30dab3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Common/src/CConfig.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4497,6 +4497,7 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
44974497
}
44984498

44994499
if(RampMUSCL && !DiscreteAdjoint){
4500+
if (RampMUSCLPower <= 0.0) SU2_MPI::Error("RAMP_MUSCL_POWER cannot be less than or equal to zero!");
45004501
rampMUSCLValue = 0.0;
45014502
} else {
45024503
rampMUSCLValue = 1.0;

0 commit comments

Comments
 (0)