mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Comment tidying, changing scalar& -> scalar.
This commit is contained in:
@ -246,7 +246,7 @@ bool Foam::hierarchicalDensityWeightedStochastic::fillBox
|
|||||||
forAll(insideCorners, i)
|
forAll(insideCorners, i)
|
||||||
{
|
{
|
||||||
// Use the sizes to improve the min/max cell size estimate
|
// Use the sizes to improve the min/max cell size estimate
|
||||||
scalar& s = cornerSizes[i];
|
scalar s = cornerSizes[i];
|
||||||
|
|
||||||
if (s > maxCellSize)
|
if (s > maxCellSize)
|
||||||
{
|
{
|
||||||
@ -357,7 +357,7 @@ bool Foam::hierarchicalDensityWeightedStochastic::fillBox
|
|||||||
forAll(insideLines, i)
|
forAll(insideLines, i)
|
||||||
{
|
{
|
||||||
// Use the sizes to improve the min/max cell size estimate
|
// Use the sizes to improve the min/max cell size estimate
|
||||||
scalar& s = lineSizes[i];
|
scalar s = lineSizes[i];
|
||||||
|
|
||||||
if (s > maxCellSize)
|
if (s > maxCellSize)
|
||||||
{
|
{
|
||||||
@ -459,7 +459,7 @@ bool Foam::hierarchicalDensityWeightedStochastic::fillBox
|
|||||||
{
|
{
|
||||||
nInside++;
|
nInside++;
|
||||||
|
|
||||||
scalar& s = sampleSizes[i];
|
scalar s = sampleSizes[i];
|
||||||
|
|
||||||
if (s > maxCellSize)
|
if (s > maxCellSize)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -64,7 +64,7 @@ private:
|
|||||||
// population of areas of small size
|
// population of areas of small size
|
||||||
scalar minCellSizeLimit_;
|
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
|
// ratio is detected
|
||||||
label minLevels_;
|
label minLevels_;
|
||||||
|
|
||||||
@ -72,13 +72,16 @@ private:
|
|||||||
scalar maxSizeRatio_;
|
scalar maxSizeRatio_;
|
||||||
|
|
||||||
//- How fine should the initial sample of the volume a box be to
|
//- 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_;
|
label volRes_;
|
||||||
|
|
||||||
//- How fine should the initial sample of the surface of a box be to
|
//- How fine should the initial sample of the surface of a box be to
|
||||||
// investigate if it is near to a the geometry.
|
// investigate if it is near to a the geometry.
|
||||||
label surfRes_;
|
label surfRes_;
|
||||||
|
|
||||||
|
|
||||||
|
// Private Member Functions
|
||||||
|
|
||||||
//- Write boundBox as obj
|
//- Write boundBox as obj
|
||||||
void writeOBJ
|
void writeOBJ
|
||||||
(
|
(
|
||||||
|
|||||||
@ -61,7 +61,7 @@ protected:
|
|||||||
|
|
||||||
// Protected data
|
// Protected data
|
||||||
|
|
||||||
//- Reference to the conformalVoronoiMesh holding this cvControls object
|
//- Reference to the conformalVoronoiMesh holding this object
|
||||||
const conformalVoronoiMesh& cvMesh_;
|
const conformalVoronoiMesh& cvMesh_;
|
||||||
|
|
||||||
//- Method details dictionary
|
//- Method details dictionary
|
||||||
|
|||||||
Reference in New Issue
Block a user