AchillesGen 0.3.0.dev20260708__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- achillesgen-0.3.0.dev20260708/.clang-format +20 -0
- achillesgen-0.3.0.dev20260708/.dockerignore +37 -0
- achillesgen-0.3.0.dev20260708/.github/ISSUE_TEMPLATE/1-bug.yml +35 -0
- achillesgen-0.3.0.dev20260708/.github/ISSUE_TEMPLATE/2-compilation.yml +41 -0
- achillesgen-0.3.0.dev20260708/.github/ISSUE_TEMPLATE/3-feature.yml +22 -0
- achillesgen-0.3.0.dev20260708/.github/ISSUE_TEMPLATE/config.yml +5 -0
- achillesgen-0.3.0.dev20260708/.github/workflows/cmake.yml +185 -0
- achillesgen-0.3.0.dev20260708/.github/workflows/data-release.yml +48 -0
- achillesgen-0.3.0.dev20260708/.github/workflows/docker.yml +55 -0
- achillesgen-0.3.0.dev20260708/.github/workflows/matrix_config.yml +38 -0
- achillesgen-0.3.0.dev20260708/.github/workflows/pypi-publish.yml +115 -0
- achillesgen-0.3.0.dev20260708/.github/workflows/reuse.yml +41 -0
- achillesgen-0.3.0.dev20260708/.gitignore +40 -0
- achillesgen-0.3.0.dev20260708/.pre-commit-config.yaml +5 -0
- achillesgen-0.3.0.dev20260708/AUTHORS +11 -0
- achillesgen-0.3.0.dev20260708/CITATIONS.bib +25 -0
- achillesgen-0.3.0.dev20260708/CMake/CPM.cmake +24 -0
- achillesgen-0.3.0.dev20260708/CMake/CompilerWarnings.cmake +91 -0
- achillesgen-0.3.0.dev20260708/CMake/FindFilesystem.cmake +252 -0
- achillesgen-0.3.0.dev20260708/CMake/FindSHERPA.cmake +45 -0
- achillesgen-0.3.0.dev20260708/CMake/ProgramOptions.cmake +23 -0
- achillesgen-0.3.0.dev20260708/CMake/PyLink.cmake +15 -0
- achillesgen-0.3.0.dev20260708/CMake/Sanitizers.cmake +48 -0
- achillesgen-0.3.0.dev20260708/CMake/StandardProjectSettings.cmake +39 -0
- achillesgen-0.3.0.dev20260708/CMake/StaticAnalyzers.cmake +23 -0
- achillesgen-0.3.0.dev20260708/CMake/achilles-config.cmake.in +12 -0
- achillesgen-0.3.0.dev20260708/CMakeLists.txt +290 -0
- achillesgen-0.3.0.dev20260708/CONTRIBUTION.md +0 -0
- achillesgen-0.3.0.dev20260708/Dockerfile +18 -0
- achillesgen-0.3.0.dev20260708/FormFactors.yml +108 -0
- achillesgen-0.3.0.dev20260708/LICENSE.md +232 -0
- achillesgen-0.3.0.dev20260708/LICENSES/CC0-1.0.txt +121 -0
- achillesgen-0.3.0.dev20260708/LICENSES/GPL-3.0-or-later.txt +232 -0
- achillesgen-0.3.0.dev20260708/LICENSES/LGPL-2.1-or-later.txt +504 -0
- achillesgen-0.3.0.dev20260708/LICENSES/MIT.txt +18 -0
- achillesgen-0.3.0.dev20260708/PKG-INFO +329 -0
- achillesgen-0.3.0.dev20260708/README.md +317 -0
- achillesgen-0.3.0.dev20260708/REUSE.toml +58 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/CT_couplings.py +12 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/DarkNeutrinoPortal_Dirac_UFO.log +91 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/__init__.py +49 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/coupling_orders.py +23 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/couplings.py +431 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/decays.py +103 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/function_library.py +72 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/lorentz.py +95 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/object_library.py +379 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/parameters.py +540 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/particles.py +485 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/propagators.py +36 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/vertices.py +1003 -0
- achillesgen-0.3.0.dev20260708/UFO/DarkNeutrinoPortal_Dirac_UFO/write_param_card.py +209 -0
- achillesgen-0.3.0.dev20260708/assets/favicon.ico +0 -0
- achillesgen-0.3.0.dev20260708/assets/logo.svg +101 -0
- achillesgen-0.3.0.dev20260708/cascade.yml +96 -0
- achillesgen-0.3.0.dev20260708/densities/c12.density +217 -0
- achillesgen-0.3.0.dev20260708/doc/Doxyfile.in +2495 -0
- achillesgen-0.3.0.dev20260708/doc/Makefile +25 -0
- achillesgen-0.3.0.dev20260708/doc/conf.py +92 -0
- achillesgen-0.3.0.dev20260708/doc/index.rst +24 -0
- achillesgen-0.3.0.dev20260708/doc/make.bat +35 -0
- achillesgen-0.3.0.dev20260708/doc/nuchic.data.rst +22 -0
- achillesgen-0.3.0.dev20260708/doc/nuchic.rst +189 -0
- achillesgen-0.3.0.dev20260708/examples/run_electron_12C_SF_1000.yml +74 -0
- achillesgen-0.3.0.dev20260708/examples/run_electron_12C_SF_2000.yml +74 -0
- achillesgen-0.3.0.dev20260708/examples/run_electron_12C_SF_500.yml +74 -0
- achillesgen-0.3.0.dev20260708/examples/run_electron_1H_SF_1000.yml +78 -0
- achillesgen-0.3.0.dev20260708/examples/run_electron_1H_SF_2000.yml +78 -0
- achillesgen-0.3.0.dev20260708/examples/run_electron_1H_SF_500.yml +78 -0
- achillesgen-0.3.0.dev20260708/examples/run_electron_1N_SF_1000.yml +78 -0
- achillesgen-0.3.0.dev20260708/examples/run_electron_1N_SF_2000.yml +78 -0
- achillesgen-0.3.0.dev20260708/examples/run_electron_1N_SF_500.yml +78 -0
- achillesgen-0.3.0.dev20260708/examples/run_nue_12C_SF_1000.yml +71 -0
- achillesgen-0.3.0.dev20260708/examples/run_nue_12C_SF_2000.yml +71 -0
- achillesgen-0.3.0.dev20260708/examples/run_nue_12C_SF_500.yml +71 -0
- achillesgen-0.3.0.dev20260708/examples/run_nue_1N_SF_1000.yml +75 -0
- achillesgen-0.3.0.dev20260708/examples/run_nue_1N_SF_2000.yml +75 -0
- achillesgen-0.3.0.dev20260708/examples/run_nue_1N_SF_500.yml +75 -0
- achillesgen-0.3.0.dev20260708/examples/run_nuebar_12C_SF_1000.yml +71 -0
- achillesgen-0.3.0.dev20260708/examples/run_nuebar_12C_SF_2000.yml +71 -0
- achillesgen-0.3.0.dev20260708/examples/run_nuebar_12C_SF_500.yml +71 -0
- achillesgen-0.3.0.dev20260708/examples/run_nuebar_1H_SF_1000.yml +75 -0
- achillesgen-0.3.0.dev20260708/examples/run_nuebar_1H_SF_2000.yml +75 -0
- achillesgen-0.3.0.dev20260708/examples/run_nuebar_1H_SF_500.yml +75 -0
- achillesgen-0.3.0.dev20260708/external/CMakeLists.txt +131 -0
- achillesgen-0.3.0.dev20260708/flux/MINERvA_ME_Flux_No_Constraint.root +0 -0
- achillesgen-0.3.0.dev20260708/flux/T2K_nu.dat +222 -0
- achillesgen-0.3.0.dev20260708/flux/dummy.dat +24 -0
- achillesgen-0.3.0.dev20260708/flux/flux_dune_neutrino_ND.root +0 -0
- achillesgen-0.3.0.dev20260708/flux/microboone.root +0 -0
- achillesgen-0.3.0.dev20260708/flux/microboone_flux_numu.yaml +423 -0
- achillesgen-0.3.0.dev20260708/flux/minerva_nue_fhc.dat +204 -0
- achillesgen-0.3.0.dev20260708/flux/minerva_nue_rhc.dat +204 -0
- achillesgen-0.3.0.dev20260708/flux/minerva_nueb_fhc.dat +204 -0
- achillesgen-0.3.0.dev20260708/flux/minerva_nueb_rhc.dat +204 -0
- achillesgen-0.3.0.dev20260708/flux/minerva_numu_fhc.dat +204 -0
- achillesgen-0.3.0.dev20260708/flux/minerva_numu_rhc.dat +204 -0
- achillesgen-0.3.0.dev20260708/flux/minerva_numub_fhc.dat +204 -0
- achillesgen-0.3.0.dev20260708/flux/minerva_numub_rhc.dat +204 -0
- achillesgen-0.3.0.dev20260708/flux/miniboone.dat +93 -0
- achillesgen-0.3.0.dev20260708/flux/miniboone_nu.dat +209 -0
- achillesgen-0.3.0.dev20260708/flux/miniboone_nubar.dat +209 -0
- achillesgen-0.3.0.dev20260708/flux/t2k_flux.csv +601 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Achilles.hh +13 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/AchillesInit.hh +27 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/AdaptiveMap.hh +120 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Autodiff.hh +119 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/BeamMapper.hh +30 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Beams.hh +193 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Cascade.hh +292 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CascadeInteractions/ConstantInteractions.hh +77 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CascadeInteractions/DeltaInteractions.hh +102 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CascadeInteractions/GeantInteractions.hh +77 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CascadeInteractions/MesonBaryonInteractions.hh +52 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CascadeInteractions/NasaInteractions.hh +40 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CascadeInteractions/NucleonNucleon.hh +99 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CascadeInteractions/OsetMesonBaryonInteractions.hh +57 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CascadeInteractions/PionAbsorption.hh +105 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CascadeInteractions/PionInteractions.hh +51 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Channels.hh +46 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/ClebschGordan.hh +20 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/CombinedCuts.hh +96 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/ComplexFmt.hh +72 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Configuration.hh +58 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/ConstantInteractions.hh +60 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Constants.hh +70 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Current.hh +62 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Cuts.hh +107 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Debug.hh +18 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/DecayHandler.hh +53 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Distributions.hh +33 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/ElectronPDF.hh +52 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Event.hh +107 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/EventGen.hh +70 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/EventHistory.hh +185 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/EventWriter.hh +77 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Exception.hh +22 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Exceptions.hh +15 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/FInteractions.hh +62 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Factory.hh +80 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/FinalStateMapper.hh +120 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/FormFactor.hh +580 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/FourVector.hh +428 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/GeantInteractions.hh +65 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/HadronicMapper.hh +96 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Hashable.hh +24 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Histogram.hh +144 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Integrand.hh +135 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Integrators/AdaptiveIntegrator.hh +27 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Integrators/AdaptiveQuadrature.hh +44 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Integrators/Adzint.hh +43 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Integrators/BaseIntegrator.hh +58 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Integrators/DoubleExponential.hh +72 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Integrators/GaussKronrod.hh +30 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Integrators/NewtonCotes.hh +34 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Integrators/QuadratureIntegrator.hh +26 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/InteractionHandler.hh +73 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Interactions.hh +113 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Interpolation.hh +161 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Legendre.hh +20 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/LeptonicCurrent.hh +45 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Logging.hh +57 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Logo.hh +78 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Mapper.hh +69 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/MesonBaryonAmplitudes.hh +163 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/MomSolver.hh +21 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/MultiChannel.hh +323 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/NasaInteractions.hh +33 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/NuclearModel.hh +247 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/NuclearRemnant.hh +49 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Nucleus.hh +353 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/OneParticleCuts.hh +115 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/OsetCrossSections.hh +73 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/PDFBase.hh +17 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Particle.hh +401 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/ParticleInfo.hh +388 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/PhaseSpaceBuilder.hh +42 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/PhaseSpaceFactory.hh +64 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/PhaseSpaceMapper.hh +39 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Poincare.hh +56 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Potential.hh +307 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Precomputed.hh +46 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Process.hh +202 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/ProcessInfo.hh +97 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/PyBindings.hh +33 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/QuasielasticTestMapper.hh +42 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Random.hh +69 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Randutils.hh +711 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/ReferenceHandler.hh +39 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/ResonanceHelper.hh +35 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/RunCascade.hh +86 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/RunModes.hh +39 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/RunPotential.hh +15 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Settings.hh +144 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/SpectralFunction.hh +42 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Spinor.hh +271 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Statistics.hh +185 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/SymplecticIntegrator.hh +92 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/System.hh.in +168 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/ThreeVector.hh +369 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/TwoParticleCuts.hh +36 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Units.hh +68 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Unweighter.hh +97 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Utilities.hh +292 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Vegas.hh +178 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/Version.hh +24 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/XSecBackend.hh +117 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/YAML/Beams.hh +67 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/f_polynomial.hh +27 -0
- achillesgen-0.3.0.dev20260708/include/Achilles/fortran/FNuclearModel.hh +70 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/HepMC3/HepMC3EventWriter.hh +38 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/Manager/InteractionLoader.hh +44 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/Manager/PluginManager.hh +31 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/NuHepMC/NuHepMCWriter.hh +37 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/Sherpa/AchillesReader.hh +33 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/Sherpa/Channels.hh +101 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/Sherpa/Channels1.hh +83 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/Sherpa/Channels3.hh +168 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/Sherpa/FormFactors.hh +40 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/Sherpa/PrintVec.hh +36 -0
- achillesgen-0.3.0.dev20260708/include/Plugins/Sherpa/SherpaInterface.hh +100 -0
- achillesgen-0.3.0.dev20260708/include/gzstream/gzstream.h +126 -0
- achillesgen-0.3.0.dev20260708/parameters.dat +51 -0
- achillesgen-0.3.0.dev20260708/pyproject.toml +59 -0
- achillesgen-0.3.0.dev20260708/python/achilles/__init__.py +45 -0
- achillesgen-0.3.0.dev20260708/python/achilles/_cli.py +53 -0
- achillesgen-0.3.0.dev20260708/python/achilles/_data.py +256 -0
- achillesgen-0.3.0.dev20260708/python/achilles/_data_release.py.in +6 -0
- achillesgen-0.3.0.dev20260708/python/achilles/mcp_server/__init__.py +13 -0
- achillesgen-0.3.0.dev20260708/python/achilles/mcp_server/defaults.py +60 -0
- achillesgen-0.3.0.dev20260708/python/achilles/mcp_server/run_card.py +317 -0
- achillesgen-0.3.0.dev20260708/python/achilles/mcp_server/runner.py +120 -0
- achillesgen-0.3.0.dev20260708/python/achilles/mcp_server/server.py +501 -0
- achillesgen-0.3.0.dev20260708/python/achilles/mcp_server/validation.py +401 -0
- achillesgen-0.3.0.dev20260708/run.yml +60 -0
- achillesgen-0.3.0.dev20260708/run_hnl.yml +64 -0
- achillesgen-0.3.0.dev20260708/scripts/coverage.sh +11 -0
- achillesgen-0.3.0.dev20260708/scripts/package_data.py +62 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/AchillesInit.cc +115 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/AdaptiveMap.cc +169 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Autodiff.cc +68 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/BeamMapper.cc +33 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Beams.cc +371 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CMakeLists.txt +240 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Cascade.cc +862 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/CMakeLists.txt +32 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/ConstantInteractions.cc +68 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/DeltaInteractions.cc +601 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/GeantInteractions.cc +186 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/MesonBaryonInteractions.cc +226 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/NasaInteractions.cc +63 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/NucleonNucleon.cc +305 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/OsetMesonBaryonInteractions.cc +122 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/PionAbsorption.cc +218 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeInteractions/PionInteractions.cc +53 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeMain.cc +48 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CascadeModule.cc +43 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Channels.cc +31 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ClebschGordan.cc +70 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Coherent.cc +39 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/CombinedCuts.cc +70 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Configuration.cc +98 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Constants.cc +4 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ConstantsModule.cc +19 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Debug.cc +28 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/DecayHandler.cc +144 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ElectronPDF.cc +95 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Event.cc +145 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/EventGen.cc +373 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/EventHistory.cc +189 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/EventWriter.cc +38 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/FinalStateMapper.cc +390 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/FormFactor.cc +391 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/FormFactorBuilder.cc +52 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/FourVector.cc +242 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/HadronicMapper.cc +249 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Histogram.cc +283 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Integrators/AdaptiveQuadrature.cc +141 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Integrators/Adzint.cc +186 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Integrators/BaseIntegrator.cc +58 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Integrators/CMakeLists.txt +15 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Integrators/DoubleExponential.cc +238 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Integrators/GaussKronrod.cc +172 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Integrators/NewtonCotes.cc +119 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/InteractionHandler.cc +95 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/InteractionLoader.cc +47 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Interactions.cc +86 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/InteractionsFactory.cc +31 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/InteractionsModule.cc +72 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Interpolation.cc +322 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/InterpolationModule.cc +67 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Legendre.cc +142 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/LeptonicCurrent.cc +185 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/LoggingModule.cc +49 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/MesonBaryonAmplitudes.cc +640 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/MomSolver.cc +71 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Multichannel.cc +191 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/NuclearModel.cc +786 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Nucleus.cc +241 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/NucleusModule.cc +49 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/OneParticleCuts.cc +29 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/OsetCrossSections.cc +272 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Particle.cc +116 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ParticleInfo.cc +139 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ParticleInfoModule.cc +105 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ParticleModule.cc +71 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/PhaseSpaceBuilder.cc +57 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/PhaseSpaceMapper.cc +69 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Poincare.cc +102 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Potential.cc +314 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/PotentialMain.cc +72 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Precomputed.cc +114 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/PrecomputedMain.cc +106 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Process.cc +561 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ProcessInfo.cc +85 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/PyBindings.cc +54 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/QuasielasticTestMapper.cc +129 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ReferenceHandler.cc +24 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ResonanceHelper.cc +230 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/RunCascade.cc +254 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/RunPotential.cc +243 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Settings.cc +428 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/SpectralFunction.cc +55 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Spinor.cc +135 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/SymplecticIntegrator.cc +34 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/System.cc +79 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/ThreeVector.cc +163 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/TwoParticleCuts.cc +14 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Unweighter.cc +30 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Utilities.cc +278 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/VectorModule.cc +146 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/Vegas.cc +163 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/XSecBackend.cc +404 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/CMakeLists.txt +84 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FConstants.cc +43 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FEvent.cc +16 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FInteractions.cc +4 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FInterpolation.cc +105 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FLogging.cc +27 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FMap.cc +88 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FNuclearModel.cc +172 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FNucleus.cc +15 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FParticle.cc +48 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FParticleInfo.cc +46 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FProcessInfo.cc +26 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FSpectralFunction.cc +28 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FSystem.cc +18 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/FVectors.cc +80 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/amp_dcc_sl.f +1514 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/currents_intf.f90 +1075 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/currents_opt_v1.f90 +178 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/currents_pi_dcc.f90 +139 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/event_cdef.f90 +14 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/event_mod.f90 +51 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/hardscattering_cdef.f90 +6 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/interaction_cdef.f90 +3 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/interaction_mod.f90 +155 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/interpolation_cdef.f90 +97 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/interpolation_mod.f90 +147 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/intf_spectral_model.f90 +294 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/logging_mod.f90 +118 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/map_mod.f90 +332 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/nform.f90 +118 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/nuclear_model.f90 +100 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/nuclear_model_cdef.f90 +3 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/nuclear_model_factory.f90 +103 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/nuclear_model_interface.f90 +320 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/nuclear_model_test.f90 +147 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/nucleus_cdef.f90 +5 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/nucleus_mod.f90 +48 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/particle_cdef.f90 +73 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/particle_info_cdef.f90 +61 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/particle_info_mod.f90 +105 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/particle_mod.f90 +113 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/process_info_cdef.f90 +40 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/process_info_mod.f90 +78 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/qe_spectral_model.f90 +206 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/res_spectral_model.f90 +222 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/spectral_function_cdef.f90 +42 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/spectral_function_mod.f90 +78 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/system_mod.f90 +36 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/test_constants.f90 +63 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/test_interaction.cc +22 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/utilities.f90 +86 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/vectors_cdef.f90 +159 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/fortran/vectors_mod.f90 +312 -0
- achillesgen-0.3.0.dev20260708/src/Achilles/main.cc +116 -0
- achillesgen-0.3.0.dev20260708/src/CMakeLists.txt +8 -0
- achillesgen-0.3.0.dev20260708/src/gzstream/CMakeLists.txt +6 -0
- achillesgen-0.3.0.dev20260708/src/gzstream/COPYING.LIB +504 -0
- achillesgen-0.3.0.dev20260708/src/gzstream/Makefile +266 -0
- achillesgen-0.3.0.dev20260708/src/gzstream/README +6 -0
- achillesgen-0.3.0.dev20260708/src/gzstream/gzstream.C +156 -0
- achillesgen-0.3.0.dev20260708/src/gzstream/gzstream.h +132 -0
- achillesgen-0.3.0.dev20260708/src/gzstream/index.html +145 -0
- achillesgen-0.3.0.dev20260708/src/gzstream/logo.gif +0 -0
- achillesgen-0.3.0.dev20260708/src/gzstream/version +1 -0
- achillesgen-0.3.0.dev20260708/src/plugins/CMakeLists.txt +15 -0
- achillesgen-0.3.0.dev20260708/src/plugins/Cuts/CMakeLists.txt +12 -0
- achillesgen-0.3.0.dev20260708/src/plugins/Cuts/TestCut.cc +17 -0
- achillesgen-0.3.0.dev20260708/src/plugins/HepMC3/CMakeLists.txt +6 -0
- achillesgen-0.3.0.dev20260708/src/plugins/HepMC3/HepMC3EventWriter.cc +129 -0
- achillesgen-0.3.0.dev20260708/src/plugins/Manager/CMakeLists.txt +6 -0
- achillesgen-0.3.0.dev20260708/src/plugins/Manager/PluginManager.cc +75 -0
- achillesgen-0.3.0.dev20260708/src/plugins/NuHepMC/CMakeLists.txt +6 -0
- achillesgen-0.3.0.dev20260708/src/plugins/NuHepMC/NuHepMCWriter.cc +284 -0
- achillesgen-0.3.0.dev20260708/src/plugins/NucleonInteractions/CMakeLists.txt +35 -0
- achillesgen-0.3.0.dev20260708/src/plugins/NucleonInteractions/ConstantInteractions.cc +8 -0
- achillesgen-0.3.0.dev20260708/src/plugins/NucleonInteractions/GeantInteractions.cc +152 -0
- achillesgen-0.3.0.dev20260708/src/plugins/NucleonInteractions/NasaInteractions.cc +36 -0
- achillesgen-0.3.0.dev20260708/src/plugins/NucleonInteractions/test.cc +20 -0
- achillesgen-0.3.0.dev20260708/src/plugins/Sherpa/CMakeLists.txt +17 -0
- achillesgen-0.3.0.dev20260708/src/plugins/Sherpa/Channels1.cc +51 -0
- achillesgen-0.3.0.dev20260708/src/plugins/Sherpa/Channels3.cc +604 -0
- achillesgen-0.3.0.dev20260708/src/plugins/Sherpa/FormFactors.cc +77 -0
- achillesgen-0.3.0.dev20260708/src/plugins/Sherpa/SherpaInterface.cc +566 -0
- achillesgen-0.3.0.dev20260708/test/Approx.hh +199 -0
- achillesgen-0.3.0.dev20260708/test/CMakeLists.txt +95 -0
- achillesgen-0.3.0.dev20260708/test/catch_main.cpp +5 -0
- achillesgen-0.3.0.dev20260708/test/catch_utils.hh +119 -0
- achillesgen-0.3.0.dev20260708/test/mock_classes.hh +228 -0
- achillesgen-0.3.0.dev20260708/test/test_adaptive_map.cc +133 -0
- achillesgen-0.3.0.dev20260708/test/test_autodiff.cc +125 -0
- achillesgen-0.3.0.dev20260708/test/test_beam_mapper.cc +59 -0
- achillesgen-0.3.0.dev20260708/test/test_beams.cc +120 -0
- achillesgen-0.3.0.dev20260708/test/test_cache.cc +270 -0
- achillesgen-0.3.0.dev20260708/test/test_cascade.cc +339 -0
- achillesgen-0.3.0.dev20260708/test/test_clebsch_gordan.cc +265 -0
- achillesgen-0.3.0.dev20260708/test/test_configuration.cc +20 -0
- achillesgen-0.3.0.dev20260708/test/test_cuts.cc +177 -0
- achillesgen-0.3.0.dev20260708/test/test_decays.cc +37 -0
- achillesgen-0.3.0.dev20260708/test/test_delta.cc +129 -0
- achillesgen-0.3.0.dev20260708/test/test_event.cc +135 -0
- achillesgen-0.3.0.dev20260708/test/test_event_history.cc +334 -0
- achillesgen-0.3.0.dev20260708/test/test_event_writer.cc +64 -0
- achillesgen-0.3.0.dev20260708/test/test_final_state_mapper.cc +56 -0
- achillesgen-0.3.0.dev20260708/test/test_form_factor.cc +225 -0
- achillesgen-0.3.0.dev20260708/test/test_fortran.f90 +27 -0
- achillesgen-0.3.0.dev20260708/test/test_fortran_interference.f90 +239 -0
- achillesgen-0.3.0.dev20260708/test/test_fortran_map.f90 +86 -0
- achillesgen-0.3.0.dev20260708/test/test_fortran_utils.f90 +27 -0
- achillesgen-0.3.0.dev20260708/test/test_hadronic_mapper.cc +76 -0
- achillesgen-0.3.0.dev20260708/test/test_histogram.cc +54 -0
- achillesgen-0.3.0.dev20260708/test/test_integrand.cc +60 -0
- achillesgen-0.3.0.dev20260708/test/test_interaction_handler.cc +144 -0
- achillesgen-0.3.0.dev20260708/test/test_interp.cc +233 -0
- achillesgen-0.3.0.dev20260708/test/test_mbamplitudes.cc +12 -0
- achillesgen-0.3.0.dev20260708/test/test_mom_solver.cc +146 -0
- achillesgen-0.3.0.dev20260708/test/test_multichannel.cc +164 -0
- achillesgen-0.3.0.dev20260708/test/test_nuclear_model.cc +302 -0
- achillesgen-0.3.0.dev20260708/test/test_nucleus.cc +177 -0
- achillesgen-0.3.0.dev20260708/test/test_nuhepmc.cc +98 -0
- achillesgen-0.3.0.dev20260708/test/test_particle.cc +101 -0
- achillesgen-0.3.0.dev20260708/test/test_particle_info.cc +93 -0
- achillesgen-0.3.0.dev20260708/test/test_poincare.cc +55 -0
- achillesgen-0.3.0.dev20260708/test/test_potential.cc +211 -0
- achillesgen-0.3.0.dev20260708/test/test_process.cc +217 -0
- achillesgen-0.3.0.dev20260708/test/test_process_group.cc +222 -0
- achillesgen-0.3.0.dev20260708/test/test_process_info.cc +49 -0
- achillesgen-0.3.0.dev20260708/test/test_ps_mapper.cc +157 -0
- achillesgen-0.3.0.dev20260708/test/test_quasielastic_mapper.cc +65 -0
- achillesgen-0.3.0.dev20260708/test/test_spectral.cc +50 -0
- achillesgen-0.3.0.dev20260708/test/test_spectral_interface.f90 +53 -0
- achillesgen-0.3.0.dev20260708/test/test_spinor.cc +158 -0
- achillesgen-0.3.0.dev20260708/test/test_stats.cc +79 -0
- achillesgen-0.3.0.dev20260708/test/test_symplectic_integrator.cc +206 -0
- achillesgen-0.3.0.dev20260708/test/test_utils.cc +105 -0
- achillesgen-0.3.0.dev20260708/test/test_vectors.cc +355 -0
- achillesgen-0.3.0.dev20260708/test/test_vegas.cc +89 -0
- achillesgen-0.3.0.dev20260708/test/test_yaml_fortran.f90 +32 -0
- achillesgen-0.3.0.dev20260708/test/validate_xsec.py +129 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
BasedOnStyle: LLVM
|
|
3
|
+
AlignEscapedNewlines: Left
|
|
4
|
+
AllowShortBlocksOnASingleLine: 'true'
|
|
5
|
+
AllowShortFunctionsOnASingleLine: Inline
|
|
6
|
+
AllowShortIfStatementsOnASingleLine: WithoutElse
|
|
7
|
+
AllowShortLambdasOnASingleLine: All
|
|
8
|
+
AllowShortLoopsOnASingleLine: 'true'
|
|
9
|
+
ColumnLimit: 100
|
|
10
|
+
IndentWidth: '4'
|
|
11
|
+
KeepEmptyLinesAtTheStartOfBlocks: 'false'
|
|
12
|
+
SpaceBeforeCpp11BracedList: 'false'
|
|
13
|
+
SpaceBeforeCtorInitializerColon: 'true'
|
|
14
|
+
SpaceBeforeInheritanceColon: 'true'
|
|
15
|
+
SpaceBeforeParens: Never
|
|
16
|
+
SpaceBeforeRangeBasedForLoopColon: 'true'
|
|
17
|
+
Standard: Auto
|
|
18
|
+
UseTab: Never
|
|
19
|
+
|
|
20
|
+
...
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.coverage
|
|
2
|
+
__pycache__/*
|
|
3
|
+
*.pyc
|
|
4
|
+
*cache*
|
|
5
|
+
.DS_Store
|
|
6
|
+
*.so
|
|
7
|
+
*.egg-info/
|
|
8
|
+
build*
|
|
9
|
+
*.png
|
|
10
|
+
*.eps
|
|
11
|
+
*.pdf
|
|
12
|
+
*.jpg
|
|
13
|
+
C12_code/
|
|
14
|
+
.coverage*
|
|
15
|
+
code_deuteron/
|
|
16
|
+
*.mod
|
|
17
|
+
dist/
|
|
18
|
+
*.lhe
|
|
19
|
+
.pylintrc
|
|
20
|
+
_build/
|
|
21
|
+
_buildClang/
|
|
22
|
+
compile_commands.json
|
|
23
|
+
*.o
|
|
24
|
+
*.back
|
|
25
|
+
tags
|
|
26
|
+
lib*.so*
|
|
27
|
+
include/Achilles/System.hh
|
|
28
|
+
plots/
|
|
29
|
+
*dylib
|
|
30
|
+
.clangd
|
|
31
|
+
figs/
|
|
32
|
+
tmp/
|
|
33
|
+
.vimspector.json
|
|
34
|
+
coverage.info
|
|
35
|
+
.sherpa
|
|
36
|
+
.vscode/c_cpp_properties.json
|
|
37
|
+
.vscode/settings.json
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: Bug Report
|
|
2
|
+
description: File a bug report.
|
|
3
|
+
title: "[Bug]: "
|
|
4
|
+
labels: ["bug"]
|
|
5
|
+
assignees:
|
|
6
|
+
- jxi24
|
|
7
|
+
body:
|
|
8
|
+
- type: markdown
|
|
9
|
+
attributes:
|
|
10
|
+
value: |
|
|
11
|
+
Thanks for taking the time to fill out this bug report!
|
|
12
|
+
If you have issues with compilation, please fill out a
|
|
13
|
+
compilation issues report. This form is for handling
|
|
14
|
+
issues with running the code.
|
|
15
|
+
- type: textarea
|
|
16
|
+
id: what-happened
|
|
17
|
+
attributes:
|
|
18
|
+
label: What happened?
|
|
19
|
+
description: Also tell us, what did you expect to happen?
|
|
20
|
+
placeholder: Tell us what you see!
|
|
21
|
+
value: "A bug happened!"
|
|
22
|
+
validations:
|
|
23
|
+
required: true
|
|
24
|
+
- type: textarea
|
|
25
|
+
id: run-card
|
|
26
|
+
attributes:
|
|
27
|
+
label: Run card to reproduce
|
|
28
|
+
description: Please copy and paste your run card here. This will be automatically formatted into code, so no need for backticks.
|
|
29
|
+
render: yaml
|
|
30
|
+
- type: textarea
|
|
31
|
+
id: logs
|
|
32
|
+
attributes:
|
|
33
|
+
label: Log information
|
|
34
|
+
description: Please copy and paste the relevant information from the log file here. This will be automatically formatted into code, so no need for backticks.
|
|
35
|
+
render: shell
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Compilation Issue
|
|
2
|
+
description: File an issue with compilation
|
|
3
|
+
title: "[Compilation]: "
|
|
4
|
+
labels: ["compilation"]
|
|
5
|
+
assignees:
|
|
6
|
+
- jxi24
|
|
7
|
+
body:
|
|
8
|
+
- type: markdown
|
|
9
|
+
attributes:
|
|
10
|
+
value: |
|
|
11
|
+
Thanks for taking the time to fill out this bug report!
|
|
12
|
+
If you found a bug when running the code, please fill out a
|
|
13
|
+
bug report. This form is for handling issues with compiling the code.
|
|
14
|
+
- type: textarea
|
|
15
|
+
id: what-happened
|
|
16
|
+
attributes:
|
|
17
|
+
label: What happened?
|
|
18
|
+
description: Also tell us, what did you expect to happen?
|
|
19
|
+
placeholder: Tell us what you see!
|
|
20
|
+
value: "Error compiling"
|
|
21
|
+
validations:
|
|
22
|
+
required: true
|
|
23
|
+
- type: input
|
|
24
|
+
id: compiler
|
|
25
|
+
attributes:
|
|
26
|
+
label: Compiler used
|
|
27
|
+
description: What compiler did you use? Please include the version number
|
|
28
|
+
placeholder: "Example: gcc-14.1.1"
|
|
29
|
+
validations:
|
|
30
|
+
required: true
|
|
31
|
+
- type: textarea
|
|
32
|
+
id: os
|
|
33
|
+
attributes:
|
|
34
|
+
label: Operating system used
|
|
35
|
+
description: |
|
|
36
|
+
Which operating system are you running on?
|
|
37
|
+
Please include information pertaining to your system as well.
|
|
38
|
+
placeholder: "Example: Mac-OSX Sonoma 14.0 with M2 Chip"
|
|
39
|
+
validations:
|
|
40
|
+
required: true
|
|
41
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: Feature Request
|
|
2
|
+
description: Request a feature be added
|
|
3
|
+
title: "[Feature]: "
|
|
4
|
+
labels: ["feature"]
|
|
5
|
+
assignees:
|
|
6
|
+
- jxi24
|
|
7
|
+
body:
|
|
8
|
+
- type: markdown
|
|
9
|
+
attributes:
|
|
10
|
+
value: |
|
|
11
|
+
Thanks for taking the time to fill out this feature request!
|
|
12
|
+
If you have issues with the code, see either the bug report or the compilation report.
|
|
13
|
+
This report is for asking for new features or options to be added.
|
|
14
|
+
- type: textarea
|
|
15
|
+
id: request
|
|
16
|
+
attributes:
|
|
17
|
+
label: What would you like to see added?
|
|
18
|
+
description: Please be as detailed as possible.
|
|
19
|
+
placeholder: Feature description
|
|
20
|
+
value: "I would like..."
|
|
21
|
+
validations:
|
|
22
|
+
required: true
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
name: CMake Build Matrix
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
inputs:
|
|
6
|
+
matrix:
|
|
7
|
+
type: string
|
|
8
|
+
required: true
|
|
9
|
+
description: 'JSON string of matrix configurations'
|
|
10
|
+
|
|
11
|
+
env:
|
|
12
|
+
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
|
13
|
+
CMAKE_VERSION: 3.21.1
|
|
14
|
+
BUILD_TYPE: Release
|
|
15
|
+
CCACHE_VERSION: 4.4
|
|
16
|
+
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
build:
|
|
20
|
+
strategy:
|
|
21
|
+
matrix: ${{ fromJson(inputs.matrix) }}
|
|
22
|
+
|
|
23
|
+
name: Build and Install - ${{ matrix.name }}
|
|
24
|
+
runs-on: ${{ matrix.os }}
|
|
25
|
+
|
|
26
|
+
steps:
|
|
27
|
+
- uses: actions/checkout@v4
|
|
28
|
+
- uses: actions/setup-python@v5
|
|
29
|
+
with:
|
|
30
|
+
python-version: '3.12'
|
|
31
|
+
|
|
32
|
+
- name: Install dependencies (Ubuntu)
|
|
33
|
+
if: ${{ matrix.os != 'macos-13' && matrix.os != 'macos-14' }}
|
|
34
|
+
run: sudo apt update && sudo apt install -y libhdf5-dev lcov ${{ matrix.cc }} cmake && pip install codecov
|
|
35
|
+
|
|
36
|
+
- name: Install dependencies (MacOS)
|
|
37
|
+
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
|
|
38
|
+
run: |
|
|
39
|
+
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
|
|
40
|
+
brew update
|
|
41
|
+
brew install hdf5
|
|
42
|
+
brew install --force gcc
|
|
43
|
+
os_ver=$(sw_vers -productVersion | cut -d'.' -f1)
|
|
44
|
+
# TODO: remove hardcoded gfortran major version
|
|
45
|
+
if (( "$os_ver" > 13)); then
|
|
46
|
+
ln -fs /opt/homebrew/bin/gfortran-14 /usr/local/bin/gfortran
|
|
47
|
+
else
|
|
48
|
+
ln -fs /usr/local/bin/gfortran-14 /usr/local/bin/gfortran
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
- name: Set up cache
|
|
52
|
+
id: cache-cpm
|
|
53
|
+
uses: actions/cache@v4
|
|
54
|
+
with:
|
|
55
|
+
path: ~/cpm-cache
|
|
56
|
+
key: ${{ matrix.name }}-cpm-${{ hashFiles('**/') }}
|
|
57
|
+
restore-keys: |
|
|
58
|
+
${{ matrix.name }}-cpm-
|
|
59
|
+
|
|
60
|
+
- name: ccache
|
|
61
|
+
uses: hendrikmuhs/ccache-action@v1.2
|
|
62
|
+
with:
|
|
63
|
+
create-symlink: True
|
|
64
|
+
key: ${{ matrix.name }}-ccache-${{ github.sha }}
|
|
65
|
+
restore-keys: |
|
|
66
|
+
${{ matrix.name }}-ccache-
|
|
67
|
+
|
|
68
|
+
- name: Configure CMake
|
|
69
|
+
run: |
|
|
70
|
+
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DACHILLES_ENABLE_TESTING=ON \
|
|
71
|
+
-DACHILLES_COVERAGE=${{ matrix.coverage }} -DCPM_SOURCE_CACHE=~/cpm-cache \
|
|
72
|
+
-DACHILLES_ENABLE_SHERPA=OFF -DCMAKE_C_COMPILER=${{ matrix.cc }} -DCMAKE_CXX_COMPILER=${{ matrix.cxx}} \
|
|
73
|
+
-DCMAKE_Fortran_COMPILER=${{ matrix.fort }} -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install \
|
|
74
|
+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
|
75
|
+
|
|
76
|
+
- name: Build
|
|
77
|
+
run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} -j4
|
|
78
|
+
|
|
79
|
+
- name: Install
|
|
80
|
+
run: cmake --install ${{ github.workspace }}/build
|
|
81
|
+
|
|
82
|
+
# Upload artifacts to be used in other workflows
|
|
83
|
+
- name: Upload build artifacts
|
|
84
|
+
uses: actions/upload-artifact@v4
|
|
85
|
+
with:
|
|
86
|
+
name: build-${{ matrix.os }}-${{ matrix.cc }}
|
|
87
|
+
path: ${{ github.workspace }}/build
|
|
88
|
+
|
|
89
|
+
# Upload artifacts to be used in other workflows
|
|
90
|
+
- name: Upload install artifacts
|
|
91
|
+
uses: actions/upload-artifact@v4
|
|
92
|
+
with:
|
|
93
|
+
name: install-${{ matrix.os }}-${{ matrix.cc }}
|
|
94
|
+
path: ${{ github.workspace }}/install
|
|
95
|
+
|
|
96
|
+
test:
|
|
97
|
+
needs: build
|
|
98
|
+
strategy:
|
|
99
|
+
matrix: ${{ fromJson(inputs.matrix) }}
|
|
100
|
+
|
|
101
|
+
name: Test - ${{ matrix.name }}
|
|
102
|
+
runs-on: ${{ matrix.os }}
|
|
103
|
+
|
|
104
|
+
steps:
|
|
105
|
+
- uses: actions/checkout@v4
|
|
106
|
+
|
|
107
|
+
- uses: actions/download-artifact@v4
|
|
108
|
+
with:
|
|
109
|
+
name: build-${{ matrix.os }}-${{ matrix.cc }}
|
|
110
|
+
path: build
|
|
111
|
+
|
|
112
|
+
- name: Install dependencies (Ubuntu)
|
|
113
|
+
if: ${{ matrix.os != 'macos-13' && matrix.os != 'macos-14' }}
|
|
114
|
+
run: sudo apt update && sudo apt install -y libhdf5-dev lcov ${{ matrix.cc }} cmake && pip install codecov
|
|
115
|
+
|
|
116
|
+
- name: Install dependencies (MacOS)
|
|
117
|
+
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
|
|
118
|
+
run: |
|
|
119
|
+
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
|
|
120
|
+
brew update
|
|
121
|
+
brew install hdf5
|
|
122
|
+
|
|
123
|
+
- name: Test C++
|
|
124
|
+
working-directory: ${{ github.workspace }}/build
|
|
125
|
+
# Execute tests defined by the CMake configuration.
|
|
126
|
+
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
|
|
127
|
+
run: |
|
|
128
|
+
chmod +x test/achilles-testsuite
|
|
129
|
+
./test/achilles-testsuite
|
|
130
|
+
|
|
131
|
+
- name: Test Fotran
|
|
132
|
+
working-directory: ${{ github.workspace }}/build
|
|
133
|
+
run: |
|
|
134
|
+
chmod +x test/achilles-fortran-testsuite
|
|
135
|
+
./test/achilles-fortran-testsuite
|
|
136
|
+
|
|
137
|
+
- name: Code coverage
|
|
138
|
+
if: ${{ matrix.coverage }}
|
|
139
|
+
uses: codecov/codecov-action@v4
|
|
140
|
+
with:
|
|
141
|
+
files: ./build/coverage.xml
|
|
142
|
+
fail_ci_if_error: false
|
|
143
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
144
|
+
|
|
145
|
+
cross_section_check:
|
|
146
|
+
needs: test
|
|
147
|
+
strategy:
|
|
148
|
+
matrix: ${{ fromJson(inputs.matrix) }}
|
|
149
|
+
|
|
150
|
+
name: Cross Section Validation - ${{ matrix.name }}
|
|
151
|
+
runs-on: ${{ matrix.os }}
|
|
152
|
+
|
|
153
|
+
steps:
|
|
154
|
+
- uses: actions/checkout@v4
|
|
155
|
+
- uses: actions/setup-python@v5
|
|
156
|
+
with:
|
|
157
|
+
python-version: '3.12'
|
|
158
|
+
|
|
159
|
+
- uses: actions/download-artifact@v4
|
|
160
|
+
with:
|
|
161
|
+
name: install-${{ matrix.os }}-${{ matrix.cc }}
|
|
162
|
+
path: install
|
|
163
|
+
|
|
164
|
+
- name: Install dependencies (Ubuntu)
|
|
165
|
+
if: ${{ matrix.os != 'macos-13' && matrix.os != 'macos-14' }}
|
|
166
|
+
run: sudo apt update && sudo apt install -y libhdf5-dev lcov ${{ matrix.cc }} cmake && pip install codecov
|
|
167
|
+
|
|
168
|
+
- name: Install dependencies (MacOS)
|
|
169
|
+
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
|
|
170
|
+
run: |
|
|
171
|
+
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
|
|
172
|
+
brew update
|
|
173
|
+
brew install hdf5
|
|
174
|
+
|
|
175
|
+
- name: Run cross section checks
|
|
176
|
+
working-directory: ${{ github.workspace }}/install
|
|
177
|
+
run: |
|
|
178
|
+
chmod +x bin/achilles
|
|
179
|
+
for file in examples/*.yml; do
|
|
180
|
+
echo "Running example: $file"
|
|
181
|
+
./bin/achilles $file
|
|
182
|
+
name=$(basename "$file")
|
|
183
|
+
name="${name%.*}"
|
|
184
|
+
python ${{ github.workspace }}/test/validate_xsec.py achilles.log $name
|
|
185
|
+
done
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2018-2026 Achilles Developers
|
|
2
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
3
|
+
|
|
4
|
+
name: Publish Achilles data set
|
|
5
|
+
|
|
6
|
+
# Attaches the packaged data set to a GitHub Release tagged `achilles-data-v*`.
|
|
7
|
+
# Data is versioned independently of the code (see ACHILLES_DATA_RELEASE in
|
|
8
|
+
# CMakeLists.txt); publish such a release only when the data/ tree changes.
|
|
9
|
+
on:
|
|
10
|
+
release:
|
|
11
|
+
types: [published]
|
|
12
|
+
workflow_dispatch:
|
|
13
|
+
inputs:
|
|
14
|
+
tag:
|
|
15
|
+
description: "Existing data-release tag to attach assets to (e.g. achilles-data-v1)"
|
|
16
|
+
required: true
|
|
17
|
+
|
|
18
|
+
permissions:
|
|
19
|
+
contents: write
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
publish-data:
|
|
23
|
+
# Only run for data releases, never for code releases.
|
|
24
|
+
if: >-
|
|
25
|
+
github.event_name == 'workflow_dispatch' ||
|
|
26
|
+
startsWith(github.event.release.tag_name, 'achilles-data-')
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
steps:
|
|
29
|
+
- uses: actions/checkout@v6
|
|
30
|
+
with:
|
|
31
|
+
persist-credentials: false
|
|
32
|
+
|
|
33
|
+
- uses: actions/setup-python@v5
|
|
34
|
+
with:
|
|
35
|
+
python-version: "3.12"
|
|
36
|
+
|
|
37
|
+
- name: Build data assets
|
|
38
|
+
run: python scripts/package_data.py --out-dir dist
|
|
39
|
+
|
|
40
|
+
- name: Upload assets to the release
|
|
41
|
+
env:
|
|
42
|
+
GH_TOKEN: ${{ github.token }}
|
|
43
|
+
TAG: ${{ github.event.release.tag_name || inputs.tag }}
|
|
44
|
+
run: |
|
|
45
|
+
gh release upload "$TAG" \
|
|
46
|
+
dist/achilles-data.tar.gz \
|
|
47
|
+
dist/achilles-data.tar.gz.sha256 \
|
|
48
|
+
--clobber
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: Create Docker image on push to dev, main, or releases
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- "dev"
|
|
7
|
+
- "main"
|
|
8
|
+
tags:
|
|
9
|
+
- "v*.*.*"
|
|
10
|
+
release:
|
|
11
|
+
types: [published]
|
|
12
|
+
workflow_dispatch:
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
docker:
|
|
16
|
+
name: Build and Push Docker image to DockerHub
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
steps:
|
|
19
|
+
- name: Docker meta
|
|
20
|
+
id: meta
|
|
21
|
+
uses: docker/metadata-action@v5
|
|
22
|
+
with:
|
|
23
|
+
images: |
|
|
24
|
+
isaacson21/achilles
|
|
25
|
+
ghcr.io/AchillesGen/Achilles
|
|
26
|
+
tags: |
|
|
27
|
+
type=ref,event=branch
|
|
28
|
+
type=semver,pattern={{version}}
|
|
29
|
+
type=semver,pattern={{major}}.{{minor}}
|
|
30
|
+
type=semver,pattern={{major}}
|
|
31
|
+
type=sha
|
|
32
|
+
|
|
33
|
+
- name: Set up Docker Buildx
|
|
34
|
+
uses: docker/setup-buildx-action@v3
|
|
35
|
+
|
|
36
|
+
- name: Login to Docker Hub
|
|
37
|
+
uses: docker/login-action@v3
|
|
38
|
+
with:
|
|
39
|
+
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
40
|
+
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
41
|
+
|
|
42
|
+
- name: Login to GHCR
|
|
43
|
+
if: github.event_name != 'pull_request'
|
|
44
|
+
uses: docker/login-action@v3
|
|
45
|
+
with:
|
|
46
|
+
registry: ghcr.io
|
|
47
|
+
username: ${{ github.repository_owner }}
|
|
48
|
+
password: ${{ secrets.GITHUB_TOKEN }}
|
|
49
|
+
|
|
50
|
+
- name: Build and push to DockerHub
|
|
51
|
+
uses: docker/build-push-action@v6
|
|
52
|
+
with:
|
|
53
|
+
push: ${{ github.event_name != 'pull_request' }}
|
|
54
|
+
tags: ${{ steps.meta.outputs.tags }}
|
|
55
|
+
labels: ${{ steps.meta.outputs.labels }}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: CMake Build/Test/Check
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
ci:
|
|
7
|
+
name: Job
|
|
8
|
+
uses: ./.github/workflows/cmake.yml
|
|
9
|
+
with:
|
|
10
|
+
matrix: >
|
|
11
|
+
{
|
|
12
|
+
"include": [
|
|
13
|
+
{
|
|
14
|
+
"name": "Ubuntu GCC",
|
|
15
|
+
"os": "ubuntu-latest",
|
|
16
|
+
"cc": "gcc",
|
|
17
|
+
"cxx": "g++",
|
|
18
|
+
"fort": "gfortran",
|
|
19
|
+
"coverage": true
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "Ubuntu Clang",
|
|
23
|
+
"os": "ubuntu-latest",
|
|
24
|
+
"cc": "clang",
|
|
25
|
+
"cxx": "clang++",
|
|
26
|
+
"fort": "gfortran",
|
|
27
|
+
"coverage": false
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "macOS 14 Clang",
|
|
31
|
+
"os": "macos-14",
|
|
32
|
+
"cc": "clang",
|
|
33
|
+
"cxx": "clang++",
|
|
34
|
+
"fort": "gfortran",
|
|
35
|
+
"coverage": false
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
name: Upload Python Package to PyPI when a Release is Created
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
release:
|
|
6
|
+
types:
|
|
7
|
+
- published
|
|
8
|
+
pull_request:
|
|
9
|
+
paths:
|
|
10
|
+
- .github/workflows/pypi-publish.yml
|
|
11
|
+
push:
|
|
12
|
+
branches:
|
|
13
|
+
- main
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
build_wheels:
|
|
17
|
+
name: Build wheels for ${{ matrix.os }}
|
|
18
|
+
runs-on: ${{ matrix.runs-on }}
|
|
19
|
+
strategy:
|
|
20
|
+
matrix:
|
|
21
|
+
include:
|
|
22
|
+
- os: linux-intel
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
- os: linux-arm
|
|
25
|
+
runs-on: ubuntu-24.04-arm
|
|
26
|
+
# TODO: Figure out Windows wheels
|
|
27
|
+
# - os: windows-intel
|
|
28
|
+
# runs-on: windows-latest
|
|
29
|
+
# - os: windows-arm
|
|
30
|
+
# runs-on: windows-11-arm
|
|
31
|
+
- os: macos-intel
|
|
32
|
+
# macos-15-intel is the last x86_64 runner
|
|
33
|
+
runs-on: macos-15-intel
|
|
34
|
+
- os: macos-arm
|
|
35
|
+
# macos-15 (including latest) are ARM64 runners
|
|
36
|
+
runs-on: macos-15
|
|
37
|
+
steps:
|
|
38
|
+
- uses: actions/checkout@v6
|
|
39
|
+
with:
|
|
40
|
+
persist-credentials: false
|
|
41
|
+
|
|
42
|
+
# The build[uv] frontend needs uv on PATH
|
|
43
|
+
- uses: astral-sh/setup-uv@v6
|
|
44
|
+
|
|
45
|
+
# Pick a deterministic ccache dir on macOS so it matches what we cache.
|
|
46
|
+
- name: Configure ccache dir (macOS)
|
|
47
|
+
if: contains(runner.os, 'macos')
|
|
48
|
+
run: echo "CCACHE_DIR=$HOME/.ccache" >> "$GITHUB_ENV"
|
|
49
|
+
|
|
50
|
+
- name: Setup GFortran
|
|
51
|
+
if: contains(runner.os, 'macos')
|
|
52
|
+
uses: fortran-lang/setup-fortran@v1
|
|
53
|
+
with:
|
|
54
|
+
compiler: gcc
|
|
55
|
+
version: 15
|
|
56
|
+
|
|
57
|
+
# Persist the C/C++/Fortran object cache across CI runs.
|
|
58
|
+
- name: Restore ccache (Linux)
|
|
59
|
+
if: contains(runner.os, 'linux')
|
|
60
|
+
uses: actions/cache@v4
|
|
61
|
+
with:
|
|
62
|
+
path: /tmp/achilles-ccache
|
|
63
|
+
key: ccache-${{ matrix.os }}-${{ github.sha }}
|
|
64
|
+
restore-keys: ccache-${{ matrix.os }}-
|
|
65
|
+
|
|
66
|
+
- name: Restore ccache (macOS)
|
|
67
|
+
if: contains(runner.os, 'macos')
|
|
68
|
+
uses: actions/cache@v4
|
|
69
|
+
with:
|
|
70
|
+
path: ${{ env.CCACHE_DIR }}
|
|
71
|
+
key: ccache-${{ matrix.os }}-${{ github.sha }}
|
|
72
|
+
restore-keys: ccache-${{ matrix.os }}-
|
|
73
|
+
|
|
74
|
+
- name: Build wheels
|
|
75
|
+
uses: pypa/cibuildwheel@v4.1.0
|
|
76
|
+
- uses: actions/upload-artifact@v4
|
|
77
|
+
with:
|
|
78
|
+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
|
|
79
|
+
path: ./wheelhouse/*.whl
|
|
80
|
+
|
|
81
|
+
build_sdist:
|
|
82
|
+
name: Build source distribution
|
|
83
|
+
runs-on: ubuntu-latest
|
|
84
|
+
steps:
|
|
85
|
+
- uses: actions/checkout@v6
|
|
86
|
+
with:
|
|
87
|
+
persist-credentials: false
|
|
88
|
+
- name: Build sdist
|
|
89
|
+
run: pipx run build --sdist
|
|
90
|
+
- uses: actions/upload-artifact@v4
|
|
91
|
+
with:
|
|
92
|
+
name: cibw-sdist
|
|
93
|
+
path: dist/*.tar.gz
|
|
94
|
+
|
|
95
|
+
pypi-publish:
|
|
96
|
+
name: Publish release to PyPI
|
|
97
|
+
needs: [build_wheels, build_sdist]
|
|
98
|
+
runs-on: ubuntu-latest
|
|
99
|
+
environment:
|
|
100
|
+
name: pypi
|
|
101
|
+
url: https://pypi.org/p/achillesgen
|
|
102
|
+
permissions:
|
|
103
|
+
id-token: write
|
|
104
|
+
# TODO: Add in once the pipeline works
|
|
105
|
+
# if: github.event_name == 'release' && github.event.action == 'published'
|
|
106
|
+
# or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
|
|
107
|
+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
|
108
|
+
steps:
|
|
109
|
+
- uses: actions/download-artifact@v5
|
|
110
|
+
with:
|
|
111
|
+
pattern: cibw-*
|
|
112
|
+
path: dist
|
|
113
|
+
merge-multiple: true
|
|
114
|
+
- name: Publish package distributions to PyPI
|
|
115
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2018-2026 Achilles Developers
|
|
2
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
3
|
+
|
|
4
|
+
name: REUSE Compliance
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
pull_request:
|
|
9
|
+
release:
|
|
10
|
+
types: [published]
|
|
11
|
+
|
|
12
|
+
concurrency:
|
|
13
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
14
|
+
cancel-in-progress: true
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
lint:
|
|
18
|
+
name: REUSE Lint
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
- name: REUSE Compliance Check
|
|
23
|
+
uses: fsfe/reuse-action@v5
|
|
24
|
+
|
|
25
|
+
sbom:
|
|
26
|
+
name: Generate SBOM
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
if: github.event_name == 'release'
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v4
|
|
31
|
+
- uses: actions/setup-python@v5
|
|
32
|
+
with:
|
|
33
|
+
python-version: '3.12'
|
|
34
|
+
- name: Install reuse
|
|
35
|
+
run: pip install reuse
|
|
36
|
+
- name: Generate SPDX SBOM
|
|
37
|
+
run: reuse spdx --output achilles-${{ github.ref_name }}.spdx
|
|
38
|
+
- name: Upload SBOM to release
|
|
39
|
+
uses: softprops/action-gh-release@v2
|
|
40
|
+
with:
|
|
41
|
+
files: achilles-${{ github.ref_name }}.spdx
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.coverage
|
|
2
|
+
__pycache__/*
|
|
3
|
+
*.pyc
|
|
4
|
+
*.cache*
|
|
5
|
+
.DS_Store
|
|
6
|
+
*.so
|
|
7
|
+
*.egg-info/
|
|
8
|
+
build*
|
|
9
|
+
*.png
|
|
10
|
+
*.eps
|
|
11
|
+
*.pdf
|
|
12
|
+
*.jpg
|
|
13
|
+
C12_code/
|
|
14
|
+
.coverage*
|
|
15
|
+
code_deuteron/
|
|
16
|
+
*.mod
|
|
17
|
+
dist/
|
|
18
|
+
*.lhe
|
|
19
|
+
.pylintrc
|
|
20
|
+
_build/
|
|
21
|
+
_buildClang/
|
|
22
|
+
compile_commands.json
|
|
23
|
+
*.o
|
|
24
|
+
*.back
|
|
25
|
+
tags
|
|
26
|
+
lib*.so*
|
|
27
|
+
include/Achilles/System.hh
|
|
28
|
+
plots/
|
|
29
|
+
*dylib
|
|
30
|
+
.clangd
|
|
31
|
+
figs/
|
|
32
|
+
tmp/
|
|
33
|
+
.vimspector.json
|
|
34
|
+
coverage.info
|
|
35
|
+
.sherpa
|
|
36
|
+
.vscode/c_cpp_properties.json
|
|
37
|
+
.vscode/settings.json
|
|
38
|
+
install*
|
|
39
|
+
doc-pm/
|
|
40
|
+
Doxyfile
|