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

115{
116 return std::numeric_limits<T>::has_infinity
117 && value == std::numeric_limits<T>::infinity();
118}