ENH: fvMeshGeometry: added debug printing

This commit is contained in:
mattijs
2013-09-19 10:44:05 +01:00
parent 29617783ea
commit 4d68ee8226

View File

@ -200,6 +200,13 @@ const volScalarField::DimensionedInternalField& fvMesh::V() const
{
if (!VPtr_)
{
if (debug)
{
Info<< "fvMesh::V() const: "
<< "constructing from primitiveMesh::cellVolumes()"
<< endl;
}
VPtr_ = new slicedVolScalarField::DimensionedInternalField
(
IOobject
@ -251,6 +258,13 @@ const volScalarField::DimensionedInternalField& fvMesh::V00() const
{
if (!V00Ptr_)
{
if (debug)
{
Info<< "fvMesh::V00() const: "
<< "constructing from V0"
<< endl;
}
V00Ptr_ = new DimensionedField<scalar, volMesh>
(
IOobject