mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
clean up memory
This commit is contained in:
@ -2546,6 +2546,11 @@ void Foam::autoLayerDriver::addLayers
|
||||
);
|
||||
|
||||
|
||||
// Undistorted edge length
|
||||
const scalar edge0Len = meshRefiner_.meshCutter().level0EdgeLength();
|
||||
const labelList& cellLevel = meshRefiner_.meshCutter().cellLevel();
|
||||
|
||||
|
||||
// Point-wise extrusion data
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@ -2559,7 +2564,7 @@ void Foam::autoLayerDriver::addLayers
|
||||
// Whether to add edge for all pp.localPoints.
|
||||
List<extrudeMode> extrudeStatus(pp().nPoints(), EXTRUDE);
|
||||
|
||||
|
||||
{
|
||||
// Get number of layer per point from number of layers per patch
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@ -2607,10 +2612,6 @@ void Foam::autoLayerDriver::addLayers
|
||||
// Disable extrusion on warped faces
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// Undistorted edge length
|
||||
const scalar edge0Len = meshRefiner_.meshCutter().level0EdgeLength();
|
||||
const labelList& cellLevel = meshRefiner_.meshCutter().cellLevel();
|
||||
|
||||
handleWarpedFaces
|
||||
(
|
||||
pp,
|
||||
@ -2647,6 +2648,7 @@ void Foam::autoLayerDriver::addLayers
|
||||
extrudeStatus
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Determine (wanted) point-wise layer thickness and expansion ratio
|
||||
|
||||
Reference in New Issue
Block a user