interpolationWeights: Info messages now switched by debug

This commit is contained in:
Henry
2012-05-02 10:54:19 +01:00
parent cd7fd862cc
commit 664fb30912
2 changed files with 11 additions and 104 deletions

View File

@ -57,8 +57,12 @@ autoPtr<interpolationWeights> interpolationWeights::New
const scalarField& samples
)
{
Info<< nl << "Selecting interpolationWeights "
<< type << endl;
if (debug)
{
InfoIn("interpolationWeights::New")
<< "Selecting interpolationWeights "
<< type << endl;
}
wordConstructorTable::iterator cstrIter =
wordConstructorTablePtr_->find(type);
@ -87,33 +91,6 @@ interpolationWeights::~interpolationWeights()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
//objectRegistry& interpolationWeights::registry
//(
// const objectRegistry& obr,
// const word& name
//)
//{
// if (!obr.foundObject<objectRegistry>(name))
// {
// objectRegistry* fieldsCachePtr = new objectRegistry
// (
// IOobject
// (
// name,
// obr.time().constant(),
// obr,
// IOobject::NO_READ,
// IOobject::NO_WRITE
// )
// );
// fieldsCachePtr->store();
// }
// return const_cast<objectRegistry&>(obr.subRegistry(name));
//}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam