Skip to content
Snippets Groups Projects
Commit 46174552 authored by henry's avatar henry
Browse files

Print a warning if the "positions" file is missing.

parent 99ad8e1d
Branches
Tags
No related merge requests found
......@@ -46,6 +46,13 @@ void Foam::Cloud<ParticleType>::initCloud(const bool checkClass)
readFields();
}
}
else
{
WarningIn("Cloud<ParticleType>::initCloud(const bool checkClass)")
<< "Cannot read particle positions file " << nl
<< " " << ioP.path() << nl
<< " assuming the initial cloud contains 0 particles." << endl;
}
}
......
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