Formatting

This commit is contained in:
Hrvoje Jasak 2011-03-03 10:14:31 +00:00
parent 3ae0021235
commit 3f71f3372d
2 changed files with 5 additions and 4 deletions

View file

@ -129,7 +129,7 @@ int main(int argc, char *argv[])
Info<< "Time = " << runTime.timeName() << endl; Info<< "Time = " << runTime.timeName() << endl;
// determine the existing processor count directly // Determine the existing processor count directly
label nProcs = 0; label nProcs = 0;
while while
( (
@ -505,7 +505,8 @@ int main(int argc, char *argv[])
if (!cellParticles[cloudI][celli]) if (!cellParticles[cloudI][celli])
{ {
cellParticles[cloudI][celli] = new SLList<indexedParticle*>(); cellParticles[cloudI][celli] =
new SLList<indexedParticle*>();
} }
cellParticles[cloudI][celli]->append(&iter()); cellParticles[cloudI][celli]->append(&iter());
@ -593,7 +594,7 @@ int main(int argc, char *argv[])
Info<< endl; Info<< endl;
// split the fields over processors // Split the fields over processors
for (label procI = 0; procI < mesh.nProcs(); procI++) for (label procI = 0; procI < mesh.nProcs(); procI++)
{ {
Info<< "Processor " << procI << ": field transfer" << endl; Info<< "Processor " << procI << ": field transfer" << endl;

View file

@ -70,7 +70,7 @@ int main(int argc, char *argv[])
bool noLagrangian = args.optionFound("noLagrangian"); bool noLagrangian = args.optionFound("noLagrangian");
// determine the processor count directly // Determine the processor count directly
label nProcs = 0; label nProcs = 0;
while (isDir(args.path()/(word("processor") + name(nProcs)))) while (isDir(args.path()/(word("processor") + name(nProcs))))
{ {