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:
@ -133,13 +133,13 @@ int main(int argc, char *argv[])
|
||||
(
|
||||
IOobject("h", runTime.timeName(), mesh),
|
||||
mesh,
|
||||
dimensionedScalar("0", dimLength, 0)
|
||||
dimensionedScalar(dimLength, 0)
|
||||
);
|
||||
pointScalarField hp
|
||||
(
|
||||
IOobject("hp", runTime.timeName(), mesh),
|
||||
pMesh,
|
||||
dimensionedScalar("0", dimLength, 0)
|
||||
dimensionedScalar(dimLength, 0)
|
||||
);
|
||||
volVectorField uGas
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user