mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Store default cell size instead of a reference
This commit is contained in:
@ -480,7 +480,10 @@ void Foam::CV2D::newPoints()
|
||||
alignments[vit->index()] = toPoint2D(norm[0]);
|
||||
|
||||
sizes[vit->index()] =
|
||||
cellSizeControl_.cellSize(toPoint3D(vit->point()));
|
||||
cellSizeControl_.cellSize
|
||||
(
|
||||
toPoint3D(vit->point())
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -56,7 +56,7 @@ class cellSizeAndAlignmentControls
|
||||
|
||||
PtrList<cellSizeAndAlignmentControl> controlFunctions_;
|
||||
|
||||
const scalar& defaultCellSize_;
|
||||
const scalar defaultCellSize_;
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
Reference in New Issue
Block a user