GeometricField: Temporary fields are no longer registered on the database by default

Registration occurs when the temporary field is transferred to a non-temporary
field via a constructor or if explicitly transferred to the database via the
regIOobject "store" methods.
This commit is contained in:
Henry Weller
2018-12-20 11:00:37 +00:00
parent 6faadcb45c
commit 146a59e46c
307 changed files with 707 additions and 1042 deletions

View File

@ -54,7 +54,7 @@ int main(int argc, char *argv[])
IOobject::AUTO_WRITE
),
mesh,
dimensionedScalar("zero", dimless, 0)
dimensionedScalar(dimless, 0)
);
Info<< "Creating field p\n" << endl;
@ -69,7 +69,7 @@ int main(int argc, char *argv[])
IOobject::AUTO_WRITE
),
mesh,
dimensionedScalar("zero", dimless, 0)
dimensionedScalar(dimless, 0)
);