mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: runTimePostProcessing - added option to clear/remove objects after use
This commit is contained in:
@ -217,6 +217,24 @@ bool Foam::functionObjects::runTimePostProcessing::write()
|
||||
}
|
||||
}
|
||||
|
||||
// Clean up
|
||||
forAll(text_, i)
|
||||
{
|
||||
text_[i].clear();
|
||||
}
|
||||
forAll(points_, i)
|
||||
{
|
||||
points_[i].clear();
|
||||
}
|
||||
forAll(lines_, i)
|
||||
{
|
||||
lines_[i].clear();
|
||||
}
|
||||
forAll(surfaces_, i)
|
||||
{
|
||||
surfaces_[i].clear();
|
||||
}
|
||||
|
||||
// Reset any floating point trapping
|
||||
sigFpe::set(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user