Skip to content
Snippets Groups Projects
Commit fccb9b02 authored by graham's avatar graham
Browse files

Using new constant::math

parent 0ec29834
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ SourceFiles ...@@ -49,7 +49,7 @@ SourceFiles
#include "autoPtr.H" #include "autoPtr.H"
#include "interpolationCellPoint.H" #include "interpolationCellPoint.H"
#include "contiguous.H" #include "contiguous.H"
#include "mathematicalConstants.H" #include "mathConstants.H"
#include "InteractingKinematicCloud.H" #include "InteractingKinematicCloud.H"
......
...@@ -374,7 +374,7 @@ template <class ParcelType> ...@@ -374,7 +374,7 @@ template <class ParcelType>
inline Foam::scalar inline Foam::scalar
Foam::InteractingKinematicParcel<ParcelType>::volume(const scalar d) const Foam::InteractingKinematicParcel<ParcelType>::volume(const scalar d) const
{ {
return mathematicalConstant::pi/6.0*pow3(d); return constant::math::pi/6.0*pow3(d);
} }
...@@ -404,7 +404,7 @@ template <class ParcelType> ...@@ -404,7 +404,7 @@ template <class ParcelType>
inline Foam::scalar inline Foam::scalar
Foam::InteractingKinematicParcel<ParcelType>::areaS(const scalar d) const Foam::InteractingKinematicParcel<ParcelType>::areaS(const scalar d) const
{ {
return mathematicalConstant::pi*d*d; return constant::math::pi*d*d;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment