From 217dad11afa35d21d054ab9502e9db7af6d19b40 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 3 Feb 2012 12:34:47 +0000 Subject: [PATCH] ENH: topoSet: print type of set --- .../utilities/mesh/manipulation/topoSet/topoSet.C | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/applications/utilities/mesh/manipulation/topoSet/topoSet.C b/applications/utilities/mesh/manipulation/topoSet/topoSet.C index 5aedbdc7..cd2a96fc 100644 --- a/applications/utilities/mesh/manipulation/topoSet/topoSet.C +++ b/applications/utilities/mesh/manipulation/topoSet/topoSet.C @@ -286,7 +286,8 @@ int main(int argc, char *argv[]) ) { currentSet = topoSet::New(setType, mesh, setName, 10000); - Info<< "Created set " << setName << endl; + Info<< "Created " << currentSet().type() << " " + << setName << endl; } else if (action == topoSetSource::REMOVE) { @@ -301,7 +302,8 @@ int main(int argc, char *argv[]) setName, IOobject::MUST_READ ); - Info<< "Read set " << setName << " with size " + Info<< "Read set " << currentSet().type() << " " + << setName << " with size " << returnReduce(currentSet().size(), sumOp