GeometricBoundaryField: Clear before reading to support wildcards during readIfPresent

This commit is contained in:
Henry
2013-10-03 09:54:20 +01:00
parent 8c67099c57
commit a813e58c05

View File

@ -36,6 +36,9 @@ readField
const dictionary& dict const dictionary& dict
) )
{ {
// Clear the boundary field if already initialised
this->clear();
this->setSize(bmesh_.size()); this->setSize(bmesh_.size());
if (debug) if (debug)