Changed tmp<volField> and tmp<surfaceField> construction to use the new simpler "New" method

avoiding unnecessary database registration of temporary fields
This commit is contained in:
Henry Weller
2018-12-21 18:37:13 +00:00
parent d95d68d7be
commit 6dc48b62d9
101 changed files with 445 additions and 1302 deletions

View File

@ -1828,7 +1828,7 @@ Foam::tmp<Foam::pointVectorField> Foam::meshRefinement::makeDisplacementField
IOobject::AUTO_WRITE
),
pMesh,
dimensionedVector("displacement", dimLength, Zero),
dimensionedVector(dimLength, Zero),
patchFieldTypes
)
);