Skip to content

Commit

Permalink
(*) sf rates and git tag in output
Browse files Browse the repository at this point in the history
* (*) sf rates

Lower limits in the experimental spontaneous fission rates were not
taken into account.

* (+) git version number in output

Now the hash and the git tag is outputted.
  • Loading branch information
Mreichert91 authored Aug 10, 2023
1 parent 475cff5 commit 6a321d6
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 537 deletions.
7 changes: 4 additions & 3 deletions Makefile.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ LD = $(FC)
FCCOM = $(notdir $(FC))

# Get the git Version
GIT_VERSION:="$(shell git describe --abbrev=10 --always --tags)"
GIT_TAG:="$(shell git describe --abbrev=0 --tags)"
GIT_HASH:="$(shell git describe --abbrev=10 --always)"

# Check if the compiler is able to deal with hdf5 files
# So far h5fc and h5pfc are supported
Expand Down Expand Up @@ -75,9 +76,9 @@ endif
# Check if it is an intel compiler, either ifort or ifx
ifeq ($(FCCOM),$(filter $(FCCOM),ifort ifx))
#>>> Compiler flags: paranoid warning system
# FFLAGS += -cpp -r8 -align -O0 -Warn all -fpe0 -check all -g -traceback -qopenmp -fp-stack-check -extend-source -heap-arrays -init=snan,arrays -DVERS=$(GIT_VERSION)
# FFLAGS += -cpp -r8 -align -O0 -Warn all -fpe0 -check all -g -traceback -qopenmp -fp-stack-check -extend-source -heap-arrays -init=snan,arrays -DGHASH=$(GIT_HASH) -DGTAG=$(GIT_TAG)
#>>> .. vs more relaxed version
FFLAGS += -cpp -r8 -align -O3 -w -g -parallel -traceback -qopenmp -heap-arrays -DVERS=$(GIT_VERSION)
FFLAGS += -cpp -r8 -align -O3 -w -g -parallel -traceback -qopenmp -heap-arrays -DGHASH=$(GIT_HASH) -DGTAG=$(GIT_TAG)

# Mac OS X user should further add -fp-stack-check -Wl,-stack_size,0x40000000,-stack_addr,0xf0000000
# since the stack limit of mac can't be changed with ulimit -s unlimited. The above line will increase the stack limit to 1GB on Mac
Expand Down
2 changes: 1 addition & 1 deletion bin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ into the fission rates file (e.g., fissionrates_frdm). To create the file here w
the FRDM fit of [Khuyagbaatar 2020](https://ui.adsabs.harvard.edu/abs/2020NuPhA100221958K/abstract).
In contrast to [Khuyagbaatar 2020](https://ui.adsabs.harvard.edu/abs/2020NuPhA100221958K/abstract), we also include odd nuclei,
not only even ones. Additionally we add experimentally determined rates that can be accessed from the
[ENDFS database](nds.iaea.org/relnsd/v1/data?/fields=ground_states&nuclides=all).
[ENDFS database](https://www-nds.iaea.org/relnsd/v1/data?fields=ground_states&nuclides=all).
It is in principle possible to also create spontaneous fission rates for the ETFSI model, but the
here used fit has to be changed and the correct fission barriers have to be used.

Expand Down
2 changes: 1 addition & 1 deletion bin/create_spontaneous_fission_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# the FRDM fit of Khuyagbaatar 2020 (https://ui.adsabs.harvard.edu/abs/2020NuPhA100221958K/abstract)
# In contrast to Khuyagbaatar 2020, we also include odd nuclei, not only even ones.
# Additionally we add experimentally determined rates that can be accessed from the ENDFS database
# nds.iaea.org/relnsd/v1/data?/fields=ground_states&nuclides=all.
# https://www-nds.iaea.org/relnsd/v1/data?fields=ground_states&nuclides=all.
# It is in principle possible to also create spontaneous fission rates for the ETFSI model, but the
# here used fit has to be changed and the correct fission barriers have to be used.
import numpy as np
Expand Down
Loading

0 comments on commit 6a321d6

Please sign in to comment.