Skip to content
Snippets Groups Projects
Commit f9869e00 authored by mattijs's avatar mattijs
Browse files

changed message for if cell not found

parent 3f41f77d
No related merge requests found
......@@ -90,10 +90,10 @@ void Foam::setRefCell
" bool\n"
")",
dict
)
<< "Unable to set reference cell for field " << field.name()
<< nl << " Reference point " << refPointName
<< " found on multiple domains" << nl << exit(FatalIOError);
) << "Unable to set reference cell for field " << field.name()
<< nl << " Reference point " << refPointName
<< " found on " << sumHasRef << " domains (should be one)"
<< nl << exit(FatalIOError);
}
}
else
......@@ -108,10 +108,10 @@ void Foam::setRefCell
" bool\n"
")",
dict
)
<< "Unable to set reference cell for field" << field.name() << nl
<< " Please supply either " << refCellName
<< " or " << refPointName << nl << exit(FatalIOError);
) << "Unable to set reference cell for field" << field.name()
<< nl
<< " Please supply either " << refCellName
<< " or " << refPointName << nl << exit(FatalIOError);
}
refValue = readScalar(dict.lookup(refValueName));
......
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