diff --git a/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.C b/src/OpenFOAM/db/IOstreams/Fstreams/OFstream.C index f008767f6b7dd842ffa776a07911bb64e2109264..1dd2c0531cdb762475e67ae1370fe2237c4124a5 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 e12b9beca2fa3c308eeddb1967e4457e947793d4..a19581f043005c98b279e938372214e0a0e90025 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 2cc32642156aff45765c318de6486ee1a51a0517..88fc8b81d2b5d2e6ca35a8442b5e9522d82c4fec 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<Type, PatchField, GeoMesh>::" - "GeometricBoundaryField::readField" - "(" - "const DimensionedField<Type, GeoMesh>&, " - "const dictionary&" - ")" - << endl; + InfoInFunction << endl; } @@ -230,11 +224,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField<Type, PatchField, GeoMesh>::" - "GeometricBoundaryField::" - "GeometricBoundaryField(const BoundaryMesh&, " - "const DimensionedField<Type>&, const word&)" - << endl; + InfoInFunction << endl; } forAll(bmesh_, patchi) @@ -268,16 +258,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField<Type, PatchField, GeoMesh>::" - "GeometricBoundaryField::" - "GeometricBoundaryField" - "(" - "const BoundaryMesh&, " - "const DimensionedField<Type>&, " - "const wordList&, " - "const wordList&" - ")" - << endl; + InfoInFunction << endl; } if @@ -344,15 +325,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField<Type, PatchField, GeoMesh>::" - "GeometricBoundaryField::" - "GeometricBoundaryField" - "(" - "const BoundaryMesh&, " - "const DimensionedField<Type, GeoMesh>&, " - "const PtrLIst<PatchField<Type>>&" - ")" - << endl; + InfoInFunction << endl; } forAll(bmesh_, patchi) @@ -376,15 +349,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField<Type, PatchField, GeoMesh>::" - "GeometricBoundaryField::" - "GeometricBoundaryField" - "(" - "const DimensionedField<Type, GeoMesh>&, " - "const typename GeometricField<Type, PatchField, GeoMesh>::" - "GeometricBoundaryField&" - ")" - << endl; + InfoInFunction << endl; } forAll(bmesh_, patchi) @@ -412,14 +377,7 @@ GeometricBoundaryField { if (debug) { - Info<< "GeometricField<Type, PatchField, GeoMesh>::" - "GeometricBoundaryField::" - "GeometricBoundaryField" - "(" - "const GeometricField<Type, PatchField, GeoMesh>::" - "GeometricBoundaryField&" - ")" - << endl; + InfoInFunction << endl; } } @@ -448,9 +406,7 @@ updateCoeffs() { if (debug) { - Info<< "GeometricField<Type, PatchField, GeoMesh>::" - "GeometricBoundaryField::" - "updateCoeffs()" << endl; + InfoInFunction << endl; } forAll(*this, patchi) @@ -466,9 +422,7 @@ evaluate() { if (debug) { - Info<< "GeometricField<Type, PatchField, GeoMesh>::" - "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 c88a4ac4835b8553472bfc96827cfd0dfb67561e..4d32e95ae23038ee304f59821657011c43af4255 100644 --- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.C +++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.C @@ -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; } diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldNew.C index 4a05a01acb2e66a127e4c8be2cd6ffb63baa75a5..277f4c540719f70ae085edd13bd31ec5b6111681 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<Type>> Foam::pointPatchField<Type>::New { if (debug) { - Info<< "PointPatchField<Type>::" - "New(const word&, const word&" - ", const pointPatch&, const Field<Type>&) : " - "constructing pointPatchField<Type>" - << endl; + InfoInFunction << "Constructing pointPatchField<Type>" << endl; } typename pointPatchConstructorTable::iterator cstrIter = @@ -116,10 +112,7 @@ Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New { if (debug) { - Info<< "PointPatchField<Type>::" - "New(const pointPatch&, const Field<Type>&, const dictionary&)" - " : constructing pointPatchField<Type>" - << endl; + InfoInFunction << "Constructing pointPatchField<Type>" << endl; } word patchFieldType(dict.lookup("type")); @@ -186,8 +179,6 @@ Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New } -// Return a pointer to a new patch created on freestore from -// a given pointPatchField<Type> mapped onto a new patch template<class Type> Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New ( @@ -199,12 +190,7 @@ Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New { if (debug) { - Info<< "PointPatchField<Type>::" - "New(const pointPatchField<Type>&," - " const pointPatch&, const Field<Type>&, " - "const pointPatchFieldMapper&) : " - "constructing pointPatchField<Type>" - << endl; + InfoInFunction << "Constructing pointPatchField<Type>" << 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 9233d11cfc37d26562bcb5d537ca354a07c69234..6c219acacdab844b6fe438faa04cdba852ff7a09 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> 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 b5a1b29dc9acc309cc183067a6fdae93e330ab58..8969bacec96275b11657501acd171ccc911cf21c 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> 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 f4716969867a2c9a43877f28f70628348e2582c7..e75191e3403788828d512834f597b4dad7b086a4 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<label>&, labelHashSet*) const: " - << "checking edge alignment" << endl; + InfoInFunction << "Checking edge alignment" << endl; } label nDirs = 0; @@ -422,9 +416,7 @@ bool Foam::polyMesh::checkCellDeterminant if (debug) { - Info<< "bool polyMesh::checkCellDeterminant(const bool" - << ", labelHashSet*) const: " - << "checking for under-determined cells" << endl; + InfoInFunction << "Checking for under-determined cells" << endl; } tmp<scalarField> tcellDeterminant = primitiveMeshTools::cellDeterminant @@ -506,9 +498,7 @@ bool Foam::polyMesh::checkFaceWeight { if (debug) { - Info<< "bool polyMesh::checkFaceWeight(const bool" - << ", labelHashSet*) const: " - << "checking for low face interpolation weights" << endl; + InfoInFunction << "Checking for low face interpolation weights" << endl; } tmp<scalarField> tfaceWght = polyMeshTools::faceWeights @@ -601,9 +591,7 @@ bool Foam::polyMesh::checkVolRatio { if (debug) { - Info<< "bool polyMesh::checkVolRatio(const bool" - << ", labelHashSet*) const: " - << "checking for volume ratio < " << minRatio << endl; + InfoInFunction << "Checking for volume ratio < " << minRatio << endl; } tmp<scalarField> tvolRatio = polyMeshTools::volRatio(*this, cellVols); @@ -680,19 +668,6 @@ bool Foam::polyMesh::checkVolRatio } -//- Could override checkClosedBoundary to not look at (collocated!) coupled -// faces -//bool Foam::polyMesh::checkClosedBoundary(const bool report) const -//{ -// return primitiveMesh::checkClosedBoundary -// ( -// faceAreas(), -// report, -// syncTools::getInternalOrCollocatedCoupledFaces(*this) -// ); -//} - - bool Foam::polyMesh::checkFaceOrthogonality ( const bool report, diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatchNew.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatchNew.C index b161194fc3b18c036b66899f77fb32a613f4d92f..e44810932dbf0f698add039376d967fb9667b7c6 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatchNew.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatchNew.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 @@ -40,10 +40,7 @@ Foam::autoPtr<Foam::polyPatch> Foam::polyPatch::New { if (debug) { - Info<< "polyPatch::New(const word&, const word&, const label, " - "const label, const label, const polyBoundaryMesh&) : " - "constructing polyPatch" - << endl; + InfoInFunction << "Constructing polyPatch" << endl; } wordConstructorTable::iterator cstrIter = @@ -84,9 +81,7 @@ Foam::autoPtr<Foam::polyPatch> Foam::polyPatch::New { if (debug) { - Info<< "polyPatch::New(const word&, const dictionary&, const label, " - "const polyBoundaryMesh&) : constructing polyPatch" - << endl; + InfoInFunction << "Constructing polyPatch" << endl; } word patchType(dict.lookup("type")); @@ -107,9 +102,7 @@ Foam::autoPtr<Foam::polyPatch> Foam::polyPatch::New { if (debug) { - Info<< "polyPatch::New(const word&, const word&, const dictionary&, " - "const label, const polyBoundaryMesh&) : constructing polyPatch" - << endl; + InfoInFunction << "Constructing polyPatch" << endl; } dictionaryConstructorTable::iterator cstrIter = diff --git a/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZoneNew.C b/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZoneNew.C index 983ff5d8b8aec0d747e3cb41ea518abbe8d7221c..fd6ed39cdd55d3450c50cd58632bcbd4fc7bcf03 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZoneNew.C +++ b/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZoneNew.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 @@ -38,9 +38,7 @@ Foam::autoPtr<Foam::cellZone> Foam::cellZone::New { if (debug) { - Info<< "cellZone::New(const word&, const dictionary&, const label, " - "const cellZoneMesh&) : constructing cellZone " << name - << endl; + InfoInFunction << "Constructing cellZone " << name << endl; } const word zoneType(dict.lookup("type")); diff --git a/src/OpenFOAM/meshes/polyMesh/zones/faceZone/faceZoneNew.C b/src/OpenFOAM/meshes/polyMesh/zones/faceZone/faceZoneNew.C index 8c75b01c088e470efa75ebc3fe395453e1f31e57..2b6954b340c110826b2c8d3515e7746843fccc96 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/faceZone/faceZoneNew.C +++ b/src/OpenFOAM/meshes/polyMesh/zones/faceZone/faceZoneNew.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 @@ -38,9 +38,7 @@ Foam::autoPtr<Foam::faceZone> Foam::faceZone::New { if (debug) { - Info<< "faceZone::New(const word&, const dictionary&, const label, " - "const faceZoneMesh&) : constructing faceZone " << name - << endl; + InfoInFunction << "Constructing faceZone " << name << endl; } const word zoneType(dict.lookup("type")); diff --git a/src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZoneNew.C b/src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZoneNew.C index f2ddb5480c5b87c6e7fbe80069dab0bc3fb61612..3c5feac399e7060575d11b35ac4803ff9c465f13 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZoneNew.C +++ b/src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZoneNew.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 @@ -38,9 +38,7 @@ Foam::autoPtr<Foam::pointZone> Foam::pointZone::New { if (debug) { - Info<< "pointZone::New(const word&, const dictionary&, const label, " - "const pointZoneMesh&) : constructing pointZone " << name - << endl; + InfoInFunction << "Constructing pointZone " << name << endl; } const word zoneType(dict.lookup("type")); diff --git a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchBdryPoints.C b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchBdryPoints.C index fe0a80ef28d36024b0308f317331c0d21a62ceee..fc3cdce9028b71bc946282bf831328f5c8dea85b 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchBdryPoints.C +++ b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchBdryPoints.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 @@ -26,7 +26,6 @@ License #include "PrimitivePatch.H" #include "HashSet.H" - // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // template @@ -42,10 +41,7 @@ calcBdryPoints() const { if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "calcBdryPoints() : " - << "calculating boundary points" - << endl; + InfoInFunction << "Calculating boundary points" << endl; } if (boundaryPointsPtr_) @@ -74,10 +70,7 @@ calcBdryPoints() const if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "calcBdryPoints() : " - << "finished calculating boundary points" - << endl; + Info<< " Finished." << endl; } } diff --git a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchCheck.C b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchCheck.C index 68be5b7ab5836ace7f644d5731257c47ce5b5f6c..28452cd286afb996442fbb29b7c7d25d46f161cd 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchCheck.C +++ b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchCheck.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 @@ -121,10 +121,7 @@ surfaceType() const { if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - "surfaceType() : " - "calculating patch topology" - << endl; + InfoInFunction << "Calculating patch topology" << endl; } const labelListList& edgeFcs = edgeFaces(); @@ -151,10 +148,7 @@ surfaceType() const if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - "surfaceType() : " - "finished calculating patch topology" - << endl; + Info<< " Finished." << endl; } return pType; @@ -178,10 +172,7 @@ checkTopology { if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - "checkTopology(const bool, labelHashSet&) : " - "checking patch topology" - << endl; + InfoInFunction << "Checking patch topology" << endl; } // Check edgeFaces @@ -217,10 +208,7 @@ checkTopology if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - "checkTopology(const bool, labelHashSet&) : " - "finished checking patch topology" - << endl; + Info<< " Finished." << endl; } return illegalTopo; diff --git a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchClear.C b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchClear.C index d4aa873dadb4a61ee8be6a254e9194fbbfc4b677..96962082592ae5fc58eaef3367d14241a91e1bab 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchClear.C +++ b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchClear.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -42,9 +42,7 @@ clearGeom() { if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "clearGeom() : clearing geometric data" - << endl; + InfoInFunction << "Clearing geometric data" << endl; } deleteDemandDrivenData(localPointsPtr_); @@ -67,9 +65,7 @@ clearTopology() { if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "clearTopology() : clearing patch addressing" - << endl; + InfoInFunction << "Clearing patch addressing" << endl; } // group created and destroyed together @@ -109,10 +105,7 @@ clearPatchMeshAddr() { if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "clearPatchMeshAddr() : " - << "clearing patch-mesh addressing" - << endl; + InfoInFunction << "Clearing patch-mesh addressing" << endl; } deleteDemandDrivenData(meshPointsPtr_); diff --git a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchEdgeLoops.C b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchEdgeLoops.C index 3a7501083a4c46d4db5b2553268f80be48c08af6..48094cce32ca0ed649f42d0d94964690cf0af5dd 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchEdgeLoops.C +++ b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchEdgeLoops.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 @@ -45,10 +45,7 @@ calcEdgeLoops() const { if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "calcEdgeLoops() : " - << "calculating boundary edge loops" - << endl; + InfoInFunction << "Calculating boundary edge loops" << endl; } if (edgeLoopsPtr_) @@ -153,10 +150,7 @@ calcEdgeLoops() const if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "calcEdgeLoops() : " - << "finished calculating boundary edge loops" - << endl; + Info<< " Finished." << endl; } } diff --git a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchPointAddressing.C b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchPointAddressing.C index 497e38f918d143ede64be0cbd5ae2db711ae160c..1e9ad11835bdab46653d989b3a4be3803d8991ca 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchPointAddressing.C +++ b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchPointAddressing.C @@ -46,9 +46,7 @@ calcPointEdges() const { if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "calcPointEdges() : calculating pointEdges" - << endl; + InfoInFunction << "Calculating pointEdges" << endl; } if (pointEdgesPtr_) @@ -68,9 +66,7 @@ calcPointEdges() const if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "calcPointEdges() finished calculating pointEdges" - << endl; + Info<< " Finished." << endl; } } @@ -88,9 +84,7 @@ calcPointFaces() const { if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "calcPointFaces() : calculating pointFaces" - << endl; + InfoInFunction << "Calculating pointFaces" << endl; } if (pointFacesPtr_) @@ -135,9 +129,7 @@ calcPointFaces() const if (debug) { - Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::" - << "calcPointFaces() finished calculating pointFaces" - << endl; + Info<< " Finished." << endl; } } diff --git a/src/dynamicMesh/polyTopoChange/polyMeshModifier/polyMeshModifierNew.C b/src/dynamicMesh/polyTopoChange/polyMeshModifier/polyMeshModifierNew.C index 23f90fefca8cd05c78f4fe15b2be97dd9e741fa2..e85f4d59593f373a967131ee9176b0548e3bda98 100644 --- a/src/dynamicMesh/polyTopoChange/polyMeshModifier/polyMeshModifierNew.C +++ b/src/dynamicMesh/polyTopoChange/polyMeshModifier/polyMeshModifierNew.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 @@ -38,10 +38,7 @@ Foam::autoPtr<Foam::polyMeshModifier> Foam::polyMeshModifier::New { if (debug) { - Info<< "polyMeshModifier::New(const word&, const dictionary&, " - << "const label, const polyTopoChanger&) : " - << "constructing polyMeshModifier" - << endl; + InfoInFunction << "Constructing polyMeshModifier" << endl; } const word modifierType(dict.lookup("type")); diff --git a/src/edgeMesh/edgeMeshIO.C b/src/edgeMesh/edgeMeshIO.C index 074510f2c10fcdfbc29be198f1eea4226ff801e5..e8bc88f4026abf32e7bfac1d812d7b610ebd9447 100644 --- a/src/edgeMesh/edgeMeshIO.C +++ b/src/edgeMesh/edgeMeshIO.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 @@ -91,10 +91,7 @@ void Foam::edgeMesh::write { if (debug) { - Info<< "edgeMesh::write" - "(const fileName&, const edgeMesh&) : " - "writing to " << name - << endl; + InfoInFunction << "Writing to " << name << endl; } const word ext = name.ext(); diff --git a/src/finiteVolume/fields/fvPatchFields/fvPatchField/fvPatchFieldNew.C b/src/finiteVolume/fields/fvPatchFields/fvPatchField/fvPatchFieldNew.C index af6e721b8b48038aa4a4399b2f7c03be3c7e197e..e8f97d0cf8a933a12c18cd7bd357116cc4806e9d 100644 --- a/src/finiteVolume/fields/fvPatchFields/fvPatchField/fvPatchFieldNew.C +++ b/src/finiteVolume/fields/fvPatchFields/fvPatchField/fvPatchFieldNew.C @@ -36,10 +36,8 @@ Foam::tmp<Foam::fvPatchField<Type>> Foam::fvPatchField<Type>::New { if (debug) { - Info<< "fvPatchField<Type>::New(const word&, const word&, " - "const fvPatch&, const DimensionedField<Type, volMesh>&) :" - " patchFieldType=" - << patchFieldType + InfoInFunction + << "patchFieldType = " << patchFieldType << " : " << p.type() << endl; } @@ -113,9 +111,8 @@ Foam::tmp<Foam::fvPatchField<Type>> Foam::fvPatchField<Type>::New if (debug) { - Info<< "fvPatchField<Type>::New(const fvPatch&, " - "const DimensionedField<Type, volMesh>&, " - "const dictionary&) : patchFieldType=" << patchFieldType + InfoInFunction + << "patchFieldType = " << patchFieldType << endl; } @@ -182,11 +179,7 @@ Foam::tmp<Foam::fvPatchField<Type>> Foam::fvPatchField<Type>::New { if (debug) { - Info<< "fvPatchField<Type>::New(const fvPatchField<Type>&, " - "const fvPatch&, const DimensionedField<Type, volMesh>&, " - "const fvPatchFieldMapper&) : " - "constructing fvPatchField<Type>" - << endl; + InfoInFunction << "Constructing fvPatchField<Type>" << endl; } typename patchMapperConstructorTable::iterator cstrIter = diff --git a/src/finiteVolume/fields/fvsPatchFields/fvsPatchField/fvsPatchFieldNew.C b/src/finiteVolume/fields/fvsPatchFields/fvsPatchField/fvsPatchFieldNew.C index c47e89ada24a5c05ea269d0ef76cffdaf334275a..9becf00ccfd1fea99e29a16e0f5831dd7d12271e 100644 --- a/src/finiteVolume/fields/fvsPatchFields/fvsPatchField/fvsPatchFieldNew.C +++ b/src/finiteVolume/fields/fvsPatchFields/fvsPatchField/fvsPatchFieldNew.C @@ -23,15 +23,10 @@ License \*---------------------------------------------------------------------------*/ -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - // * * * * * * * * * * * * * * * * Selectors * * * * * * * * * * * * * * * * // template<class Type> -tmp<fvsPatchField<Type>> fvsPatchField<Type>::New +Foam::tmp<Foam::fvsPatchField<Type>> Foam::fvsPatchField<Type>::New ( const word& patchFieldType, const word& actualPatchType, @@ -41,10 +36,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New { if (debug) { - Info<< "fvsPatchField<Type>::New(const word&, const word&" - ", const fvPatch&, const Field<Type>&) : " - "constructing fvsPatchField<Type>" - << endl; + InfoInFunction << "Constructing fvsPatchField<Type>" << endl; } typename patchConstructorTable::iterator cstrIter = @@ -86,7 +78,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New template<class Type> -tmp<fvsPatchField<Type>> fvsPatchField<Type>::New +Foam::tmp<Foam::fvsPatchField<Type>> Foam::fvsPatchField<Type>::New ( const word& patchFieldType, const fvPatch& p, @@ -98,7 +90,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New template<class Type> -tmp<fvsPatchField<Type>> fvsPatchField<Type>::New +Foam::tmp<Foam::fvsPatchField<Type>> Foam::fvsPatchField<Type>::New ( const fvPatch& p, const DimensionedField<Type, surfaceMesh>& iF, @@ -107,10 +99,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New { if (debug) { - Info<< "fvsPatchField<Type>::New(const fvPatch&, const Field<Type>&, " - "const dictionary&) : " - "constructing fvsPatchField<Type>" - << endl; + InfoInFunction << "Constructing fvsPatchField<Type>" << endl; } const word patchFieldType(dict.lookup("type")); @@ -167,10 +156,8 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New } -// Return a pointer to a new patch created on freestore from -// a given fvsPatchField<Type> mapped onto a new patch template<class Type> -tmp<fvsPatchField<Type>> fvsPatchField<Type>::New +Foam::tmp<Foam::fvsPatchField<Type>> Foam::fvsPatchField<Type>::New ( const fvsPatchField<Type>& ptf, const fvPatch& p, @@ -180,11 +167,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New { if (debug) { - Info<< "fvsPatchField<Type>::New(const fvsPatchField<Type>&," - " const fvPatch&, const Field<Type>&, " - "const fvPatchFieldMapper&) : " - "constructing fvsPatchField<Type>" - << endl; + InfoInFunction << "Constructing fvsPatchField<Type>" << endl; } typename patchMapperConstructorTable::iterator cstrIter = @@ -213,8 +196,4 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New } -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - // ************************************************************************* // diff --git a/src/finiteVolume/finiteVolume/convectionSchemes/convectionScheme/convectionScheme.C b/src/finiteVolume/finiteVolume/convectionSchemes/convectionScheme/convectionScheme.C index 851ff9fe846fb23c91ecef61d92da98aa50bf157..d3e257b0c2b59fb434ed1b630100550f3261344e 100644 --- a/src/finiteVolume/finiteVolume/convectionSchemes/convectionScheme/convectionScheme.C +++ b/src/finiteVolume/finiteVolume/convectionSchemes/convectionScheme/convectionScheme.C @@ -63,10 +63,7 @@ tmp<convectionScheme<Type>> convectionScheme<Type>::New { if (fv::debug) { - Info<< "convectionScheme<Type>::New" - "(const fvMesh&, const surfaceScalarField&, Istream&) : " - "constructing convectionScheme<Type>" - << endl; + InfoInFunction << "Constructing convectionScheme<Type>" << endl; } if (schemeData.eof()) @@ -112,12 +109,7 @@ tmp<convectionScheme<Type>> convectionScheme<Type>::New { if (fv::debug) { - Info<< "convectionScheme<Type>::New" - "(const fvMesh&, " - "const typename multivariateSurfaceInterpolationScheme<Type>" - "::fieldTable&, const surfaceScalarField&, Istream&) : " - "constructing convectionScheme<Type>" - << endl; + InfoInFunction << "Constructing convectionScheme<Type>" << endl; } if (schemeData.eof()) diff --git a/src/finiteVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.C b/src/finiteVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.C index 318bdcd8fa7e2e5c589ae2aee8d7f7fbf9bb52a3..2c045538e2eb590a4a3f08b2837daf977a9a64b1 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.C +++ b/src/finiteVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.C @@ -38,10 +38,7 @@ Foam::tmp<Foam::fv::gradScheme<Type>> Foam::fv::gradScheme<Type>::New { if (fv::debug) { - Info<< "gradScheme<Type>::New" - "(const fvMesh& mesh, Istream& schemeData) : " - "constructing gradScheme<Type>" - << endl; + InfoInFunction << "Constructing gradScheme<Type>" << endl; } if (schemeData.eof()) diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/snGradScheme/snGradScheme.C b/src/finiteVolume/finiteVolume/snGradSchemes/snGradScheme/snGradScheme.C index 0335b0d8df95ae6464fc222b1e474c0ab02bb52f..c667c4410de133feca0ca18c5f96df5f38da3adf 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/snGradScheme/snGradScheme.C +++ b/src/finiteVolume/finiteVolume/snGradSchemes/snGradScheme/snGradScheme.C @@ -50,9 +50,7 @@ tmp<snGradScheme<Type>> snGradScheme<Type>::New { if (fv::debug) { - Info<< "snGradScheme<Type>::New(const fvMesh&, Istream&)" - " : constructing snGradScheme<Type>" - << endl; + InfoInFunction << "Constructing snGradScheme<Type>" << endl; } if (schemeData.eof()) @@ -171,8 +169,6 @@ snGradScheme<Type>::sndGrad } -//- Return the face-snGrad of the given cell field -// with explicit correction template<class Type> tmp<GeometricField<Type, fvsPatchField, surfaceMesh>> snGradScheme<Type>::snGrad @@ -194,8 +190,6 @@ snGradScheme<Type>::snGrad } -//- Return the face-snGrad of the given cell field -// with explicit correction template<class Type> tmp<GeometricField<Type, fvsPatchField, surfaceMesh>> snGradScheme<Type>::snGrad diff --git a/src/finiteVolume/fvMesh/fvMeshGeometry.C b/src/finiteVolume/fvMesh/fvMeshGeometry.C index c35da60ef0ac7c0c63b301238b7b079ceae09dfc..17bb30ec0551ead93c8691e76f90d7791a14867b 100644 --- a/src/finiteVolume/fvMesh/fvMeshGeometry.C +++ b/src/finiteVolume/fvMesh/fvMeshGeometry.C @@ -33,20 +33,13 @@ License #include "cyclicFvPatchFields.H" #include "cyclicAMIFvPatchFields.H" -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // -void fvMesh::makeSf() const +void Foam::fvMesh::makeSf() const { if (debug) { - Info<< "void fvMesh::makeSf() : " - << "assembling face areas" - << endl; + InfoInFunction << "Assembling face areas" << endl; } // It is an error to attempt to recalculate @@ -77,7 +70,7 @@ void fvMesh::makeSf() const } -void fvMesh::makeMagSf() const +void Foam::fvMesh::makeMagSf() const { if (debug) { @@ -113,7 +106,7 @@ void fvMesh::makeMagSf() const } -void fvMesh::makeC() const +void Foam::fvMesh::makeC() const { if (debug) { @@ -153,7 +146,7 @@ void fvMesh::makeC() const } -void fvMesh::makeCf() const +void Foam::fvMesh::makeCf() const { if (debug) { @@ -190,7 +183,7 @@ void fvMesh::makeCf() const // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -const volScalarField::DimensionedInternalField& fvMesh::V() const +const Foam::volScalarField::DimensionedInternalField& Foam::fvMesh::V() const { if (!VPtr_) { @@ -221,7 +214,7 @@ const volScalarField::DimensionedInternalField& fvMesh::V() const } -const volScalarField::DimensionedInternalField& fvMesh::V0() const +const Foam::volScalarField::DimensionedInternalField& Foam::fvMesh::V0() const { if (!V0Ptr_) { @@ -234,7 +227,7 @@ const volScalarField::DimensionedInternalField& fvMesh::V0() const } -volScalarField::DimensionedInternalField& fvMesh::setV0() +Foam::volScalarField::DimensionedInternalField& Foam::fvMesh::setV0() { if (!V0Ptr_) { @@ -247,7 +240,7 @@ volScalarField::DimensionedInternalField& fvMesh::setV0() } -const volScalarField::DimensionedInternalField& fvMesh::V00() const +const Foam::volScalarField::DimensionedInternalField& Foam::fvMesh::V00() const { if (!V00Ptr_) { @@ -278,7 +271,8 @@ const volScalarField::DimensionedInternalField& fvMesh::V00() const } -tmp<volScalarField::DimensionedInternalField> fvMesh::Vsc() const +Foam::tmp<Foam::volScalarField::DimensionedInternalField> +Foam::fvMesh::Vsc() const { if (moving() && time().subCycling()) { @@ -306,7 +300,8 @@ tmp<volScalarField::DimensionedInternalField> fvMesh::Vsc() const } -tmp<volScalarField::DimensionedInternalField> fvMesh::Vsc0() const +Foam::tmp<Foam::volScalarField::DimensionedInternalField> +Foam::fvMesh::Vsc0() const { if (moving() && time().subCycling()) { @@ -335,7 +330,7 @@ tmp<volScalarField::DimensionedInternalField> fvMesh::Vsc0() const } -const surfaceVectorField& fvMesh::Sf() const +const Foam::surfaceVectorField& Foam::fvMesh::Sf() const { if (!SfPtr_) { @@ -346,7 +341,7 @@ const surfaceVectorField& fvMesh::Sf() const } -const surfaceScalarField& fvMesh::magSf() const +const Foam::surfaceScalarField& Foam::fvMesh::magSf() const { if (!magSfPtr_) { @@ -357,7 +352,7 @@ const surfaceScalarField& fvMesh::magSf() const } -const volVectorField& fvMesh::C() const +const Foam::volVectorField& Foam::fvMesh::C() const { if (!CPtr_) { @@ -368,7 +363,7 @@ const volVectorField& fvMesh::C() const } -const surfaceVectorField& fvMesh::Cf() const +const Foam::surfaceVectorField& Foam::fvMesh::Cf() const { if (!CfPtr_) { @@ -379,7 +374,7 @@ const surfaceVectorField& fvMesh::Cf() const } -tmp<surfaceVectorField> fvMesh::delta() const +Foam::tmp<Foam::surfaceVectorField> Foam::fvMesh::delta() const { if (debug) { @@ -424,7 +419,7 @@ tmp<surfaceVectorField> fvMesh::delta() const } -const surfaceScalarField& fvMesh::phi() const +const Foam::surfaceScalarField& Foam::fvMesh::phi() const { if (!phiPtr_) { @@ -444,7 +439,7 @@ const surfaceScalarField& fvMesh::phi() const } -surfaceScalarField& fvMesh::setPhi() +Foam::surfaceScalarField& Foam::fvMesh::setPhi() { if (!phiPtr_) { @@ -457,8 +452,4 @@ surfaceScalarField& fvMesh::setPhi() } -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - // ************************************************************************* // diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.C b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.C index 388683c2f979a3c85a7d92e88eeb91562784f305..9b26d679adaedd87a1dcaf7cb80c3122f4e78b64 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.C @@ -40,10 +40,8 @@ Foam::limitedSurfaceInterpolationScheme<Type>::New { if (surfaceInterpolation::debug) { - Info<< "limitedSurfaceInterpolationScheme<Type>::" - "New(const fvMesh&, Istream&)" - " : constructing limitedSurfaceInterpolationScheme<Type>" - << endl; + InfoInFunction + << "Constructing limitedSurfaceInterpolationScheme<Type>" << endl; } if (schemeData.eof()) @@ -90,9 +88,8 @@ Foam::limitedSurfaceInterpolationScheme<Type>::New { if (surfaceInterpolation::debug) { - Info<< "limitedSurfaceInterpolationScheme<Type>::New" - "(const fvMesh&, const surfaceScalarField&, Istream&) : " - "constructing limitedSurfaceInterpolationScheme<Type>" + InfoInFunction + << "Constructing limitedSurfaceInterpolationScheme<Type>" << endl; } diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationScheme.C b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationScheme.C index 516f2387f01a7daade1aee71dc259a767f336f94..62288018b0cd21861361a54470e52d9cd4287381 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationScheme.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationScheme.C @@ -33,7 +33,6 @@ Description // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // -//- Construct from face-flux field and coefficient template<class Type> Foam::multivariateSurfaceInterpolationScheme<Type>:: multivariateSurfaceInterpolationScheme @@ -63,11 +62,8 @@ Foam::multivariateSurfaceInterpolationScheme<Type>::New { if (fv::debug) { - Info<< "multivariateSurfaceInterpolationScheme<Type>::New" - "(const fvMesh& mesh, const fieldTable&, " - "const surfaceScalarField&, Istream&) : " - "constructing surfaceInterpolationScheme<Type>" - << endl; + InfoInFunction + << "Constructing surfaceInterpolationScheme<Type>" << endl; } const word schemeName(schemeData); diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolationScheme/surfaceInterpolationScheme.C b/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolationScheme/surfaceInterpolationScheme.C index 462d93d2654ff72c506755db30963fc5eb50805b..43bcbe9d1cfa91fbff7e38eccd514d884d3aeab0 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolationScheme/surfaceInterpolationScheme.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolationScheme/surfaceInterpolationScheme.C @@ -54,11 +54,7 @@ Foam::surfaceInterpolationScheme<Type>::New if (surfaceInterpolation::debug || surfaceInterpolationScheme<Type>::debug) { - Info<< "surfaceInterpolationScheme<Type>::New" - "(const fvMesh&, Istream&)" - " : discretisation scheme === " - << schemeName - << endl; + InfoInFunction << "Discretisation scheme = " << schemeName << endl; } typename MeshConstructorTable::iterator constructorIter = @@ -105,11 +101,8 @@ Foam::surfaceInterpolationScheme<Type>::New if (surfaceInterpolation::debug || surfaceInterpolationScheme<Type>::debug) { - Info<< "surfaceInterpolationScheme<Type>::New" - "(const fvMesh&, const surfaceScalarField&, Istream&)" - " : discretisation scheme = " - << schemeName - << endl; + InfoInFunction + << "Discretisation scheme = " << schemeName << endl; } typename MeshFluxConstructorTable::iterator constructorIter = @@ -151,11 +144,8 @@ Foam::surfaceInterpolationScheme<Type>::interpolate { if (surfaceInterpolation::debug) { - Info<< "surfaceInterpolationScheme<Type>::uncorrectedInterpolate" - "(const GeometricField<Type, fvPatchField, volMesh>&, " - "const tmp<surfaceScalarField>&, " - "const tmp<surfaceScalarField>&) : " - "interpolating " + InfoInFunction + << "Interpolating " << vf.type() << " " << vf.name() << " from cells to faces " @@ -234,10 +224,8 @@ Foam::surfaceInterpolationScheme<Type>::interpolate { if (surfaceInterpolation::debug) { - Info<< "surfaceInterpolationScheme<Type>::interpolate" - "(const GeometricField<Type, fvPatchField, volMesh>&, " - "const tmp<surfaceScalarField>&) : " - "interpolating " + InfoInFunction + << "Interpolating " << vf.type() << " " << vf.name() << " from cells to faces " @@ -310,9 +298,8 @@ Foam::surfaceInterpolationScheme<Type>::interpolate { if (surfaceInterpolation::debug) { - Info<< "surfaceInterpolationScheme<Type>::interpolate" - "(const GeometricField<Type, fvPatchField, volMesh>&) : " - "interpolating " + InfoInFunction + << "Interpolating " << vf.type() << " " << vf.name() << " from cells to faces" diff --git a/src/lagrangian/basic/Cloud/Cloud.C b/src/lagrangian/basic/Cloud/Cloud.C index 9b959cfafa9c529a26224e239f92bae91f4a169e..4a573a46ee31e75c8634731cb2bd31a7de500d05 100644 --- a/src/lagrangian/basic/Cloud/Cloud.C +++ b/src/lagrangian/basic/Cloud/Cloud.C @@ -402,15 +402,14 @@ void Foam::Cloud<ParticleType>::autoMap { if (cloud::debug) { - Info<< "Cloud<ParticleType>::autoMap(TrackData&, const mapPolyMesh&) " - << "for lagrangian cloud " << cloud::name() << endl; + InfoInFunction << "for lagrangian cloud " << cloud::name() << endl; } const labelList& reverseCellMap = mapper.reverseCellMap(); const labelList& reverseFaceMap = mapper.reverseFaceMap(); // Reset stored data that relies on the mesh -// polyMesh_.clearCellTree(); + // polyMesh_.clearCellTree(); cellWallFacesPtr_.clear(); // Ask for the tetBasePtIs to trigger all processors to build diff --git a/src/lagrangian/basic/particle/particle.C b/src/lagrangian/basic/particle/particle.C index c71559d042eb11f53d5a146546ea20dd26265884..9bf602eaba0ae72b04ed8d8155ed4378114601b1 100644 --- a/src/lagrangian/basic/particle/particle.C +++ b/src/lagrangian/basic/particle/particle.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -130,8 +130,6 @@ void Foam::particle::transformProperties(const vector&) Foam::scalar Foam::particle::wallImpactDistance(const vector&) const { - Info<< "particle::wallImpactDistance" << endl; - return 0.0; } diff --git a/src/meshTools/coordinateSystems/coordinateSystem.C b/src/meshTools/coordinateSystems/coordinateSystem.C index 68aa5e06f906347a5bdaf68df49668c48ff13656..e3d9a53c10ba00c6a602d724d2e0391a3adbd5b5 100644 --- a/src/meshTools/coordinateSystems/coordinateSystem.C +++ b/src/meshTools/coordinateSystems/coordinateSystem.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 @@ -139,9 +139,8 @@ Foam::coordinateSystem::coordinateSystem if (debug) { - Info<< "coordinateSystem::coordinateSystem" - "(const objectRegistry&, const dictionary&):" - << nl << "using global coordinate system: " + InfoInFunction + << "Using global coordinate system: " << key << "=" << index << endl; } diff --git a/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.C b/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.C index 7cbb79b7b1718f0c00c9ec762e43eb5ca6fa0d4e..22e92fa7c364f8fb380a09b1121e6d5dd46ecc89 100644 --- a/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.C +++ b/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBase.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 @@ -478,8 +478,9 @@ void Foam::mappedPatchBase::findSamples if (debug) { - Info<< "mappedPatchBase::findSamples on mesh " << sampleRegion() - << " : " << endl; + InfoInFunction + << "mesh " << sampleRegion() << " : " << endl; + forAll(nearest, sampleI) { label procI = nearest[sampleI].second().second(); diff --git a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C index 7b0a694e900db4eca2eadd9c2aca109d4138015c..ae118fa10a37d64cb52eaf245e2fb1c706415c68 100644 --- a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C +++ b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -243,7 +243,7 @@ void reactingOneDim::solveContinuity() { if (debug) { - Info<< "reactingOneDim::solveContinuity()" << endl; + InfoInFunction << endl; } const scalarField mass0 = rho_*regionMesh().V(); @@ -275,7 +275,7 @@ void reactingOneDim::solveSpeciesMass() { if (debug) { - Info<< "reactingOneDim::solveSpeciesMass()" << endl; + InfoInFunction << endl; } volScalarField Yt(0.0*Ys_[0]); @@ -316,7 +316,7 @@ void reactingOneDim::solveEnergy() { if (debug) { - Info<< "reactingOneDim::solveEnergy()" << endl; + InfoInFunction << endl; } tmp<volScalarField> alpha(solidThermo_.alpha()); diff --git a/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.C b/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.C index 13a4cb862735262879034aa0b9ef41188872bd9d..e87619f67ff64002e9e140b6fdda1b0be8f56171 100644 --- a/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.C +++ b/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.C @@ -83,7 +83,7 @@ void kinematicSingleLayer::resetPrimaryRegionSourceTerms() { if (debug) { - Info<< "kinematicSingleLayer::resetPrimaryRegionSourceTerms()" << endl; + InfoInFunction << endl; } rhoSpPrimary_ == dimensionedScalar("zero", rhoSp_.dimensions(), 0.0); @@ -96,8 +96,7 @@ void kinematicSingleLayer::transferPrimaryRegionThermoFields() { if (debug) { - Info<< "kinematicSingleLayer::" - << "transferPrimaryRegionThermoFields()" << endl; + InfoInFunction << endl; } // Update fields from primary region via direct mapped @@ -113,8 +112,7 @@ void kinematicSingleLayer::transferPrimaryRegionSourceFields() { if (debug) { - Info<< "kinematicSingleLayer::" - << "transferPrimaryRegionSourceFields()" << endl; + InfoInFunction << endl; } // Convert accummulated source terms into per unit area per unit time @@ -201,7 +199,7 @@ void kinematicSingleLayer::updateSubmodels() { if (debug) { - Info<< "kinematicSingleLayer::updateSubmodels()" << endl; + InfoInFunction << endl; } // Update injection model - mass returned is mass available for injection @@ -240,7 +238,8 @@ void kinematicSingleLayer::continuityCheck() cumulativeContErr_ += globalContErr; - Info<< "Surface film: " << type() << nl + InfoInFunction + << "Surface film: " << type() << nl << " time step continuity errors: sum local = " << sumLocalContErr << ", global = " << globalContErr << ", cumulative = " << cumulativeContErr_ << endl; @@ -252,7 +251,7 @@ void kinematicSingleLayer::solveContinuity() { if (debug) { - Info<< "kinematicSingleLayer::solveContinuity()" << endl; + InfoInFunction << endl; } solve @@ -290,7 +289,7 @@ tmp<Foam::fvVectorMatrix> kinematicSingleLayer::solveMomentum { if (debug) { - Info<< "kinematicSingleLayer::solveMomentum()" << endl; + InfoInFunction << endl; } // Momentum @@ -349,7 +348,7 @@ void kinematicSingleLayer::solveThickness { if (debug) { - Info<< "kinematicSingleLayer::solveThickness()" << endl; + InfoInFunction << endl; } volScalarField rUA(1.0/UEqn.A()); @@ -836,7 +835,8 @@ void kinematicSingleLayer::addSources { if (debug) { - Info<< "\nSurface film: " << type() << ": adding to film source:" << nl + InfoInFunction + << "\nSurface film: " << type() << ": adding to film source:" << nl << " mass = " << massSource << nl << " momentum = " << momentumSource << nl << " pressure = " << pressureSource << endl; @@ -854,7 +854,7 @@ void kinematicSingleLayer::preEvolveRegion() { if (debug) { - Info<< "kinematicSingleLayer::preEvolveRegion()" << endl; + InfoInFunction << endl; } surfaceFilmModel::preEvolveRegion(); @@ -877,7 +877,7 @@ void kinematicSingleLayer::evolveRegion() { if (debug) { - Info<< "kinematicSingleLayer::evolveRegion()" << endl; + InfoInFunction << endl; } // Update film coverage indicator diff --git a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C index 4161f1a95d83e5e2fc33bfc756fc9d2c9994cce9..f29d5d64ed8b28c04ef3b688f778f402956f9e7d 100644 --- a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C +++ b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C @@ -89,7 +89,7 @@ void thermoSingleLayer::resetPrimaryRegionSourceTerms() { if (debug) { - Info<< "thermoSingleLayer::resetPrimaryRegionSourceTerms()" << endl; + InfoInFunction << endl; } kinematicSingleLayer::resetPrimaryRegionSourceTerms(); @@ -146,7 +146,7 @@ void thermoSingleLayer::transferPrimaryRegionThermoFields() { if (debug) { - Info<< "thermoSingleLayer::transferPrimaryRegionThermoFields()" << endl; + InfoInFunction << endl; } kinematicSingleLayer::transferPrimaryRegionThermoFields(); @@ -165,7 +165,7 @@ void thermoSingleLayer::transferPrimaryRegionSourceFields() { if (debug) { - Info<< "thermoSingleLayer::transferPrimaryRegionSourceFields()" << endl; + InfoInFunction << endl; } kinematicSingleLayer::transferPrimaryRegionSourceFields(); @@ -224,7 +224,7 @@ void thermoSingleLayer::updateSubmodels() { if (debug) { - Info<< "thermoSingleLayer::updateSubmodels()" << endl; + InfoInFunction << endl; } // Update heat transfer coefficient sub-models @@ -271,7 +271,7 @@ void thermoSingleLayer::solveEnergy() { if (debug) { - Info<< "thermoSingleLayer::solveEnergy()" << endl; + InfoInFunction << endl; } updateSurfaceTemperatures(); @@ -608,7 +608,7 @@ void thermoSingleLayer::preEvolveRegion() { if (debug) { - Info<< "thermoSingleLayer::preEvolveRegion()" << endl; + InfoInFunction << endl; } // correctHsForMappedT(); @@ -625,7 +625,7 @@ void thermoSingleLayer::evolveRegion() { if (debug) { - Info<< "thermoSingleLayer::evolveRegion()" << endl; + InfoInFunction << endl; } // Update film coverage indicator diff --git a/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.C b/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.C index f63ccde2389b7e2d99c8d8ecdedb37e790f5641d..360bdfeb1fc246c0c7b8e319730360fcb1721994 100644 --- a/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.C +++ b/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.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 @@ -68,7 +68,7 @@ void thermalBaffle::solveEnergy() { if (debug) { - Info<< "thermalBaffle::solveEnergy()" << endl; + InfoInFunction << endl; } const polyBoundaryMesh& rbm = regionMesh().boundaryMesh(); diff --git a/src/surfMesh/MeshedSurfaceProxy/MeshedSurfaceProxy.C b/src/surfMesh/MeshedSurfaceProxy/MeshedSurfaceProxy.C index ac75fa52d89bd18f06b1d3728f50f53a95113bd7..4b8a754bcaa66afb1696f4e2b1cab24c845fdd6d 100644 --- a/src/surfMesh/MeshedSurfaceProxy/MeshedSurfaceProxy.C +++ b/src/surfMesh/MeshedSurfaceProxy/MeshedSurfaceProxy.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,7 @@ void Foam::MeshedSurfaceProxy<Face>::write { if (debug) { - Info<< "MeshedSurfaceProxy::write" - "(const fileName&, const MeshedSurfaceProxy&) : " - "writing to " << name - << endl; + InfoInFunction << "Writing to " << name << endl; } word ext = name.ext(); @@ -98,14 +95,11 @@ void Foam::MeshedSurfaceProxy<Face>::write if (debug) { - Info<< "MeshedSurfaceProxy::write" - "(const Time&, const word&) : " - "writing to " << name - << endl; + InfoInFunction << "Writing to " << name << endl; } - // the local location + // The local location const fileName objectDir ( t.timePath()/surfaceRegistry::prefix/name/surfMesh::meshSubDir diff --git a/src/surfMesh/UnsortedMeshedSurface/UnsortedMeshedSurface.C b/src/surfMesh/UnsortedMeshedSurface/UnsortedMeshedSurface.C index 1315c05536d275369011971cfc74c0e8617502f5..10a973eb053477fc186556a8fe525fa20d7db865 100644 --- a/src/surfMesh/UnsortedMeshedSurface/UnsortedMeshedSurface.C +++ b/src/surfMesh/UnsortedMeshedSurface/UnsortedMeshedSurface.C @@ -107,10 +107,7 @@ void Foam::UnsortedMeshedSurface<Face>::write { if (debug) { - Info<< "UnsortedMeshedSurface::write" - "(const fileName&, const UnsortedMeshedSurface&) : " - "writing to " << name - << endl; + InfoInFunction << "Writing to " << name << endl; } const word ext = name.ext(); diff --git a/src/thermophysicalModels/basic/psiThermo/hePsiThermo.C b/src/thermophysicalModels/basic/psiThermo/hePsiThermo.C index 970fc82fe3e57bc851d99a715deeaa74bd6731d6..67063b57c457bb600983f8daa685e76540318f59 100644 --- a/src/thermophysicalModels/basic/psiThermo/hePsiThermo.C +++ b/src/thermophysicalModels/basic/psiThermo/hePsiThermo.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -131,8 +131,7 @@ void Foam::hePsiThermo<BasicPsiThermo, MixtureType>::correct() { if (debug) { - Info<< "entering hePsiThermo<BasicPsiThermo, MixtureType>::correct()" - << endl; + InfoInFunction << endl; } // force the saving of the old-time values @@ -142,8 +141,7 @@ void Foam::hePsiThermo<BasicPsiThermo, MixtureType>::correct() if (debug) { - Info<< "exiting hePsiThermo<BasicPsiThermo, MixtureType>::correct()" - << endl; + Info<< " Finished" << endl; } } diff --git a/src/thermophysicalModels/basic/rhoThermo/heRhoThermo.C b/src/thermophysicalModels/basic/rhoThermo/heRhoThermo.C index ec7aad7e72a0dc68d25b1a787fd5df2800b954e1..7db79d8fc8f46f060b040993eb213a73d64e6ee9 100644 --- a/src/thermophysicalModels/basic/rhoThermo/heRhoThermo.C +++ b/src/thermophysicalModels/basic/rhoThermo/heRhoThermo.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -133,14 +133,14 @@ void Foam::heRhoThermo<BasicPsiThermo, MixtureType>::correct() { if (debug) { - Info<< "entering heRhoThermo<MixtureType>::correct()" << endl; + InfoInFunction << endl; } calculate(); if (debug) { - Info<< "exiting heRhoThermo<MixtureType>::correct()" << endl; + Info<< " Finished" << endl; } } diff --git a/src/thermophysicalModels/reactionThermo/psiuReactionThermo/heheuPsiThermo.C b/src/thermophysicalModels/reactionThermo/psiuReactionThermo/heheuPsiThermo.C index 982446ccb11bbedfe5323f644b6f55329a3474da..7d51293208e61512d33bad2dc9adfdd81e8dce94 100644 --- a/src/thermophysicalModels/reactionThermo/psiuReactionThermo/heheuPsiThermo.C +++ b/src/thermophysicalModels/reactionThermo/psiuReactionThermo/heheuPsiThermo.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 @@ -204,8 +204,7 @@ void Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::correct() { if (debug) { - Info<< "entering heheuPsiThermo<BasicPsiThermo, MixtureType>::correct()" - << endl; + InfoInFunction << endl; } // force the saving of the old-time values @@ -215,8 +214,7 @@ void Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::correct() if (debug) { - Info<< "exiting heheuPsiThermo<BasicPsiThermo, MixtureType>::correct()" - << endl; + Info<< " Finished" << endl; } } diff --git a/src/thermophysicalModels/solidThermo/solidThermo/heSolidThermo.C b/src/thermophysicalModels/solidThermo/solidThermo/heSolidThermo.C index d70e42a77e4dba600364e7b675950743f98dde02..75de2bc00314a57260d1d9ee843f493a63553150 100644 --- a/src/thermophysicalModels/solidThermo/solidThermo/heSolidThermo.C +++ b/src/thermophysicalModels/solidThermo/solidThermo/heSolidThermo.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -168,14 +168,14 @@ void Foam::heSolidThermo<BasicSolidThermo, MixtureType>::correct() { if (debug) { - Info<< "entering heSolidThermo<MixtureType>::correct()" << endl; + InfoInFunction << endl; } calculate(); if (debug) { - Info<< "exiting heSolidThermo<MixtureType>::correct()" << endl; + Info<< " Finished" << endl; } }