Info -> InfoInFunction and updated comments

This commit is contained in:
Henry Weller
2016-01-20 17:51:15 +00:00
parent 5779e4fd16
commit aa38e25c92
42 changed files with 201 additions and 460 deletions

View File

@ -146,7 +146,7 @@ bool Foam::GeometricField<Type, PatchField, GeoMesh>::readOldTimeIfPresent()
{
if (debug)
{
Info<< "Reading old time level for field"
InfoInFunction << "Reading old time level for field"
<< endl << this->info() << endl;
}
@ -189,9 +189,7 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"creating temporary"
<< endl << this->info() << endl;
InfoInFunction << "Creating temporary" << endl << this->info() << endl;
}
readIfPresent();
@ -216,9 +214,7 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"creating temporary"
<< endl << this->info() << endl;
InfoInFunction << "Creating temporary" << endl << this->info() << endl;
}
readIfPresent();
@ -242,9 +238,7 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"creating temporary"
<< endl << this->info() << endl;
InfoInFunction << "Creating temporary" << endl << this->info() << endl;
}
boundaryField_ == dt.value();
@ -271,9 +265,7 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"creating temporary"
<< endl << this->info() << endl;
InfoInFunction << "Creating temporary" << endl << this->info() << endl;
}
boundaryField_ == dt.value();
@ -300,9 +292,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"constructing from components"
<< endl << this->info() << endl;
InfoInFunction
<< "Constructing from components" << endl << this->info() << endl;
}
readIfPresent();
@ -338,9 +329,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
if (debug)
{
Info<< "Finishing read-construct of "
"GeometricField<Type, PatchField, GeoMesh>"
<< endl << this->info() << endl;
InfoInFunction
<< "Finishing read-construction of" << endl << this->info() << endl;
}
}
@ -375,8 +365,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
if (debug)
{
Info<< "Finishing dictionary-construct of "
"GeometricField<Type, PatchField, GeoMesh>"
InfoInFunction
<< "Finishing dictionary-construct of "
<< endl << this->info() << endl;
}
}
@ -396,9 +386,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"constructing as copy"
<< endl << this->info() << endl;
InfoInFunction
<< "Constructing as copy" << endl << this->info() << endl;
}
if (gf.field0Ptr_)
@ -432,9 +421,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"constructing as copy"
<< endl << this->info() << endl;
InfoInFunction
<< "Constructing as copy" << endl << this->info() << endl;
}
this->writeOpt() = IOobject::NO_WRITE;
@ -459,8 +447,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"constructing as copy resetting IO params"
InfoInFunction
<< "Constructing as copy resetting IO params"
<< endl << this->info() << endl;
}
@ -496,8 +484,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"constructing from tmp resetting IO params"
InfoInFunction
<< "Constructing from tmp resetting IO params"
<< endl << this->info() << endl;
}
@ -523,8 +511,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"constructing as copy resetting name"
InfoInFunction
<< "Constructing as copy resetting name"
<< endl << this->info() << endl;
}
@ -560,8 +548,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"constructing from tmp resetting name"
InfoInFunction
<< "Constructing from tmp resetting name"
<< endl << this->info() << endl;
}
@ -586,8 +574,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"constructing as copy resetting IO params"
InfoInFunction
<< "Constructing as copy resetting IO params"
<< endl << this->info() << endl;
}
@ -628,8 +616,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
{
if (debug)
{
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
"constructing as copy resetting IO params and patch types"
InfoInFunction
<< "Constructing as copy resetting IO params and patch types"
<< endl << this->info() << endl;
}
@ -721,7 +709,8 @@ void Foam::GeometricField<Type, PatchField, GeoMesh>::storeOldTime() const
if (debug)
{
Info<< "Storing old time field for field" << endl
InfoInFunction
<< "Storing old time field for field" << endl
<< this->info() << endl;
}
@ -797,7 +786,8 @@ void Foam::GeometricField<Type, PatchField, GeoMesh>::storePrevIter() const
{
if (debug)
{
Info<< "Allocating previous iteration field" << endl
InfoInFunction
<< "Allocating previous iteration field" << endl
<< this->info() << endl;
}