STYLE: Comment tidying, changing scalar& -> scalar.

This commit is contained in:
graham
2011-05-18 15:28:15 +01:00
parent e7eadb768c
commit 5319c0696c
3 changed files with 9 additions and 6 deletions

View File

@ -246,7 +246,7 @@ bool Foam::hierarchicalDensityWeightedStochastic::fillBox
forAll(insideCorners, i)
{
// Use the sizes to improve the min/max cell size estimate
scalar& s = cornerSizes[i];
scalar s = cornerSizes[i];
if (s > maxCellSize)
{
@ -357,7 +357,7 @@ bool Foam::hierarchicalDensityWeightedStochastic::fillBox
forAll(insideLines, i)
{
// Use the sizes to improve the min/max cell size estimate
scalar& s = lineSizes[i];
scalar s = lineSizes[i];
if (s > maxCellSize)
{
@ -459,7 +459,7 @@ bool Foam::hierarchicalDensityWeightedStochastic::fillBox
{
nInside++;
scalar& s = sampleSizes[i];
scalar s = sampleSizes[i];
if (s > maxCellSize)
{

View File

@ -64,7 +64,7 @@ private:
// population of areas of small size
scalar minCellSizeLimit_;
//- Maximum normal level of recursion, can be more if a high density
//- Minimum normal level of recursion, can be more if a high density
// ratio is detected
label minLevels_;
@ -72,13 +72,16 @@ private:
scalar maxSizeRatio_;
//- How fine should the initial sample of the volume a box be to
// investigate it cell sizes and volume fraction
// investigate its cell sizes and volume fraction
label volRes_;
//- How fine should the initial sample of the surface of a box be to
// investigate if it is near to a the geometry.
label surfRes_;
// Private Member Functions
//- Write boundBox as obj
void writeOBJ
(

View File

@ -61,7 +61,7 @@ protected:
// Protected data
//- Reference to the conformalVoronoiMesh holding this cvControls object
//- Reference to the conformalVoronoiMesh holding this object
const conformalVoronoiMesh& cvMesh_;
//- Method details dictionary