mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: surface: various updates to the surface utilities
surfaceBooleanFeatures: use CGAL for intersection surfaceCheck: write surface zoning as vtk file surfaceInflate: new utility to offset surface surfacePatch: replacement for surfaceAutoPatch. Also does cutting of surfaces.
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -286,7 +286,11 @@ void Foam::edgeMesh::scalePoints(const scalar scaleFactor)
|
||||
}
|
||||
|
||||
|
||||
void Foam::edgeMesh::mergePoints(const scalar mergeDist)
|
||||
void Foam::edgeMesh::mergePoints
|
||||
(
|
||||
const scalar mergeDist,
|
||||
labelList& reversePointMap
|
||||
)
|
||||
{
|
||||
pointField newPoints;
|
||||
labelList pointMap;
|
||||
@ -307,6 +311,9 @@ void Foam::edgeMesh::mergePoints(const scalar mergeDist)
|
||||
|
||||
points_.transfer(newPoints);
|
||||
|
||||
// connectivity changed
|
||||
pointEdgesPtr_.clear();
|
||||
|
||||
// Renumber and make sure e[0] < e[1] (not really necessary)
|
||||
forAll(edges_, edgeI)
|
||||
{
|
||||
@ -383,6 +390,9 @@ void Foam::edgeMesh::mergeEdges()
|
||||
{
|
||||
edges_[iter()] = iter.key();
|
||||
}
|
||||
|
||||
// connectivity changed
|
||||
pointEdgesPtr_.clear();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user