snappyHexMesh: Renamed locationInMesh -> insidePoint
for consistency with the regionToCell topo set source and splitMeshRegions and provides more logical extension to the multiple and outside point variants insidePoints, outsidePoint and outsidePoints.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -59,7 +59,7 @@ void Foam::conformationSurfaces::hasBoundedVolume
|
||||
)
|
||||
)
|
||||
{
|
||||
pointField pts(1, locationInMesh_);
|
||||
pointField pts(1, insidePoint_);
|
||||
|
||||
List<volumeType> vTypes
|
||||
(
|
||||
@ -271,7 +271,7 @@ Foam::conformationSurfaces::conformationSurfaces
|
||||
runTime_(runTime),
|
||||
allGeometry_(allGeometry),
|
||||
features_(),
|
||||
locationInMesh_(surfaceConformationDict.lookup("locationInMesh")),
|
||||
insidePoint_(surfaceConformationDict.lookup("insidePoint")),
|
||||
surfaces_(),
|
||||
allGeometryToSurfaces_(),
|
||||
normalVolumeTypes_(),
|
||||
@ -561,7 +561,7 @@ Foam::conformationSurfaces::conformationSurfaces
|
||||
globalBounds_.min() -= newSpan;
|
||||
globalBounds_.max() += newSpan;
|
||||
|
||||
// Look at all surfaces at determine whether the locationInMesh point is
|
||||
// Look at all surfaces at determine whether the insidePoint point is
|
||||
// inside or outside each, to establish a signature for the domain to be
|
||||
// meshed.
|
||||
|
||||
@ -572,7 +572,7 @@ Foam::conformationSurfaces::conformationSurfaces
|
||||
);
|
||||
|
||||
Info<< endl
|
||||
<< "Testing for locationInMesh " << locationInMesh_ << endl;
|
||||
<< "Testing for insidePoint " << insidePoint_ << endl;
|
||||
|
||||
hasBoundedVolume(referenceVolumeTypes_);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -67,7 +67,7 @@ class conformationSurfaces
|
||||
|
||||
//- The location in the mesh that specifies which portion of surfaces is
|
||||
// to be meshed.
|
||||
point locationInMesh_;
|
||||
point insidePoint_;
|
||||
|
||||
//- Indices of surfaces in allGeometry that are to be conformed to
|
||||
labelList surfaces_;
|
||||
@ -162,7 +162,7 @@ public:
|
||||
inline const PtrList<extendedFeatureEdgeMesh>& features() const;
|
||||
|
||||
//- Return the location to mesh
|
||||
inline const point& locationInMesh() const;
|
||||
inline const point& insidePoint() const;
|
||||
|
||||
//- Return the surface indices
|
||||
inline const labelList& surfaces() const;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,9 +38,9 @@ Foam::conformationSurfaces::features() const
|
||||
}
|
||||
|
||||
|
||||
const Foam::point& Foam::conformationSurfaces::locationInMesh() const
|
||||
const Foam::point& Foam::conformationSurfaces::insidePoint() const
|
||||
{
|
||||
return locationInMesh_;
|
||||
return insidePoint_;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -152,7 +152,7 @@ Foam::CV2D::CV2D
|
||||
(
|
||||
point
|
||||
(
|
||||
cvMeshDict.subDict("surfaceConformation").lookup("locationInMesh")
|
||||
cvMeshDict.subDict("surfaceConformation").lookup("insidePoint")
|
||||
).z()
|
||||
),
|
||||
startOfInternalPoints_(0),
|
||||
|
||||
Reference in New Issue
Block a user