IOobject: Added localPath and localObjectPath member functions
For many information and diagnostic messages the absolute path of the object is not required and the local path relative to the current case is sufficient; the new localObjectPath() member function of IOobject provides a convenient way of printing this.
This commit is contained in:
@ -387,7 +387,7 @@ namespace Foam
|
||||
feMesh.writeStats(Info);
|
||||
|
||||
Info<< nl << "Writing extendedFeatureEdgeMesh to "
|
||||
<< feMesh.objectPath() << endl;
|
||||
<< feMesh.localObjectPath() << endl;
|
||||
|
||||
mkDir(feMesh.path());
|
||||
|
||||
@ -420,7 +420,7 @@ namespace Foam
|
||||
);
|
||||
|
||||
Info<< nl << "Writing featureEdgeMesh to "
|
||||
<< bfeMesh.objectPath() << endl;
|
||||
<< bfeMesh.localObjectPath() << endl;
|
||||
|
||||
bfeMesh.regIOobject::write();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user