Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4DNAIRTMoleculeEncounterStepper.cc File Reference

Go to the source code of this file.

Functions

template<typename T >
bool IsInf (T value)
 

Function Documentation

◆ IsInf()

template<typename T >
bool IsInf ( value)
inline

Definition at line 100 of file G4DNAIRTMoleculeEncounterStepper.cc.

101{
102 return std::numeric_limits<T>::has_infinity
103 && value == std::numeric_limits<T>::infinity();
104}