Commit 1544db31 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: surfaceFieldValue - update selection on mesh changes

parent be84f454
......@@ -1091,4 +1091,22 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::write()
}
void Foam::functionObjects::fieldValues::surfaceFieldValue::updateMesh
(
const mapPolyMesh& mpm
)
{
needsUpdate_ = true;
}
void Foam::functionObjects::fieldValues::surfaceFieldValue::movePoints
(
const polyMesh& mesh
)
{
needsUpdate_ = true;
}
// ************************************************************************* //
......@@ -556,6 +556,12 @@ public:
//- Calculate and write
virtual bool write();
//- Update for changes of mesh
virtual void updateMesh(const mapPolyMesh& mpm);
//- Update for changes of mesh
virtual void movePoints(const polyMesh& mesh);
};
......
Supports Markdown
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