ENH: use unique_ptr for resource handling in dynamicMesh

ENH: defaulting for destructors where possible

STYLE: clear() instead of setSize(0) for plain Lists

STYLE: use bool operator instead of valid()/empty() for autoPtr tests
This commit is contained in:
Mark Olesen
2020-05-13 12:12:24 +02:00
parent 2c3425ac1e
commit 841b65536b
118 changed files with 655 additions and 992 deletions

View File

@ -516,12 +516,6 @@ Foam::meshCutter::meshCutter(const polyMesh& mesh)
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::meshCutter::~meshCutter()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
void Foam::meshCutter::setRefinement