mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
curvedEdges - collapse unneed function
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user