mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Removed spurious polyMesh::directions() function.
This commit is contained in:
@ -137,7 +137,6 @@ void Foam::polyMeshInfo::queryWedge()
|
|||||||
|
|
||||||
void Foam::polyMeshInfo::queryDirections()
|
void Foam::polyMeshInfo::queryDirections()
|
||||||
{
|
{
|
||||||
|
|
||||||
vector dirVec = vector::zero;
|
vector dirVec = vector::zero;
|
||||||
|
|
||||||
forAll(mesh_.boundaryMesh(), patchi)
|
forAll(mesh_.boundaryMesh(), patchi)
|
||||||
@ -147,7 +146,8 @@ void Foam::polyMeshInfo::queryDirections()
|
|||||||
if (mesh_.boundaryMesh()[patchi].size())
|
if (mesh_.boundaryMesh()[patchi].size())
|
||||||
{
|
{
|
||||||
nEmpty_++;
|
nEmpty_++;
|
||||||
dirVec += sum(cmptMag(mesh_.boundaryMesh()[patchi].faceAreas()));
|
dirVec +=
|
||||||
|
sum(cmptMag(mesh_.boundaryMesh()[patchi].faceAreas()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -226,12 +226,6 @@ Foam::polyMeshInfo::~polyMeshInfo()
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
const Foam::Vector<Foam::label>& Foam::polyMesh::directions() const
|
|
||||||
{
|
|
||||||
return directions_;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::label Foam::polyMeshInfo::nGeometricD() const
|
Foam::label Foam::polyMeshInfo::nGeometricD() const
|
||||||
{
|
{
|
||||||
return nGeometricD_;
|
return nGeometricD_;
|
||||||
|
|||||||
Reference in New Issue
Block a user