Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to allow using the new IZA feature of NJOY2016. #99

Merged
merged 2 commits into from
Dec 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 61 additions & 57 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,6 @@ set( njoy21_AppleClang_Darwin_link_time_optimization_flags "-flto" )
set( njoy21_AppleClang_Darwin_profile_use_flags "-fprofile-use='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_AppleClang_Darwin_nonportable_optimization_flags "-march=native" )
set( njoy21_AppleClang_Darwin_static_flags "-static" )
set( njoy21_GNU_Windows_common_flags "-Wall" "-Wextra" "-Wpedantic" "-std=c++14" )
set( njoy21_GNU_Windows_DEBUG_flags "-O0" "-g" "-gdwarf-3" "-fsignaling-nans" )
set( njoy21_GNU_Windows_RELEASE_flags "-O3" "-DNDEBUG" )
set( njoy21_GNU_Windows_strict_flags "-Werror" )
set( njoy21_GNU_Windows_coverage_flags "--coverage" )
set( njoy21_GNU_Windows_subproject_flags )
set( njoy21_GNU_Windows_base_project_flags )
set( njoy21_GNU_Windows_profile_generate_flags "-fprofile-generate='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_GNU_Windows_link_time_optimization_flags "-flto" )
set( njoy21_GNU_Windows_profile_use_flags "-fprofile-use='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_GNU_Windows_nonportable_optimization_flags "-march=native" )
set( njoy21_GNU_Windows_static_flags "-static" )
set( njoy21_GNU_Darwin_common_flags "-Wall" "-Wextra" "-Wpedantic" "-std=c++14" )
set( njoy21_GNU_Darwin_DEBUG_flags "-O0" "-g" "-gdwarf-3" "-fsignaling-nans" )
set( njoy21_GNU_Darwin_RELEASE_flags "-O3" "-DNDEBUG" )
Expand All @@ -141,18 +129,18 @@ set( njoy21_GNU_Linux_link_time_optimization_flags "-flto" )
set( njoy21_GNU_Linux_profile_use_flags "-fprofile-use='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_GNU_Linux_nonportable_optimization_flags "-march=native" )
set( njoy21_GNU_Linux_static_flags "-static" )
set( njoy21_Clang_Windows_common_flags "-stdlib=libc++" "-Wall" "-Wextra" "-Wpedantic" "-std=c++14" )
set( njoy21_Clang_Windows_DEBUG_flags "-O0" "-g" "-gdwarf-3" )
set( njoy21_Clang_Windows_RELEASE_flags "-O3" "-DNDEBUG" )
set( njoy21_Clang_Windows_strict_flags "-Werror" )
set( njoy21_Clang_Windows_coverage_flags "--coverage" )
set( njoy21_Clang_Windows_subproject_flags )
set( njoy21_Clang_Windows_base_project_flags )
set( njoy21_Clang_Windows_profile_generate_flags "-fprofile-generate='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_Clang_Windows_link_time_optimization_flags "-flto" )
set( njoy21_Clang_Windows_profile_use_flags "-fprofile-use='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_Clang_Windows_nonportable_optimization_flags "-march=native" )
set( njoy21_Clang_Windows_static_flags "-static" )
set( njoy21_GNU_Windows_common_flags "-Wall" "-Wextra" "-Wpedantic" "-std=c++14" )
set( njoy21_GNU_Windows_DEBUG_flags "-O0" "-g" "-gdwarf-3" "-fsignaling-nans" )
set( njoy21_GNU_Windows_RELEASE_flags "-O3" "-DNDEBUG" )
set( njoy21_GNU_Windows_strict_flags "-Werror" )
set( njoy21_GNU_Windows_coverage_flags "--coverage" )
set( njoy21_GNU_Windows_subproject_flags )
set( njoy21_GNU_Windows_base_project_flags )
set( njoy21_GNU_Windows_profile_generate_flags "-fprofile-generate='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_GNU_Windows_link_time_optimization_flags "-flto" )
set( njoy21_GNU_Windows_profile_use_flags "-fprofile-use='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_GNU_Windows_nonportable_optimization_flags "-march=native" )
set( njoy21_GNU_Windows_static_flags "-static" )
set( njoy21_Clang_Darwin_common_flags "-stdlib=libc++" "-Wall" "-Wextra" "-Wpedantic" "-std=c++14" )
set( njoy21_Clang_Darwin_DEBUG_flags "-O0" "-g" "-gdwarf-3" )
set( njoy21_Clang_Darwin_RELEASE_flags "-O3" "-DNDEBUG" )
Expand All @@ -177,6 +165,18 @@ set( njoy21_Clang_Linux_link_time_optimization_flags "-flto" )
set( njoy21_Clang_Linux_profile_use_flags "-fprofile-use='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_Clang_Linux_nonportable_optimization_flags "-march=native" )
set( njoy21_Clang_Linux_static_flags "-static" )
set( njoy21_Clang_Windows_common_flags "-stdlib=libc++" "-Wall" "-Wextra" "-Wpedantic" "-std=c++14" )
set( njoy21_Clang_Windows_DEBUG_flags "-O0" "-g" "-gdwarf-3" )
set( njoy21_Clang_Windows_RELEASE_flags "-O3" "-DNDEBUG" )
set( njoy21_Clang_Windows_strict_flags "-Werror" )
set( njoy21_Clang_Windows_coverage_flags "--coverage" )
set( njoy21_Clang_Windows_subproject_flags )
set( njoy21_Clang_Windows_base_project_flags )
set( njoy21_Clang_Windows_profile_generate_flags "-fprofile-generate='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_Clang_Windows_link_time_optimization_flags "-flto" )
set( njoy21_Clang_Windows_profile_use_flags "-fprofile-use='${CMAKE_BINARY_DIR}/profiling'" )
set( njoy21_Clang_Windows_nonportable_optimization_flags "-march=native" )
set( njoy21_Clang_Windows_static_flags "-static" )

if ( static_njoy21 )
set( njoy21_library_linkage STATIC )
Expand All @@ -195,70 +195,74 @@ list( INSERT 0 CMAKE_INSTALL_RPATH "${rpath_prefix}/../lib" )
set( CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE )
get_directory_property( is_subproject PARENT_DIRECTORY )

if( NOT TARGET fmt-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/fmt-adapter )
if( NOT TARGET range-v3-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/range-v3-adapter )
endif()

if( NOT TARGET variant-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/variant-adapter )
if( NOT TARGET catch-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/catch-adapter )
endif()

if( NOT TARGET spdlog-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/spdlog-adapter )
if( NOT TARGET disco )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/disco )
endif()

if( NOT TARGET njoy )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/njoy )
if( NOT TARGET hana-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/hana-adapter )
endif()

if( NOT TARGET njoy_c_bindings )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/njoy_c_bindings )
if( NOT TARGET fmt-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/fmt-adapter )
endif()

if( NOT TARGET hana-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/hana-adapter )
if( NOT TARGET spdlog-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/spdlog-adapter )
endif()

if( NOT TARGET tclap-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/tclap-adapter )
if( NOT TARGET Log )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/Log )
endif()

if( NOT TARGET range-v3-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/range-v3-adapter )
if( NOT TARGET header-utilities )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/header-utilities )
endif()

if( NOT TARGET catch-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/catch-adapter )
if( NOT TARGET variant-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/variant-adapter )
endif()

if( NOT TARGET Log )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/Log )
if( NOT TARGET ENDFtk )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/ENDFtk )
endif()

if( NOT TARGET dimwits )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/dimwits )
if( NOT TARGET tclap-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/tclap-adapter )
endif()

if( NOT TARGET header-utilities )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/header-utilities )
if( NOT TARGET njoy )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/njoy )
endif()

if( NOT TARGET utility )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/utility )
if( NOT TARGET njoy_c_bindings )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/njoy_c_bindings )
endif()

if( NOT TARGET disco )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/disco )
if( NOT TARGET json-adapter )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/json-adapter )
endif()

if( NOT TARGET ENDFtk )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/ENDFtk )
if( NOT TARGET utility )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/utility )
endif()

if( NOT TARGET lipservice )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/lipservice )
endif()

if( NOT TARGET dimwits )
add_subdirectory( ${ROOT_DIRECTORY}/subprojects/dimwits )
endif()


if ( NOT GIT_EXECUTABLE )
find_package( Git )
Expand Down Expand Up @@ -342,7 +346,7 @@ ${CXX_appended_flags} ${njoy21_appended_flags} )

target_link_libraries( njoy21 PUBLIC "$<$<AND:$<CONFIG:RELEASE>,$<BOOL:${link_time_optimization}>>:${${PREFIX}_RELEASE_flags};${${PREFIX}_link_time_optimization_flags}$<$<BOOL:${profile_generate}>:${${PREFIX}_profile_generate_flags};>$<$<BOOL:${profile_use}>:${${PREFIX}_profile_use_flags};>$<$<BOOL:${nonportable_optimization}>:${${PREFIX}_nonportable_optimization_flags};>>$<$<CONFIG:DEBUG>:$<$<BOOL:${coverage}>:${${PREFIX}_coverage_flags};>>$<$<BOOL:CXX_appended_flags>:${CXX_appended_flags};>$<$<BOOL:njoy21_appended_flags>:${njoy21_appended_flags};>" )

target_link_libraries( njoy21 PUBLIC njoy_c_bindings PUBLIC variant-adapter PUBLIC lipservice PUBLIC tclap-adapter PUBLIC ENDFtk PUBLIC dimwits PUBLIC utility )
target_link_libraries( njoy21 PUBLIC ENDFtk PUBLIC tclap-adapter PUBLIC njoy_c_bindings PUBLIC variant-adapter PUBLIC lipservice PUBLIC dimwits PUBLIC utility )

if ( NOT is_subproject )
add_executable( njoy21_executable src/main.cpp )
Expand All @@ -369,10 +373,10 @@ endif()
if( NOT is_subproject )
enable_testing()
if ( unit_tests )
add_subdirectory( src/njoy21/Driver/test )
add_subdirectory( src/njoy21/legacy/Sequence/test )
add_subdirectory( src/njoy21/CommandLine/test )
add_subdirectory( src/njoy21/Driver/test )
add_subdirectory( src/njoy21/io/Manager/test )
add_subdirectory( src/njoy21/legacy/Sequence/test )
endif()
add_subdirectory( tests )
endif()
Expand Down
9 changes: 9 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Release Notes&mdash;NJOY21
Given here are some release notes for NJOY21. Each release is made through a formal [Pull Request](https://github.com/njoy/NJOY21/pulls) made on GitHub. There are links in this document that point to each of those Pull Requests, where you can see in great details the changes that were made. Often the Pull Requests are made in response to an [issue](https://github.com/njoy/NJOY21/issues). In such cases, links to those issues are also given.

## [NJOY21 1.0.5](https://github.com/njoy/NJOY21/pull/99)
This update adds to NJOY21 the NJOY2016 capability of >3 IZA values in ACER. This was added in NJOY2016 in [Pull Request #41](https://github.com/njoy/NJOY2016/pull/141). A few updates from lipservice are also included:

- [Removal of dimwits units](https://github.com/njoy/lipservice/pull/10)
- [Adding NZA option to ACER](https://github.com/njoy/lipservice/pull/11), and
- [RECONR to JSON](https://github.com/njoy/lipservice/pull/12).

All of these are included in the this version of NJOY21.

## [NJOY21 1.0.4](https://github.com/njoy/NJOY21/pull/93)
This version adds the capability to split the output into stderr and stdout. It is facilitated by and depends on [Pull Request#5](https://github.com/njoy/njoy_c_bindings/pull/5) from [njoy_c_bindings](https://github.com/njoy/njoy_c_bindings).

Expand Down
2 changes: 1 addition & 1 deletion dependencies/ENDFtk
Submodule ENDFtk updated 82 files
+381 −326 CMakeLists.txt
+412 −331 metaconfigure/description.json
+1 −1 metaconfigure/generate.py
+7 −7 src/ENDFtk/InterpolationRecord/test/CMakeLists.txt
+11 −11 src/ENDFtk/TabulationRecord/test/CMakeLists.txt
+4 −5 src/ENDFtk/file/Base.hpp
+6 −6 src/ENDFtk/record/InterpolationBase/test/CMakeLists.txt
+2 −2 src/ENDFtk/record/Sequence/test/CMakeLists.txt
+2 −2 src/ENDFtk/record/Tail/test/CMakeLists.txt
+4 −4 src/ENDFtk/record/Zipper/test/CMakeLists.txt
+2 −2 src/ENDFtk/record/test/CMakeLists.txt
+2 −2 src/ENDFtk/resonanceParameters/resolved/ReichMoore/test/CMakeLists.txt
+2 −0 src/ENDFtk/section.hpp
+63 −0 src/ENDFtk/section/12.hpp
+68 −0 src/ENDFtk/section/12/Multiplicities.hpp
+12 −0 src/ENDFtk/section/12/Multiplicities/src/NC.hpp
+74 −0 src/ENDFtk/section/12/Multiplicities/src/ctor.hpp
+19 −0 src/ENDFtk/section/12/Multiplicities/src/print.hpp
+20 −0 src/ENDFtk/section/12/Multiplicities/src/readPartialMultiplicities.hpp
+18 −0 src/ENDFtk/section/12/Multiplicities/src/readTotalMultiplicity.hpp
+11 −0 src/ENDFtk/section/12/Multiplicities/src/verifyNK.hpp
+14 −0 src/ENDFtk/section/12/Multiplicities/test/CMakeLists.txt
+279 −0 src/ENDFtk/section/12/Multiplicities/test/Multiplicities.test.cpp
+84 −0 src/ENDFtk/section/12/PartialMultiplicity.hpp
+53 −0 src/ENDFtk/section/12/PartialMultiplicity/src/ctor.hpp
+14 −0 src/ENDFtk/section/12/PartialMultiplicity/test/CMakeLists.txt
+168 −0 src/ENDFtk/section/12/PartialMultiplicity/test/PartialMultiplicity.test.cpp
+44 −0 src/ENDFtk/section/12/TotalMultiplicity.hpp
+46 −0 src/ENDFtk/section/12/TotalMultiplicity/src/ctor.hpp
+14 −0 src/ENDFtk/section/12/TotalMultiplicity/test/CMakeLists.txt
+148 −0 src/ENDFtk/section/12/TotalMultiplicity/test/TotalMultiplicity.test.cpp
+135 −0 src/ENDFtk/section/12/TransitionProbabilities.hpp
+51 −0 src/ENDFtk/section/12/TransitionProbabilities/Transition.hpp
+14 −0 src/ENDFtk/section/12/TransitionProbabilities/Transition/test/CMakeLists.txt
+61 −0 src/ENDFtk/section/12/TransitionProbabilities/Transition/test/Transition.test.cpp
+80 −0 src/ENDFtk/section/12/TransitionProbabilities/src/ctor.hpp
+49 −0 src/ENDFtk/section/12/TransitionProbabilities/src/generateList.hpp
+11 −0 src/ENDFtk/section/12/TransitionProbabilities/src/verifyLG.hpp
+14 −0 src/ENDFtk/section/12/TransitionProbabilities/test/CMakeLists.txt
+314 −0 src/ENDFtk/section/12/TransitionProbabilities/test/TransitionProbabilities.test.cpp
+9 −0 src/ENDFtk/section/12/src/NC.hpp
+38 −0 src/ENDFtk/section/12/src/ctor.hpp
+40 −0 src/ENDFtk/section/12/src/print.hpp
+23 −0 src/ENDFtk/section/12/src/readPhotonProduction.hpp
+559 −0 src/ENDFtk/section/12/test/12.test.cpp
+14 −0 src/ENDFtk/section/12/test/CMakeLists.txt
+93 −0 src/ENDFtk/section/4.hpp
+62 −0 src/ENDFtk/section/4/AngularDistributions.hpp
+37 −0 src/ENDFtk/section/4/AngularDistributions/src/ctor.hpp
+38 −0 src/ENDFtk/section/4/Isotropic.hpp
+14 −0 src/ENDFtk/section/4/Isotropic/test/CMakeLists.txt
+40 −0 src/ENDFtk/section/4/Isotropic/test/Isotropic.test.cpp
+53 −0 src/ENDFtk/section/4/LegendreCoefficients.hpp
+44 −0 src/ENDFtk/section/4/LegendreCoefficients/src/ctor.hpp
+14 −0 src/ENDFtk/section/4/LegendreCoefficients/test/CMakeLists.txt
+114 −0 src/ENDFtk/section/4/LegendreCoefficients/test/LegendreCoefficients.test.cpp
+40 −0 src/ENDFtk/section/4/LegendreDistributions.hpp
+33 −0 src/ENDFtk/section/4/LegendreDistributions/src/ctor.hpp
+14 −0 src/ENDFtk/section/4/LegendreDistributions/test/CMakeLists.txt
+196 −0 src/ENDFtk/section/4/LegendreDistributions/test/LegendreDistributions.test.cpp
+98 −0 src/ENDFtk/section/4/MixedDistributions.hpp
+16 −0 src/ENDFtk/section/4/MixedDistributions/src/angularDistributions
+21 −0 src/ENDFtk/section/4/MixedDistributions/src/angularDistributions.hpp
+62 −0 src/ENDFtk/section/4/MixedDistributions/src/ctor.hpp
+17 −0 src/ENDFtk/section/4/MixedDistributions/src/print.hpp
+13 −0 src/ENDFtk/section/4/MixedDistributions/src/verifyBoundary.hpp
+14 −0 src/ENDFtk/section/4/MixedDistributions/test/CMakeLists.txt
+256 −0 src/ENDFtk/section/4/MixedDistributions/test/MixedDistributions.test.cpp
+49 −0 src/ENDFtk/section/4/TabulatedDistribution.hpp
+48 −0 src/ENDFtk/section/4/TabulatedDistribution/src/ctor.hpp
+14 −0 src/ENDFtk/section/4/TabulatedDistribution/test/CMakeLists.txt
+148 −0 src/ENDFtk/section/4/TabulatedDistribution/test/TabulatedDistribution.test.cpp
+40 −0 src/ENDFtk/section/4/TabulatedDistributions.hpp
+33 −0 src/ENDFtk/section/4/TabulatedDistributions/src/ctor.hpp
+14 −0 src/ENDFtk/section/4/TabulatedDistributions/test/CMakeLists.txt
+215 −0 src/ENDFtk/section/4/TabulatedDistributions/test/TabulatedDistributions.test.cpp
+8 −0 src/ENDFtk/section/4/src/NC.hpp
+61 −0 src/ENDFtk/section/4/src/ctor.hpp
+21 −0 src/ENDFtk/section/4/src/print.hpp
+25 −0 src/ENDFtk/section/4/src/readDistributions.hpp
+623 −0 src/ENDFtk/section/4/test/4.test.cpp
+14 −0 src/ENDFtk/section/4/test/CMakeLists.txt
2 changes: 1 addition & 1 deletion dependencies/lipservice
Submodule lipservice updated 362 files
Loading