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:
@ -140,7 +140,7 @@ void Foam::backgroundMeshDecomposition::initialRefinement()
|
||||
IOobject::NO_WRITE
|
||||
),
|
||||
mesh_,
|
||||
dimensionedScalar("one", dimless, 1.0),
|
||||
dimensionedScalar(dimless, 1.0),
|
||||
zeroGradientFvPatchScalarField::typeName
|
||||
);
|
||||
|
||||
|
||||
@ -1121,7 +1121,7 @@ void Foam::conformalVoronoiMesh::writeCellSizes
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
mesh,
|
||||
dimensionedScalar("cellSize", dimLength, 0),
|
||||
dimensionedScalar(dimLength, 0),
|
||||
zeroGradientFvPatchScalarField::typeName
|
||||
);
|
||||
|
||||
@ -1147,7 +1147,7 @@ void Foam::conformalVoronoiMesh::writeCellSizes
|
||||
// IOobject::AUTO_WRITE
|
||||
// ),
|
||||
// mesh,
|
||||
// dimensionedScalar("cellVolume", dimLength, 0),
|
||||
// dimensionedScalar(dimLength, 0),
|
||||
// zeroGradientFvPatchScalarField::typeName
|
||||
// );
|
||||
|
||||
@ -1166,7 +1166,7 @@ void Foam::conformalVoronoiMesh::writeCellSizes
|
||||
// IOobject::AUTO_WRITE
|
||||
// ),
|
||||
// mesh,
|
||||
// dimensionedScalar("cellVolume", dimVolume, 0),
|
||||
// dimensionedScalar(dimVolume, 0),
|
||||
// zeroGradientFvPatchScalarField::typeName
|
||||
// );
|
||||
|
||||
@ -1185,7 +1185,7 @@ void Foam::conformalVoronoiMesh::writeCellSizes
|
||||
// IOobject::AUTO_WRITE
|
||||
// ),
|
||||
// mesh,
|
||||
// dimensionedScalar("cellSize", dimLength, 0),
|
||||
// dimensionedScalar(dimLength, 0),
|
||||
// zeroGradientFvPatchScalarField::typeName
|
||||
// );
|
||||
|
||||
@ -1231,7 +1231,7 @@ void Foam::conformalVoronoiMesh::writeCellSizes
|
||||
// IOobject::AUTO_WRITE
|
||||
// ),
|
||||
// ptMesh,
|
||||
// dimensionedScalar("ptTargetCellSize", dimLength, 0),
|
||||
// dimensionedScalar(dimLength, 0),
|
||||
// pointPatchVectorField::calculatedType()
|
||||
// );
|
||||
|
||||
|
||||
@ -77,7 +77,7 @@ bool Foam::conformalVoronoiMesh::distributeBackground(const Triangulation& mesh)
|
||||
IOobject::NO_WRITE
|
||||
),
|
||||
bMesh,
|
||||
dimensionedScalar("weight", dimless, 1e-2),
|
||||
dimensionedScalar(dimless, 1e-2),
|
||||
zeroGradientFvPatchScalarField::typeName
|
||||
);
|
||||
|
||||
|
||||
@ -616,7 +616,7 @@ int main(int argc, char *argv[])
|
||||
false
|
||||
),
|
||||
mesh,
|
||||
dimensionedScalar("zero", dimLength, 0)
|
||||
dimensionedScalar(dimLength, 0)
|
||||
);
|
||||
|
||||
const searchableSurfaces& geometry = geometryToConformTo.geometry();
|
||||
@ -679,7 +679,7 @@ int main(int argc, char *argv[])
|
||||
false
|
||||
),
|
||||
pointMesh::New(mesh),
|
||||
dimensionedScalar("zero", dimLength, 0)
|
||||
dimensionedScalar(dimLength, 0)
|
||||
);
|
||||
{
|
||||
scalarField pointDistSqr(mesh.nPoints(), -sqr(great));
|
||||
|
||||
Reference in New Issue
Block a user