ENH: objectRegistry: print type when debugging

This commit is contained in:
mattijs
2015-11-11 12:51:13 +00:00
parent 4c8ba8b5db
commit d1b2ccd5ca

View File

@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -222,6 +222,7 @@ bool Foam::objectRegistry::checkIn(regIOobject& io) const
{ {
Pout<< "objectRegistry::checkIn(regIOobject&) : " Pout<< "objectRegistry::checkIn(regIOobject&) : "
<< name() << " : checking in " << io.name() << name() << " : checking in " << io.name()
<< " of type " << io.type()
<< endl; << endl;
} }
@ -354,6 +355,7 @@ bool Foam::objectRegistry::writeObject
Pout<< "objectRegistry::write() : " Pout<< "objectRegistry::write() : "
<< name() << " : Considering writing object " << name() << " : Considering writing object "
<< iter.key() << iter.key()
<< " of type " << iter()->type()
<< " with writeOpt " << iter()->writeOpt() << " with writeOpt " << iter()->writeOpt()
<< " to file " << iter()->objectPath() << " to file " << iter()->objectPath()
<< endl; << endl;