Closing brace in wrong place, non internalOrBoundaryPoint Dvs asked for

alignment which was uninitialised.
This commit is contained in:
graham
2009-07-11 12:49:34 +01:00
parent 0e8967e654
commit 5f50cd5f29
2 changed files with 48 additions and 51 deletions

View File

@ -59,16 +59,11 @@ int main(int argc, char *argv[])
while (runTime.run()) while (runTime.run())
{ {
Info<< nl << "Time = " << runTime.timeName() Info<< nl << "Time = " << runTime.timeName() << endl;
<< endl;
mesh.move(); mesh.move();
runTime++; runTime++;
Info<< nl << "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< endl;
} }
Info<< nl << "End\n" << endl; Info<< nl << "End\n" << endl;

View File

@ -2100,7 +2100,6 @@ void Foam::conformalVoronoiMesh::move()
} while (++cc != ccStart); } while (++cc != ccStart);
verticesOnFace.shrink(); verticesOnFace.shrink();
}
Cell_handle c = eit->first; Cell_handle c = eit->first;
Vertex_handle vA = c->vertex(eit->second); Vertex_handle vA = c->vertex(eit->second);
@ -2109,8 +2108,10 @@ void Foam::conformalVoronoiMesh::move()
point dVA = topoint(vA->point()); point dVA = topoint(vA->point());
point dVB = topoint(vB->point()); point dVB = topoint(vB->point());
Field<vector> alignmentDirsA = vA->alignment() & cartesianDirections; Field<vector> alignmentDirsA =
Field<vector> alignmentDirsB = vB->alignment() & cartesianDirections; vA->alignment() & cartesianDirections;
Field<vector> alignmentDirsB =
vB->alignment() & cartesianDirections;
Field<vector> alignmentDirs(3); Field<vector> alignmentDirs(3);
@ -2171,6 +2172,7 @@ void Foam::conformalVoronoiMesh::move()
} }
} }
} }
}
} }