-
is an independent code which can calculate both radiative capture and inverse cross sections.
-
is a new code, written in C++, designed primarily to simulate the decay of excited nuclei via the Monte Carlo technique.
-
generates realistic particle and γ-ray distributions resulting from the statistical decay of a compound nucleus having a predefined excitation energy,with decay probabilities based on the most recent experimental data compilations and state-ofthe-art theoretical models. The code is designed for large-scale multiprocessing and therefore is ideal for the generation of the large theoretical data sets often needed to determine experimental response functions without the need of excessive approximations. The transmission functions needed to form the probability distribution functions forMonte Carlo are identical to those required to calculate HF cross sections; therefore, the code can be used to calculate astrophysical reaction rates.
-
considers a range of projectile nuclei, and include four exit channels, namely: (particle,n), (particle,p), (particle,α), and (particle,γ ).
-
has the additional ability to calculate cross sections for photon induced reactions.
-
when used for cross-section calculations, does not include preequilibrium reactions, which makes them well suited to astrophysical studies because in these environments incident particles have energies that are typically less than approximately 10 MeV.
- Mary Beard.
- original version of Sapphire by Ethan Uberseder
Sapphire is currently published under the GNU General Public License.
Compiling Sapphire requires
Check the find_packages in cmake/Modules
whether cmake is looking for these packages in the right place if cmake cannot find them.
For an automatic generation of documentation files
, one needs doxygen installed on the system. If its not installed, documentation is not automatically generated.
A simple bash script has been written, does the steps below automatically for you. Since it uses relative paths you need to be in your Sapphire main directory and then simply execute:
bash build.sh
To delete the directories which have been created during the build process, simply run the following command in your Sapphire main directory:
bash clean.sh
- Create a build directory under the main Sapphire directory and change to that directory.
mkdir build cd build
- Run CMake against the main directory, optionally specifying the desired C++ compiler.
cmake -DCMAKE_CXX_COMPILER=icpc -DCMAKE_C_COMPILER=icc
- Type make install to build Sapphire. The executable is put in
the build directory.
make install
Be aware that Sapphire links the paths to the needed tables at compile time. While the executable can be moved, the main Sapphire directory should stay in place. If moved, the build process should be repeated.
To check if the code is running, simply type
./sapphire old X+a
or
./sapphire reaction X+a
where X is the target nucleus and a is the projectile. Examples are 25Mg+a or 60Fe+n.
The new version of the Sapphire code is modularized to increase the maintainability and readability of the code basis. At the moment there the modules reaction, decayer, and old available. See below for a more detailed explanation.
The reaction module is responsible for the calculation of reaction cross sections and reaction rates.
For quick calculations, one can simply type
./sapphire reaction X+a
where X+a is a reaction string with X the target nucleus and a the projectile. This command starts a default calculation, i.e. all input parameters are set to default.
For a more detailed calculations, one should use the possibility to parse an input file to sapphire by typing
./sapphire reaction inputFile.ini
The file inputFile.ini
will be parsed by the Boost.PropertyTree library. The gneral format and keyword descriptions can be found in INPUTFILE.md.
Not yet fully implemented.
This module is still in an experimental state. It can be used to create or extend level schemes via randomly drawn levels from a Poission distribution. The mean of the Poisson distributin is calculated from a level density model.
This is a small module to print values for the gamma-strength function as they are used in Sapphire. The usage is pretty simple. The user simply has to add an isotope of interest followed by the number of the e1/m1/e2 model.
./sapphire gsf 64Cu 0 0 0
Similar to the gsf
module, the nld
module is for testing the input of the nuclear level density quickly. The user simply has to give an isotope of interest and the number of the nldmodel.
./sapphire nld 64Cu 0
This submodule is to quickly calculate the transmission coefficients and decay widths for compound states. Example usage:
./sapphire compound 49Ca+n 0.001
This module provides the same functionallity as the original Sapphire code. Everything stays the same except the keyword old
.
Thus instead of running ./sapphire 60Fe+a
one needs to run ./sapphire old 60Fe+a
.
In future more and more of the features of the original Sapphire code will be reimplemented as modules. This part of the code can still be used but won't be maintained in future.
This simple module can be used to automatically generate a template for an input file. Simply type
sapphire template
and the output can be easily converted into an ini-File.
Print the help text for the different modules.
The documentation of the code can be found in ./docs/html/index.html.
If you are using Sapphire you should cite one or more of the references below.
- Mary Beard, Ethan Uberseder, and M. Wiescher, Statistical Model Calculations for (n,g) Reactions, EPJ Web of Conferences 93, 04001 (2015), DOI: 10.1103/PhysRevC.90.034619
- M. Beard, E. Uberseder, R. Crowter, and M. Wiescher, Comparison of statistical model calculations for stable isotope neutron capture, Physical Review C 90, 034619 (2014), DOI: 10.1103/PhysRevC.90.034619
If you are using Sapphire for your research, please send us a reference of your work and we will list it here.
- X. Fang, W. P. Tan, M. Beard, R. J. deBoer, G. Gilardy, H. Jung, Q. Liu, S. Lyons, D. Robertson, K. Setoodehnia, C. Seymour, E. Stech, B. Vande Kolk, M. Wiescher, R. T. deSouza, S. Hudan, V. Singh, X. D. Tang, and E. Uberseder, Experimental measurement of 12C+16O fusion at stellar energies, Physical Review C 96, 045804 (2017), DOI: 10.1103/PhysRevC.96.045804
- Mary Beard, Ethan Uberseder, and M. Wiescher, Statistical Model Calculations for (n,g) Reactions, EPJ Web of Conferences 93, 04001 (2015), DOI: 10.1103/PhysRevC.90.034619
- M. Beard, E. Uberseder, R. Crowter, and M. Wiescher, Comparison of statistical model calculations for stable isotope neutron capture, Physical Review C 90, 034619 (2014), DOI: 10.1103/PhysRevC.90.034619