diff --git a/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.C b/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.C index f008767f6b..1dd2c0531c 100644 --- a/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.C +++ b/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.C @@ -31,7 +31,7 @@ License namespace Foam { -defineTypeNameAndDebug(OFstream, 0); + defineTypeNameAndDebug(OFstream, 0); } @@ -103,9 +103,8 @@ Foam::OFstream::OFstream { if (debug) { - Info<< "OFstream::OFstream(const fileName&," - "streamFormat, versionNumber, compressionType) : " - "could not open file " << pathname + InfoInFunction + << "Could not open file " << pathname << "for input\n" "in stream " << info() << Foam::endl; } diff --git a/src/OpenFOAM/db/Time/findInstance.C b/src/OpenFOAM/db/Time/findInstance.C index e12b9beca2..a19581f043 100644 --- a/src/OpenFOAM/db/Time/findInstance.C +++ b/src/OpenFOAM/db/Time/findInstance.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -62,10 +62,8 @@ Foam::word Foam::Time::findInstance { if (debug) { - Info<< "Time::findInstance" - "(const fileName&, const word&" - ", const IOobject::readOption, const word&)" - << " : found \"" << name + InfoInFunction + << "Found \"" << name << "\" in " << timeName()/dir << endl; } @@ -103,10 +101,8 @@ Foam::word Foam::Time::findInstance { if (debug) { - Info<< "Time::findInstance" - "(const fileName&, const word&" - ", const IOobject::readOption, const word&)" - << " : found \"" << name + InfoInFunction + << "Found \"" << name << "\" in " << ts[instanceI].name()/dir << endl; } @@ -119,10 +115,8 @@ Foam::word Foam::Time::findInstance { if (debug) { - Info<< "Time::findInstance" - "(const fileName&, const word&" - ", const IOobject::readOption, const word&)" - << " : hit stopInstance " << stopInstance + InfoInFunction + << "Hit stopInstance " << stopInstance << endl; } @@ -174,10 +168,8 @@ Foam::word Foam::Time::findInstance { if (debug) { - Info<< "Time::findInstance" - "(const fileName&, const word&" - ", const IOobject::readOption, const word&)" - << " : found \"" << name + InfoInFunction + << "Found \"" << name << "\" in " << constant()/dir << endl; } diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C index 2cc3264215..88fc8b81d2 100644 --- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C +++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C @@ -43,13 +43,7 @@ readField if (debug) { - Info<< "GeometricField::" - "GeometricBoundaryField::readField" - "(" - "const DimensionedField&, " - "const dictionary&" - ")" - << endl; + InfoInFunction << endl; } @@ -230,11 +224,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField::" - "GeometricBoundaryField::" - "GeometricBoundaryField(const BoundaryMesh&, " - "const DimensionedField&, const word&)" - << endl; + InfoInFunction << endl; } forAll(bmesh_, patchi) @@ -268,16 +258,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField::" - "GeometricBoundaryField::" - "GeometricBoundaryField" - "(" - "const BoundaryMesh&, " - "const DimensionedField&, " - "const wordList&, " - "const wordList&" - ")" - << endl; + InfoInFunction << endl; } if @@ -344,15 +325,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField::" - "GeometricBoundaryField::" - "GeometricBoundaryField" - "(" - "const BoundaryMesh&, " - "const DimensionedField&, " - "const PtrLIst>&" - ")" - << endl; + InfoInFunction << endl; } forAll(bmesh_, patchi) @@ -376,15 +349,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField::" - "GeometricBoundaryField::" - "GeometricBoundaryField" - "(" - "const DimensionedField&, " - "const typename GeometricField::" - "GeometricBoundaryField&" - ")" - << endl; + InfoInFunction << endl; } forAll(bmesh_, patchi) @@ -412,14 +377,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField::" - "GeometricBoundaryField::" - "GeometricBoundaryField" - "(" - "const GeometricField::" - "GeometricBoundaryField&" - ")" - << endl; + InfoInFunction << endl; } } @@ -448,9 +406,7 @@ updateCoeffs() { if (debug) { - Info<< "GeometricField::" - "GeometricBoundaryField::" - "updateCoeffs()" << endl; + InfoInFunction << endl; } forAll(*this, patchi) @@ -466,9 +422,7 @@ evaluate() { if (debug) { - Info<< "GeometricField::" - "GeometricBoundaryField::" - "evaluate()" << endl; + InfoInFunction << endl; } if diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.C b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.C index c88a4ac483..4d32e95ae2 100644 --- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.C +++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.C @@ -146,7 +146,7 @@ bool Foam::GeometricField::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::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "creating temporary" - << endl << this->info() << endl; + InfoInFunction << "Creating temporary" << endl << this->info() << endl; } readIfPresent(); @@ -216,9 +214,7 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "creating temporary" - << endl << this->info() << endl; + InfoInFunction << "Creating temporary" << endl << this->info() << endl; } readIfPresent(); @@ -242,9 +238,7 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "creating temporary" - << endl << this->info() << endl; + InfoInFunction << "Creating temporary" << endl << this->info() << endl; } boundaryField_ == dt.value(); @@ -271,9 +265,7 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "creating temporary" - << endl << this->info() << endl; + InfoInFunction << "Creating temporary" << endl << this->info() << endl; } boundaryField_ == dt.value(); @@ -300,9 +292,8 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "constructing from components" - << endl << this->info() << endl; + InfoInFunction + << "Constructing from components" << endl << this->info() << endl; } readIfPresent(); @@ -338,9 +329,8 @@ Foam::GeometricField::GeometricField if (debug) { - Info<< "Finishing read-construct of " - "GeometricField" - << endl << this->info() << endl; + InfoInFunction + << "Finishing read-construction of" << endl << this->info() << endl; } } @@ -375,8 +365,8 @@ Foam::GeometricField::GeometricField if (debug) { - Info<< "Finishing dictionary-construct of " - "GeometricField" + InfoInFunction + << "Finishing dictionary-construct of " << endl << this->info() << endl; } } @@ -396,9 +386,8 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::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::GeometricField { if (debug) { - Info<< "GeometricField::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::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "constructing as copy resetting IO params" + InfoInFunction + << "Constructing as copy resetting IO params" << endl << this->info() << endl; } @@ -496,8 +484,8 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "constructing from tmp resetting IO params" + InfoInFunction + << "Constructing from tmp resetting IO params" << endl << this->info() << endl; } @@ -523,8 +511,8 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "constructing as copy resetting name" + InfoInFunction + << "Constructing as copy resetting name" << endl << this->info() << endl; } @@ -560,8 +548,8 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "constructing from tmp resetting name" + InfoInFunction + << "Constructing from tmp resetting name" << endl << this->info() << endl; } @@ -586,8 +574,8 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::GeometricField : " - "constructing as copy resetting IO params" + InfoInFunction + << "Constructing as copy resetting IO params" << endl << this->info() << endl; } @@ -628,8 +616,8 @@ Foam::GeometricField::GeometricField { if (debug) { - Info<< "GeometricField::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::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::storePrevIter() const { if (debug) { - Info<< "Allocating previous iteration field" << endl + InfoInFunction + << "Allocating previous iteration field" << endl << this->info() << endl; } diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C index 4a05a01acb..277f4c5407 100644 --- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C +++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C @@ -36,11 +36,7 @@ Foam::autoPtr> Foam::pointPatchField::New { if (debug) { - Info<< "PointPatchField::" - "New(const word&, const word&" - ", const pointPatch&, const Field&) : " - "constructing pointPatchField" - << endl; + InfoInFunction << "Constructing pointPatchField" << endl; } typename pointPatchConstructorTable::iterator cstrIter = @@ -116,10 +112,7 @@ Foam::autoPtr> Foam::pointPatchField::New { if (debug) { - Info<< "PointPatchField::" - "New(const pointPatch&, const Field&, const dictionary&)" - " : constructing pointPatchField" - << endl; + InfoInFunction << "Constructing pointPatchField" << endl; } word patchFieldType(dict.lookup("type")); @@ -186,8 +179,6 @@ Foam::autoPtr> Foam::pointPatchField::New } -// Return a pointer to a new patch created on freestore from -// a given pointPatchField mapped onto a new patch template Foam::autoPtr> Foam::pointPatchField::New ( @@ -199,12 +190,7 @@ Foam::autoPtr> Foam::pointPatchField::New { if (debug) { - Info<< "PointPatchField::" - "New(const pointPatchField&," - " const pointPatch&, const Field&, " - "const pointPatchFieldMapper&) : " - "constructing pointPatchField" - << endl; + InfoInFunction << "Constructing pointPatchField" << endl; } typename patchMapperConstructorTable::iterator cstrIter = diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.C b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.C index 9233d11cfc..6c219acacd 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.C +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -358,10 +358,7 @@ Foam::autoPtr Foam::GAMGProcAgglomeration::New { if (debug) { - Info<< "GAMGProcAgglomeration::New(const word&, GAMGAgglomeration&" - ", const dictionary&) : " - "constructing GAMGProcAgglomeration" - << endl; + InfoInFunction << "Constructing GAMGProcAgglomeration" << endl; } GAMGAgglomerationConstructorTable::iterator cstrIter = diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/facePointPatch/facePointPatchNew.C b/src/OpenFOAM/meshes/pointMesh/pointPatches/facePointPatch/facePointPatchNew.C index b5a1b29dc9..8969bacec9 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/facePointPatch/facePointPatchNew.C +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/facePointPatch/facePointPatchNew.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -35,10 +35,7 @@ Foam::autoPtr Foam::facePointPatch::New { if (debug) { - Info<< "facePointPatch::New(const polyPatch&, " - << " const pointBoundaryMesh&) : " - << "constructing facePointPatch" - << endl; + InfoInFunction << "Constructing facePointPatch" << endl; } polyPatchConstructorTable::iterator cstrIter = diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C b/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C index f471696986..e75191e340 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshCheck/polyMeshCheck.C @@ -41,9 +41,7 @@ bool Foam::polyMesh::checkFaceOrthogonality { if (debug) { - Info<< "bool polyMesh::checkFaceOrthogonality(" - << "const bool, labelHashSet*) const: " - << "checking mesh non-orthogonality" << endl; + InfoInFunction << "Checking mesh non-orthogonality" << endl; } const labelList& own = faceOwner(); @@ -182,9 +180,7 @@ bool Foam::polyMesh::checkFaceSkewness { if (debug) { - Info<< "bool polyMesh::checkFaceSkewnesss(" - << "const bool, labelHashSet*) const: " - << "checking face skewness" << endl; + InfoInFunction << "Checking face skewness" << endl; } const labelList& own = faceOwner(); @@ -289,9 +285,7 @@ bool Foam::polyMesh::checkEdgeAlignment { if (debug) { - Info<< "bool polyMesh::checkEdgeAlignment(" - << "const bool, const Vector