Commit d1b2ccd5 authored by mattijs's avatar mattijs
Browse files

ENH: objectRegistry: print type when debugging

parent 4c8ba8b5
...@@ -3,7 +3,7 @@ ...@@ -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 ...@@ -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 ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment