Minor tweaks

This commit is contained in:
graham
2009-08-03 15:05:50 +01:00
parent 8d9063f8e5
commit 083b8bf0d3

View File

@ -851,8 +851,6 @@ void Foam::conformalVoronoiMesh::insertInitialPoints()
}
storeSizesAndAlignments(initPts);
}
@ -875,7 +873,11 @@ void Foam::conformalVoronoiMesh::storeSizesAndAlignments
{
sizeAndAlignmentLocations_[i] = topoint(initPts[i]);
storedSizes_[i] = targetCellSize(sizeAndAlignmentLocations_[i]);
storedSizes_[i] = cellSizeControl().cellSize
(
sizeAndAlignmentLocations_[i],
false
);
storedAlignments_[i] = requiredAlignment(sizeAndAlignmentLocations_[i]);
}
@ -2246,8 +2248,6 @@ void Foam::conformalVoronoiMesh::move()
// timeCheck();
// Info<< " Calculated" << endl;
Info<< nl << " Looking up target cell alignment and size" << endl;
scalar spanSqr = cvMeshControls().spanSqr();
@ -2275,8 +2275,6 @@ void Foam::conformalVoronoiMesh::move()
timeCheck();
Info<< " Looked up" << endl;
Info<< nl << " Looping over all dual faces" << endl;
vectorField cartesianDirections(3);
@ -2485,6 +2483,7 @@ void Foam::conformalVoronoiMesh::move()
{
displacementAccumulator[vA->index()] += delta;
}
if (vB->internalPoint())
{
displacementAccumulator[vB->index()] += -delta;