From 7a3212825d3cf4984b745844d83bbe06db0a1559 Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@Germany> Date: Tue, 27 Oct 2009 08:57:21 +0100 Subject: [PATCH] curvedEdges - collapse unneed function --- .../blockMesh/curvedEdges/polySplineEdge.C | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/src/mesh/blockMesh/curvedEdges/polySplineEdge.C b/src/mesh/blockMesh/curvedEdges/polySplineEdge.C index 866689d8cfe..8e4f0f90b3c 100644 --- a/src/mesh/blockMesh/curvedEdges/polySplineEdge.C +++ b/src/mesh/blockMesh/curvedEdges/polySplineEdge.C @@ -36,20 +36,6 @@ namespace Foam addToRunTimeSelectionTable(curvedEdge, polySplineEdge, Istream); } - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - //! @cond fileScope - inline label nsize(const label otherKnotsSize, const label nBetweenKnots) - { - return otherKnotsSize*(1 + nBetweenKnots) + nBetweenKnots + 2; - } - //! @endcond fileScope -} - - // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // // intervening : returns a list of the points making up the polyLineEdge @@ -75,7 +61,10 @@ Foam::pointField Foam::polySplineEdge::intervening sndend ); - const label nSize(nsize(otherknots.size(), nBetweenKnots)); + const label nSize + ( + otherknots.size() * (1 + nBetweenKnots) + nBetweenKnots + 2 + ); const label NKnots = spl.nKnots(); const scalar init = 1.0/(NKnots - 1); -- GitLab