mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Fixed the case when 'relaxationFactors' entry is not present.
This commit is contained in:
@ -161,10 +161,6 @@ bool Foam::solution::read()
|
|||||||
{
|
{
|
||||||
relaxationFactors_ = dict.subDict("relaxationFactors");
|
relaxationFactors_ = dict.subDict("relaxationFactors");
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
relaxationFactors_.add("default", "none");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (relaxationFactors_.found("default"))
|
if (relaxationFactors_.found("default"))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user