Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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}