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
Branches
Tags
No related merge requests found
......@@ -36,6 +36,9 @@ readField
const dictionary& dict
)
{
// Clear the boundary field if already initialised
this->clear();
this->setSize(bmesh_.size());
if (debug)
......
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