Skip to content
Snippets Groups Projects
Commit a813e58c authored by Henry's avatar Henry
Browse files

GeometricBoundaryField: Clear before reading to support wildcards during readIfPresent

parent 8c67099c
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,9 @@ readField ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment