From 61b29463d101de475d108029424c634bfadafdcd Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 19 Aug 2009 15:19:02 +0100 Subject: [PATCH] renamed patches to patchInfo --- .../mesh/manipulation/createPatch/createPatch.C | 10 +++++----- .../mesh/manipulation/createPatch/createPatchDict | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/applications/utilities/mesh/manipulation/createPatch/createPatch.C b/applications/utilities/mesh/manipulation/createPatch/createPatch.C index 7d74e7208c..40ba0efade 100644 --- a/applications/utilities/mesh/manipulation/createPatch/createPatch.C +++ b/applications/utilities/mesh/manipulation/createPatch/createPatch.C @@ -208,8 +208,8 @@ void dumpCyclicMatch(const fileName& prefix, const polyMesh& mesh) // Dump halves { OFstream str(prefix+cycPatch.name()+"_half0.obj"); - Pout<< "Dumping cycPatch.name() half0 faces to " << str.name() - << endl; + Pout<< "Dumping " << cycPatch.name() + << " half0 faces to " << str.name() << endl; meshTools::writeOBJ ( str, @@ -226,8 +226,8 @@ void dumpCyclicMatch(const fileName& prefix, const polyMesh& mesh) } { OFstream str(prefix+cycPatch.name()+"_half1.obj"); - Pout<< "Dumping cycPatch.name() half1 faces to " << str.name() - << endl; + Pout<< "Dumping " << cycPatch.name() + << " half1 faces to " << str.name() << endl; meshTools::writeOBJ ( str, @@ -563,7 +563,7 @@ int main(int argc, char *argv[]) dumpCyclicMatch("initial_", mesh); // Read patch construct info from dictionary - PtrList patchSources(dict.lookup("patches")); + PtrList patchSources(dict.lookup("patchInfo")); diff --git a/applications/utilities/mesh/manipulation/createPatch/createPatchDict b/applications/utilities/mesh/manipulation/createPatch/createPatchDict index 9704392a10..b8676f134d 100644 --- a/applications/utilities/mesh/manipulation/createPatch/createPatchDict +++ b/applications/utilities/mesh/manipulation/createPatch/createPatchDict @@ -46,7 +46,7 @@ matchTolerance 1E-3; pointSync true; // Patches to create. -patches +patchInfo ( { // Name of new patch