src: Changed tmp<volField> construction to use the new simpler "New" method
avoiding unnecessary database registration of temporary fields
This commit is contained in:
@ -76,14 +76,9 @@ bool Foam::functionObjects::processorField::execute()
|
||||
|
||||
tmp<volScalarField> tprocField
|
||||
(
|
||||
new volScalarField
|
||||
volScalarField::New
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
name,
|
||||
mesh_.time().timeName(),
|
||||
mesh_
|
||||
),
|
||||
name,
|
||||
mesh_,
|
||||
dimensionedScalar(name, dimless, Pstream::myProcNo())
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user