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:
@ -1828,7 +1828,7 @@ Foam::tmp<Foam::pointVectorField> Foam::meshRefinement::makeDisplacementField
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
pMesh,
|
||||
dimensionedVector("displacement", dimLength, Zero),
|
||||
dimensionedVector(dimLength, Zero),
|
||||
patchFieldTypes
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user