Skip to content
Snippets Groups Projects
Commit 3083282e authored by sergio's avatar sergio
Browse files

BUG: Changing lookupOrDefault for solverFreq variable

parent 64ade855
No related merge requests found
...@@ -113,7 +113,7 @@ bool Foam::radiation::radiationModel::read() ...@@ -113,7 +113,7 @@ bool Foam::radiation::radiationModel::read()
lookup("radiation") >> radiation_; lookup("radiation") >> radiation_;
coeffs_ = subDict(type() + "Coeffs"); coeffs_ = subDict(type() + "Coeffs");
lookupOrDefault<label>("solverFreq", 1) >> solverFreq_; solverFreq_ = lookupOrDefault<label>("solverFreq", 1);
solverFreq_ = max(1, solverFreq_); solverFreq_ = max(1, solverFreq_);
return true; return true;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment