renamed patches to patchInfo

This commit is contained in:
mattijs
2009-08-19 15:19:02 +01:00
parent 4575c3328b
commit 61b29463d1
2 changed files with 6 additions and 6 deletions

View File

@ -208,8 +208,8 @@ void dumpCyclicMatch(const fileName& prefix, const polyMesh& mesh)
// Dump halves // Dump halves
{ {
OFstream str(prefix+cycPatch.name()+"_half0.obj"); OFstream str(prefix+cycPatch.name()+"_half0.obj");
Pout<< "Dumping cycPatch.name() half0 faces to " << str.name() Pout<< "Dumping " << cycPatch.name()
<< endl; << " half0 faces to " << str.name() << endl;
meshTools::writeOBJ meshTools::writeOBJ
( (
str, str,
@ -226,8 +226,8 @@ void dumpCyclicMatch(const fileName& prefix, const polyMesh& mesh)
} }
{ {
OFstream str(prefix+cycPatch.name()+"_half1.obj"); OFstream str(prefix+cycPatch.name()+"_half1.obj");
Pout<< "Dumping cycPatch.name() half1 faces to " << str.name() Pout<< "Dumping " << cycPatch.name()
<< endl; << " half1 faces to " << str.name() << endl;
meshTools::writeOBJ meshTools::writeOBJ
( (
str, str,
@ -563,7 +563,7 @@ int main(int argc, char *argv[])
dumpCyclicMatch("initial_", mesh); dumpCyclicMatch("initial_", mesh);
// Read patch construct info from dictionary // Read patch construct info from dictionary
PtrList<dictionary> patchSources(dict.lookup("patches")); PtrList<dictionary> patchSources(dict.lookup("patchInfo"));

View File

@ -46,7 +46,7 @@ matchTolerance 1E-3;
pointSync true; pointSync true;
// Patches to create. // Patches to create.
patches patchInfo
( (
{ {
// Name of new patch // Name of new patch