1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-22 18:28:51 -05:00
A slightly modified version of the catima energy loss library (equivalent to LISE energy loss)
Go to file
2018-10-09 13:02:49 +02:00
bin minor warnings 2018-10-09 11:54:11 +02:00
docs Update catima_calculator.md 2018-04-13 19:01:10 +02:00
examples examples 2018-08-15 17:30:50 +02:00
tests tests warnings 2018-10-09 12:23:51 +02:00
utils ls calculation 2018-01-22 19:36:50 +01:00
.gitignore reaction first version 2018-07-31 15:34:41 +02:00
abundance_database.cpp abundances 2018-04-23 01:39:10 +02:00
abundance_database.h abundances 2018-04-23 01:39:10 +02:00
build_config.in reactions v1 2018-07-31 17:40:25 +02:00
calculations.cpp minor warnings 2018-10-09 11:54:11 +02:00
calculations.h wp 2018-02-16 16:13:09 +01:00
catima.cpp missing config in dedx_variance 2018-10-09 13:02:49 +02:00
catima.h 31 2018-07-31 01:41:44 +02:00
catima.pyx python module 2018-09-18 19:03:17 +02:00
catimac.pxd python module 2018-09-18 19:03:17 +02:00
CMakeLists.txt minor warnings 2018-10-09 11:54:11 +02:00
config.h default omega changed 2018-10-09 11:40:44 +02:00
constants.h reactions v1 2018-07-31 17:40:25 +02:00
CREDITS Update CREDITS 2018-01-26 16:04:44 +01:00
cwrapper.cpp EnergyTable is not constexpr now to support older compiler, + small other fixes like missing returns 2017-07-26 20:22:18 +02:00
cwrapper.h initial 2017-07-25 18:19:11 +02:00
data_atima.h den eff 2018-02-08 00:39:19 +01:00
data_ionisation_potential.h C Ipot 2018-02-07 10:55:35 +01:00
data_srim.h initial 2017-07-25 18:19:11 +02:00
doxygen.in initial 2017-07-25 18:19:11 +02:00
generated_LS_coeff.h ls calculation 2018-01-22 19:36:50 +01:00
init.sh.in cmake 2018-04-18 15:19:03 +02:00
integrator.cpp Update integrator.cpp 2017-12-14 16:14:56 +01:00
integrator.h integrator 2017-12-14 15:07:54 +01:00
LICENSE initial 2017-07-25 18:19:11 +02:00
material_database.cpp epoxy glue added 2018-07-02 00:54:45 +02:00
material_database.h epoxy glue added 2018-07-02 00:54:45 +02:00
nucdata.cpp initial 2017-07-25 18:19:11 +02:00
nucdata.h initial 2017-07-25 18:19:11 +02:00
reactions.cpp production rate type 2018-08-13 18:08:54 +02:00
reactions.h production rate type 2018-08-13 18:08:54 +02:00
README.md production rate type 2018-08-13 18:08:54 +02:00
setup.py.in setup.py 2018-07-24 23:09:43 +02:00
spline.cpp minor warnings 2018-10-09 11:54:11 +02:00
spline.h alternative spline 2018-02-26 23:20:42 +01:00
storage.cpp alternative spline 2018-02-26 23:20:42 +01:00
storage.h default omega changed 2018-10-09 11:40:44 +02:00
structures.cpp reactions 2018-05-02 02:18:50 +02:00
structures.h reactions v1 2018-07-31 17:40:25 +02:00

CATima

C++ library for caclulalaton of energy loss, range, angular scattering and time of flight of the particle passing through matter. The library is based on physics used in the ATIMA code,however its not 100% copy of ATIMA physics. see CREDITS for more details.

The WebAtima UI to this library can be found here:

Installation

CMake is used to build the library. For default build use:

> mkdir build
> cd build
> cmake ../
> make

cmake options

compile options, enable or disable with cmake:

cmake ../ -D[OPTION]

available options:

  • PYTHON_MODULE - enable/disable building of the python bindigs, cython and numpy are required to build the catima python module, default OFF
  • TESTS - build tests
  • EXAMPLES - build examples
  • DOCS - prepare doxygen documentation (after cmake, make docs needs to be executed)
  • GENERATE_DATA - makes program to re-generate precalculated tables (ie precalculated LS coefficients), default:OFF
  • THIN_TARGET_APPROXIMATION - compile the library with thin target approximation, default: ON
  • GSL_INTEGRATION - use GSL integration functions, otherwise use built-in integrator, default: ON
  • GLOBAL - compile with GLOBAL code (source not included at the moment, needs to be manually added to global directory, default:OFF)

ie:

cmake -DCATIMA_PYTHON=ON -DEXAMPLES=ON ../

after the compilation the libraries and headers must be either installed system-wide by make install or PATH and LD_LIBRARY_PATH must be adjusted to point to headers and library files. The default install path can be change, ie: cmake -DCMAKE_INSTALL_PREFIX=/opt/catima

the option to system-wide installation is to adjust library path and include paths. This can be done sourcing the init.sh file, which is generated in the build directory:

source init.sh