OpenMPCD
Functions
OpenMPCD::Utility::MathematicalConstants Namespace Reference

Holds mathematical constants. More...

Functions

template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICEpi ()
 Returns the value of \( \pi \). More...
 

Detailed Description

Holds mathematical constants.

Function Documentation

◆ pi()

template<typename T >
OPENMPCD_CUDA_HOST_AND_DEVICE T OpenMPCD::Utility::MathematicalConstants::pi ( )

Returns the value of \( \pi \).

Template Parameters
TThe data type to return.

Definition at line 29 of file MathematicalConstants.hpp.