indentation; comments

This commit is contained in:
mattijs
2009-03-18 11:46:08 +00:00
parent 10e3e7f560
commit af3ca86e0d
2 changed files with 2 additions and 6 deletions

View File

@ -1388,11 +1388,7 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::autoSnapDriver::repatchToSurface
}
}
pointField localFaceCentres(pp.size());
forAll(pp, i)
{
localFaceCentres[i] = mesh.faceCentres()[pp.addressing()[i]];
}
pointField localFaceCentres(mesh.faceCentres(), pp.addressing());
// Get nearest surface and region
labelList hitSurface;

View File

@ -1242,7 +1242,7 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::meshRefinement::refine
// Do refinement of consistent set of cells followed by truncation and
// load balancing.
Foam::autoPtr<Foam::mapDistributePolyMesh>
Foam::meshRefinement::refineAndBalance
Foam::meshRefinement::refineAndBalance
(
const string& msg,
decompositionMethod& decomposer,