Info -> InfoInFunction and updated comments

This commit is contained in:
Henry Weller
2016-01-20 16:21:37 +00:00
parent 34d4cfaca3
commit 5779e4fd16
35 changed files with 134 additions and 234 deletions

View File

@ -56,8 +56,7 @@ void Foam::nearWallFields::calcAddressing()
if (debug)
{
Info<< "nearWallFields::calcAddressing() :"
<< " nPatchFaces:" << globalWalls.size() << endl;
InfoInFunction << "nPatchFaces: " << globalWalls.size() << endl;
}
// Construct cloud
@ -139,8 +138,7 @@ void Foam::nearWallFields::calcAddressing()
mesh.time().path()
/"wantedTracks_" + mesh.time().timeName() + ".obj"
);
Info<< "nearWallFields::calcAddressing() :"
<< "Dumping tracks to " << str.name() << endl;
InfoInFunction << "Dumping tracks to " << str.name() << endl;
forAllConstIter(Cloud<findCellParticle>, cloud, iter)
{
@ -202,8 +200,7 @@ void Foam::nearWallFields::calcAddressing()
mesh.time().path()
/"obtainedTracks_" + mesh.time().timeName() + ".obj"
);
Info<< "nearWallFields::calcAddressing() :"
<< "Dumping obtained to " << str.name() << endl;
InfoInFunction << "Dumping obtained to " << str.name() << endl;
forAll(cellToWalls_, cellI)
{
@ -256,7 +253,7 @@ Foam::nearWallFields::~nearWallFields()
{
if (debug)
{
Info<< "nearWallFields::~nearWallFields()" << endl;
InfoInFunction << endl;
}
}
@ -267,7 +264,7 @@ void Foam::nearWallFields::read(const dictionary& dict)
{
if (debug)
{
Info<< "nearWallFields::read(const dictionary&)" << endl;
InfoInFunction << endl;
}
if (active_)
@ -317,7 +314,7 @@ void Foam::nearWallFields::execute()
{
if (debug)
{
Info<< "nearWallFields:execute()" << endl;
InfoInFunction << endl;
}
@ -363,7 +360,7 @@ void Foam::nearWallFields::end()
{
if (debug)
{
Info<< "nearWallFields:end()" << endl;
InfoInFunction << endl;
}
if (active_)
@ -383,7 +380,7 @@ void Foam::nearWallFields::write()
{
if (debug)
{
Info<< "nearWallFields:write()" << endl;
InfoInFunction << endl;
}
if (active_)

View File

@ -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