mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Remove unused functions
This commit is contained in:
@ -139,17 +139,11 @@ public:
|
||||
return coeffsDict_;
|
||||
}
|
||||
|
||||
virtual const scalar& surfaceSize(const label index) const = 0;
|
||||
|
||||
virtual const scalar& refineSurfaceSize(const label index) = 0;
|
||||
|
||||
virtual scalar interpolate
|
||||
(
|
||||
const point& pt,
|
||||
const label index
|
||||
) const = 0;
|
||||
|
||||
virtual void recalculateInterpolation() const = 0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -65,20 +65,6 @@ Foam::uniformValue::uniformValue
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
const Foam::scalar& Foam::uniformValue::surfaceSize(const label index) const
|
||||
{
|
||||
return surfaceCellSize_;
|
||||
}
|
||||
|
||||
|
||||
const Foam::scalar& Foam::uniformValue::refineSurfaceSize(const label index)
|
||||
{
|
||||
surfaceCellSize_ *= refinementFactor_;
|
||||
|
||||
return surfaceCellSize_;
|
||||
}
|
||||
|
||||
|
||||
Foam::scalar Foam::uniformValue::interpolate
|
||||
(
|
||||
const point& pt,
|
||||
@ -89,8 +75,4 @@ Foam::scalar Foam::uniformValue::interpolate
|
||||
}
|
||||
|
||||
|
||||
void Foam::uniformValue::recalculateInterpolation() const
|
||||
{}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -81,17 +81,11 @@ public:
|
||||
|
||||
// Member Functions
|
||||
|
||||
virtual const scalar& surfaceSize(const label index) const;
|
||||
|
||||
virtual const scalar& refineSurfaceSize(const label index);
|
||||
|
||||
virtual scalar interpolate
|
||||
(
|
||||
const point& pt,
|
||||
const label index
|
||||
) const;
|
||||
|
||||
virtual void recalculateInterpolation() const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user