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