Update eloss authored by Jeppe Schultz Nielsen's avatar Jeppe Schultz Nielsen
...@@ -98,7 +98,7 @@ EnergyLossRangeInverter DEr1( move(rc1) ); ...@@ -98,7 +98,7 @@ EnergyLossRangeInverter DEr1( move(rc1) );
EnergyLossRangeInverter DEr2( move(rc2) ); EnergyLossRangeInverter DEr2( move(rc2) );
``` ```
The calculators provide identical functionalities, but rely on different methods. The first calculator (`DEsp`) integrates the stopping powers numerically, whereas the second and the third calculator (`DEr1` and `DEr2`) use the inverse-range method, though they differ in the way they determine the range function. The calculators provide identical functionalities, but rely on different methods. The first calculator (`DEsp`) integrates the stopping powers numerically, whereas the second and the third calculator (`DEr1` and `DEr2`) use the inverse-range method, though they differ in the way they determine the range function.
If you do not have [GSL](wikis/GSL) installed on your computer, you can still use our home-made integrator: If you do not have [GSL](GSL) installed on your computer, you can still use our home-made integrator:
```cpp ```cpp
#include <ausa/eloss/EnergyLossIntegrator.h> #include <ausa/eloss/EnergyLossIntegrator.h>
EnergyLossIntegrator DEsp( move(spc) ); EnergyLossIntegrator DEsp( move(spc) );
... ...
......