cleopy 0.57.4__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.
- cleopy-0.57.4/.github/compare_parallel_results.sh +45 -0
- cleopy-0.57.4/.github/workflows/cleopy.yml +28 -0
- cleopy-0.57.4/.github/workflows/cocogitto.yml +72 -0
- cleopy-0.57.4/.github/workflows/docs.yml +67 -0
- cleopy-0.57.4/.github/workflows/pre-commit.yml +16 -0
- cleopy-0.57.4/.github/workflows/tests.yml +181 -0
- cleopy-0.57.4/.gitignore +20 -0
- cleopy-0.57.4/.pre-commit-config.yaml +47 -0
- cleopy-0.57.4/CHANGELOG.md +1690 -0
- cleopy-0.57.4/CITATION.cff +25 -0
- cleopy-0.57.4/CMakeLists.txt +54 -0
- cleopy-0.57.4/LICENSE.md +43 -0
- cleopy-0.57.4/PKG-INFO +47 -0
- cleopy-0.57.4/README.md +19 -0
- cleopy-0.57.4/cleopy/__init__.py +22 -0
- cleopy-0.57.4/cleopy/cxx2py.py +136 -0
- cleopy-0.57.4/cleopy/editconfigfile.py +61 -0
- cleopy-0.57.4/cleopy/gbxboundariesbinary_src/__init__.py +16 -0
- cleopy-0.57.4/cleopy/gbxboundariesbinary_src/create_gbxboundaries.py +197 -0
- cleopy-0.57.4/cleopy/gbxboundariesbinary_src/read_gbxboundaries.py +350 -0
- cleopy-0.57.4/cleopy/geninitconds.py +144 -0
- cleopy-0.57.4/cleopy/initsuperdropsbinary_src/__init__.py +15 -0
- cleopy-0.57.4/cleopy/initsuperdropsbinary_src/attrsgen.py +206 -0
- cleopy-0.57.4/cleopy/initsuperdropsbinary_src/crdgens.py +101 -0
- cleopy-0.57.4/cleopy/initsuperdropsbinary_src/create_initsuperdrops.py +360 -0
- cleopy-0.57.4/cleopy/initsuperdropsbinary_src/dryrgens.py +31 -0
- cleopy-0.57.4/cleopy/initsuperdropsbinary_src/probdists.py +239 -0
- cleopy-0.57.4/cleopy/initsuperdropsbinary_src/read_initsuperdrops.py +465 -0
- cleopy-0.57.4/cleopy/initsuperdropsbinary_src/rgens.py +81 -0
- cleopy-0.57.4/cleopy/readbinary.py +120 -0
- cleopy-0.57.4/cleopy/readconfigfile.py +61 -0
- cleopy-0.57.4/cleopy/sdmout_src/__init__.py +16 -0
- cleopy-0.57.4/cleopy/sdmout_src/massmoms.py +83 -0
- cleopy-0.57.4/cleopy/sdmout_src/pygbxsdat.py +59 -0
- cleopy-0.57.4/cleopy/sdmout_src/pysetuptxt.py +90 -0
- cleopy-0.57.4/cleopy/sdmout_src/pyzarr.py +158 -0
- cleopy-0.57.4/cleopy/sdmout_src/sdtracing.py +141 -0
- cleopy-0.57.4/cleopy/sdmout_src/superdrops.py +428 -0
- cleopy-0.57.4/cleopy/sdmout_src/supersdata.py +228 -0
- cleopy-0.57.4/cleopy/sdmout_src/thermodata.py +146 -0
- cleopy-0.57.4/cleopy/sdmout_src/thermoeqns.py +129 -0
- cleopy-0.57.4/cleopy/sdmout_src/timedata.py +54 -0
- cleopy-0.57.4/cleopy/thermobinary_src/__init__.py +16 -0
- cleopy-0.57.4/cleopy/thermobinary_src/create_thermodynamics.py +256 -0
- cleopy-0.57.4/cleopy/thermobinary_src/read_thermodynamics.py +498 -0
- cleopy-0.57.4/cleopy/thermobinary_src/thermodyngen.py +56 -0
- cleopy-0.57.4/cleopy/thermobinary_src/thermogen.py +466 -0
- cleopy-0.57.4/cleopy/thermobinary_src/windsgen.py +228 -0
- cleopy-0.57.4/cleopy/writebinary.py +218 -0
- cleopy-0.57.4/cog.toml +36 -0
- cleopy-0.57.4/docs/Makefile +20 -0
- cleopy-0.57.4/docs/doxygen/doxygen.dox +2854 -0
- cleopy-0.57.4/docs/source/cleopy/cleopy.rst +36 -0
- cleopy-0.57.4/docs/source/cleopy/cxx2py.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/editconfigfile.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/gbxboundariesbinary_src/create_gbxboundaries.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/gbxboundariesbinary_src/gbxboundariesbinary_src.rst +17 -0
- cleopy-0.57.4/docs/source/cleopy/gbxboundariesbinary_src/read_gbxboundaries.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/initsuperdropsbinary_src/attrsgen.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/initsuperdropsbinary_src/crdgens.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/initsuperdropsbinary_src/create_initsuperdrops.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/initsuperdropsbinary_src/dryrgens.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/initsuperdropsbinary_src/initsuperdropsbinary_src.rst +18 -0
- cleopy-0.57.4/docs/source/cleopy/initsuperdropsbinary_src/probdists.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/initsuperdropsbinary_src/read_initsuperdrops.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/initsuperdropsbinary_src/rgens.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/readbinary.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/readconfigfile.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/sdmout_src/massmoms.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/sdmout_src/pygbxsdat.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/sdmout_src/pysetuptxt.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/sdmout_src/pyzarr.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/sdmout_src/sdmout_src.rst +20 -0
- cleopy-0.57.4/docs/source/cleopy/sdmout_src/superdrops.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/sdmout_src/thermodata.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/sdmout_src/thermoeqns.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/sdmout_src/timedata.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/thermobinary_src/create_thermodynamics.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/thermobinary_src/read_thermodynamics.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/thermobinary_src/thermobinary_src.rst +18 -0
- cleopy-0.57.4/docs/source/cleopy/thermobinary_src/thermodyngen.rst +7 -0
- cleopy-0.57.4/docs/source/cleopy/thermobinary_src/thermogen.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/thermobinary_src/windsgen.rst +5 -0
- cleopy-0.57.4/docs/source/cleopy/writebinary.rst +5 -0
- cleopy-0.57.4/docs/source/conf.py +100 -0
- cleopy-0.57.4/docs/source/index.rst +59 -0
- cleopy-0.57.4/docs/source/intro/background.rst +73 -0
- cleopy-0.57.4/docs/source/intro/coupling.rst +4 -0
- cleopy-0.57.4/docs/source/intro/intro.rst +76 -0
- cleopy-0.57.4/docs/source/intro/kokkos.rst +9 -0
- cleopy-0.57.4/docs/source/intro/memorylayout.rst +52 -0
- cleopy-0.57.4/docs/source/intro/monoids.rst +68 -0
- cleopy-0.57.4/docs/source/intro/motivation.rst +36 -0
- cleopy-0.57.4/docs/source/intro/timestepping.rst +128 -0
- cleopy-0.57.4/docs/source/libs/cleoconstants.rst +38 -0
- cleopy-0.57.4/docs/source/libs/initialise/initialconditions.rst +8 -0
- cleopy-0.57.4/docs/source/libs/initialise/initialisemod.rst +17 -0
- cleopy-0.57.4/docs/source/libs/kokkosaliases.rst +8 -0
- cleopy-0.57.4/docs/source/libs/libs.rst +33 -0
- cleopy-0.57.4/docs/source/libs/observers/collect_data_for_dataset.rst +22 -0
- cleopy-0.57.4/docs/source/libs/observers/consttstep_observer.rst +12 -0
- cleopy-0.57.4/docs/source/libs/observers/gbxindex_observer.rst +19 -0
- cleopy-0.57.4/docs/source/libs/observers/generic_collect_data.rst +19 -0
- cleopy-0.57.4/docs/source/libs/observers/massmoments_observer.rst +44 -0
- cleopy-0.57.4/docs/source/libs/observers/nsupers_observer.rst +18 -0
- cleopy-0.57.4/docs/source/libs/observers/observers.rst +28 -0
- cleopy-0.57.4/docs/source/libs/observers/observersmod.rst +31 -0
- cleopy-0.57.4/docs/source/libs/observers/parallel_write_data.rst +36 -0
- cleopy-0.57.4/docs/source/libs/observers/state_observer.rst +8 -0
- cleopy-0.57.4/docs/source/libs/observers/streamout_observer.rst +12 -0
- cleopy-0.57.4/docs/source/libs/observers/superdrops_observer.rst +98 -0
- cleopy-0.57.4/docs/source/libs/observers/thermo_observer.rst +42 -0
- cleopy-0.57.4/docs/source/libs/observers/time_observer.rst +15 -0
- cleopy-0.57.4/docs/source/libs/observers/totnsupers_observer.rst +15 -0
- cleopy-0.57.4/docs/source/libs/observers/windvel_observer.rst +35 -0
- cleopy-0.57.4/docs/source/libs/observers/write_to_dataset_observer.rst +21 -0
- cleopy-0.57.4/docs/source/libs/runcleo/coupleddynamics.rst +8 -0
- cleopy-0.57.4/docs/source/libs/runcleo/couplingcomms.rst +8 -0
- cleopy-0.57.4/docs/source/libs/runcleo/creategbxs.rst +30 -0
- cleopy-0.57.4/docs/source/libs/runcleo/createsupers.rst +30 -0
- cleopy-0.57.4/docs/source/libs/runcleo/runcleo.rst +12 -0
- cleopy-0.57.4/docs/source/libs/runcleo/runcleomod.rst +21 -0
- cleopy-0.57.4/docs/source/libs/runcleo/sdmmethods.rst +12 -0
- cleopy-0.57.4/docs/source/libs/superdrops/collisions/coalbure.rst +15 -0
- cleopy-0.57.4/docs/source/libs/superdrops/collisions/coalescence.rst +18 -0
- cleopy-0.57.4/docs/source/libs/superdrops/collisions/collisionkinetics.rst +17 -0
- cleopy-0.57.4/docs/source/libs/superdrops/collisions/collisions.rst +18 -0
- cleopy-0.57.4/docs/source/libs/superdrops/collisions/collisionsmod.rst +22 -0
- cleopy-0.57.4/docs/source/libs/superdrops/collisions/shuffle.rst +14 -0
- cleopy-0.57.4/docs/source/libs/superdrops/collisions/urbg.rst +12 -0
- cleopy-0.57.4/docs/source/libs/superdrops/condensation.rst +15 -0
- cleopy-0.57.4/docs/source/libs/superdrops/impliciteuler.rst +19 -0
- cleopy-0.57.4/docs/source/libs/superdrops/kokkosaliases_sd.rst +8 -0
- cleopy-0.57.4/docs/source/libs/superdrops/microphysical_process.rst +35 -0
- cleopy-0.57.4/docs/source/libs/superdrops/state.rst +12 -0
- cleopy-0.57.4/docs/source/libs/superdrops/superdrop.rst +12 -0
- cleopy-0.57.4/docs/source/libs/superdrops/superdrop_attrs.rst +19 -0
- cleopy-0.57.4/docs/source/libs/superdrops/superdrop_ids.rst +25 -0
- cleopy-0.57.4/docs/source/libs/superdrops/superdropsmod.rst +28 -0
- cleopy-0.57.4/docs/source/libs/superdrops/terminalvelocity.rst +36 -0
- cleopy-0.57.4/docs/source/libs/superdrops/thermodynamic_equations.rst +26 -0
- cleopy-0.57.4/docs/source/libs/zarr/buffer.rst +12 -0
- cleopy-0.57.4/docs/source/libs/zarr/chunks.rst +18 -0
- cleopy-0.57.4/docs/source/libs/zarr/dataset.rst +12 -0
- cleopy-0.57.4/docs/source/libs/zarr/fsstore.rst +12 -0
- cleopy-0.57.4/docs/source/libs/zarr/store_accessor.rst +12 -0
- cleopy-0.57.4/docs/source/libs/zarr/xarray_metadata.rst +11 -0
- cleopy-0.57.4/docs/source/libs/zarr/xarray_zarr_array.rst +18 -0
- cleopy-0.57.4/docs/source/libs/zarr/zarr_array.rst +18 -0
- cleopy-0.57.4/docs/source/libs/zarr/zarr_group.rst +12 -0
- cleopy-0.57.4/docs/source/libs/zarr/zarr_metadata.rst +18 -0
- cleopy-0.57.4/docs/source/libs/zarr/zarrmod.rst +25 -0
- cleopy-0.57.4/docs/source/references.bib +521 -0
- cleopy-0.57.4/docs/source/references.rst +4 -0
- cleopy-0.57.4/docs/source/usage/contact.rst +20 -0
- cleopy-0.57.4/docs/source/usage/contributing.rst +13 -0
- cleopy-0.57.4/docs/source/usage/examples.rst +304 -0
- cleopy-0.57.4/docs/source/usage/extern.rst +65 -0
- cleopy-0.57.4/docs/source/usage/good_coding.rst +81 -0
- cleopy-0.57.4/docs/source/usage/installation.rst +45 -0
- cleopy-0.57.4/docs/source/usage/ourdocs.rst +24 -0
- cleopy-0.57.4/docs/source/usage/quickstart.rst +99 -0
- cleopy-0.57.4/docs/source/usage/requirements.rst +94 -0
- cleopy-0.57.4/environment.yml +6 -0
- cleopy-0.57.4/examples/CMakeLists.txt +16 -0
- cleopy-0.57.4/examples/adiabaticparcel/as2017.py +279 -0
- cleopy-0.57.4/examples/adiabaticparcel/as2017_inputfiles.py +192 -0
- cleopy-0.57.4/examples/adiabaticparcel/as2017_plotting.py +218 -0
- cleopy-0.57.4/examples/adiabaticparcel/cuspbifurc.py +208 -0
- cleopy-0.57.4/examples/adiabaticparcel/cuspbifurc_inputfiles.py +164 -0
- cleopy-0.57.4/examples/adiabaticparcel/cuspbifurc_plotting.py +150 -0
- cleopy-0.57.4/examples/adiabaticparcel/src/CMakeLists.txt +29 -0
- cleopy-0.57.4/examples/adiabaticparcel/src/config/as2017_config.yaml +74 -0
- cleopy-0.57.4/examples/adiabaticparcel/src/config/cuspbifurc_config.yaml +70 -0
- cleopy-0.57.4/examples/adiabaticparcel/src/main_adia0d.cpp +187 -0
- cleopy-0.57.4/examples/boxmodelcollisions/CMakeLists.txt +7 -0
- cleopy-0.57.4/examples/boxmodelcollisions/attrgens_shima2009.py +76 -0
- cleopy-0.57.4/examples/boxmodelcollisions/breakup.py +241 -0
- cleopy-0.57.4/examples/boxmodelcollisions/breakup_inputfiles.py +172 -0
- cleopy-0.57.4/examples/boxmodelcollisions/breakup_plotting.py +277 -0
- cleopy-0.57.4/examples/boxmodelcollisions/shima2009.py +264 -0
- cleopy-0.57.4/examples/boxmodelcollisions/shima2009_inputfiles.py +246 -0
- cleopy-0.57.4/examples/boxmodelcollisions/shima2009_plotting.py +173 -0
- cleopy-0.57.4/examples/boxmodelcollisions/src/CMakeLists.txt +63 -0
- cleopy-0.57.4/examples/boxmodelcollisions/src/config/breakup_config.yaml +58 -0
- cleopy-0.57.4/examples/boxmodelcollisions/src/config/shima2009_config.yaml +52 -0
- cleopy-0.57.4/examples/boxmodelcollisions/src/main_golcolls.cpp +35 -0
- cleopy-0.57.4/examples/boxmodelcollisions/src/main_impl.hpp +177 -0
- cleopy-0.57.4/examples/boxmodelcollisions/src/main_longcolls.cpp +35 -0
- cleopy-0.57.4/examples/boxmodelcollisions/src/main_lowlistcolls.cpp +45 -0
- cleopy-0.57.4/examples/boxmodelcollisions/src/main_szakallurbichcolls.cpp +45 -0
- cleopy-0.57.4/examples/boxmodelcollisions/src/main_testikstraubcolls.cpp +44 -0
- cleopy-0.57.4/examples/bubble3d/bubble3d.py +218 -0
- cleopy-0.57.4/examples/bubble3d/bubble3d_inputfiles.py +215 -0
- cleopy-0.57.4/examples/bubble3d/bubble3d_plotting.py +377 -0
- cleopy-0.57.4/examples/bubble3d/run_bubble_tmp.sh +85 -0
- cleopy-0.57.4/examples/bubble3d/src/CMakeLists.txt +29 -0
- cleopy-0.57.4/examples/bubble3d/src/config/bubble3d_config.yaml +68 -0
- cleopy-0.57.4/examples/bubble3d/src/main_bubble3d.cpp +196 -0
- cleopy-0.57.4/examples/bubble3d/yac_bubble_data_reader.py +306 -0
- cleopy-0.57.4/examples/constthermo2d/constthermo2d.py +223 -0
- cleopy-0.57.4/examples/constthermo2d/constthermo2d_inputfiles.py +219 -0
- cleopy-0.57.4/examples/constthermo2d/constthermo2d_plotting.py +195 -0
- cleopy-0.57.4/examples/constthermo2d/src/CMakeLists.txt +29 -0
- cleopy-0.57.4/examples/constthermo2d/src/config/const2d_config.yaml +71 -0
- cleopy-0.57.4/examples/constthermo2d/src/main_const2d.cpp +226 -0
- cleopy-0.57.4/examples/divfreemotion/divfree2d.py +221 -0
- cleopy-0.57.4/examples/divfreemotion/divfree2d_inputfiles.py +217 -0
- cleopy-0.57.4/examples/divfreemotion/divfree2d_plotting.py +108 -0
- cleopy-0.57.4/examples/divfreemotion/src/CMakeLists.txt +29 -0
- cleopy-0.57.4/examples/divfreemotion/src/config/divfree2d_config.yaml +64 -0
- cleopy-0.57.4/examples/divfreemotion/src/main_divfree2d.cpp +192 -0
- cleopy-0.57.4/examples/eurec4a1d/eurec4a1d.py +177 -0
- cleopy-0.57.4/examples/eurec4a1d/src/CMakeLists.txt +29 -0
- cleopy-0.57.4/examples/eurec4a1d/src/config/eurec4a1d_config.yaml +88 -0
- cleopy-0.57.4/examples/eurec4a1d/src/main_eurec4a1d.cpp +242 -0
- cleopy-0.57.4/examples/exampleplotting/__init__.py +15 -0
- cleopy-0.57.4/examples/exampleplotting/exampleplotting.py +129 -0
- cleopy-0.57.4/examples/exampleplotting/plotssrc/__init__.py +15 -0
- cleopy-0.57.4/examples/exampleplotting/plotssrc/animations.py +199 -0
- cleopy-0.57.4/examples/exampleplotting/plotssrc/as2017fig.py +197 -0
- cleopy-0.57.4/examples/exampleplotting/plotssrc/ensembzarr.py +181 -0
- cleopy-0.57.4/examples/exampleplotting/plotssrc/pltdist.py +268 -0
- cleopy-0.57.4/examples/exampleplotting/plotssrc/pltmoms.py +64 -0
- cleopy-0.57.4/examples/exampleplotting/plotssrc/pltsds.py +215 -0
- cleopy-0.57.4/examples/exampleplotting/plotssrc/shima2009fig.py +175 -0
- cleopy-0.57.4/examples/fromfile/fromfile.py +227 -0
- cleopy-0.57.4/examples/fromfile/fromfile_inputfiles.py +194 -0
- cleopy-0.57.4/examples/fromfile/fromfile_plotting.py +130 -0
- cleopy-0.57.4/examples/fromfile/src/CMakeLists.txt +32 -0
- cleopy-0.57.4/examples/fromfile/src/config/fromfile_config.yaml +63 -0
- cleopy-0.57.4/examples/fromfile/src/gen_input_thermo.py +116 -0
- cleopy-0.57.4/examples/fromfile/src/main_fromfile.cpp +198 -0
- cleopy-0.57.4/examples/fromfile/src/plot_output_thermo.py +137 -0
- cleopy-0.57.4/examples/fromfile_irreg/fromfile_irreg.py +231 -0
- cleopy-0.57.4/examples/fromfile_irreg/fromfile_irreg_inputfiles.py +196 -0
- cleopy-0.57.4/examples/fromfile_irreg/fromfile_irreg_plotting.py +130 -0
- cleopy-0.57.4/examples/fromfile_irreg/src/CMakeLists.txt +32 -0
- cleopy-0.57.4/examples/fromfile_irreg/src/config/fromfile_irreg_config.yaml +63 -0
- cleopy-0.57.4/examples/fromfile_irreg/src/gen_input_thermo.py +116 -0
- cleopy-0.57.4/examples/fromfile_irreg/src/main_fromfile_irreg.cpp +198 -0
- cleopy-0.57.4/examples/fromfile_irreg/src/plot_output_thermo.py +137 -0
- cleopy-0.57.4/examples/kokkostools/kokkostools.py +238 -0
- cleopy-0.57.4/examples/kokkostools/kokkostools_inputfiles.py +218 -0
- cleopy-0.57.4/examples/kokkostools/kp_kernel_timer.py +63 -0
- cleopy-0.57.4/examples/kokkostools/spdtest_kpkerneltimer_example_solution/spdtest_cuda_0_l50100.lvt.dkrz.de-3537141.txt +144 -0
- cleopy-0.57.4/examples/kokkostools/spdtest_kpkerneltimer_example_solution/spdtest_cuda_1_l50100.lvt.dkrz.de-3537550.txt +144 -0
- cleopy-0.57.4/examples/kokkostools/spdtest_kpkerneltimer_example_solution/spdtest_openmp_0_l50100.lvt.dkrz.de-3540464.txt +140 -0
- cleopy-0.57.4/examples/kokkostools/spdtest_kpkerneltimer_example_solution/spdtest_openmp_1_l50100.lvt.dkrz.de-3540859.txt +140 -0
- cleopy-0.57.4/examples/kokkostools/spdtest_kpkerneltimer_example_solution/spdtest_serial_0_l50100.lvt.dkrz.de-3546440.txt +136 -0
- cleopy-0.57.4/examples/kokkostools/spdtest_kpkerneltimer_example_solution/spdtest_serial_1_l50100.lvt.dkrz.de-3546296.txt +136 -0
- cleopy-0.57.4/examples/kokkostools/spdtest_kpkerneltimer_example_solution/spdtest_threads_0_l50100.lvt.dkrz.de-3543749.txt +138 -0
- cleopy-0.57.4/examples/kokkostools/spdtest_kpkerneltimer_example_solution/spdtest_threads_1_l50100.lvt.dkrz.de-3543608.txt +138 -0
- cleopy-0.57.4/examples/kokkostools/src/CMakeLists.txt +29 -0
- cleopy-0.57.4/examples/kokkostools/src/config/kokkostools_config.yaml +68 -0
- cleopy-0.57.4/examples/kokkostools/src/main_spdtest.cpp +255 -0
- cleopy-0.57.4/examples/python_bindings/cleo_sdm.py +176 -0
- cleopy-0.57.4/examples/python_bindings/python_bindings.py +273 -0
- cleopy-0.57.4/examples/python_bindings/python_bindings_inputfiles.py +173 -0
- cleopy-0.57.4/examples/python_bindings/src/config/pybind_config.yaml +69 -0
- cleopy-0.57.4/examples/python_bindings/thermodynamics.py +106 -0
- cleopy-0.57.4/examples/rainshaft1d/rainshaft1d.py +220 -0
- cleopy-0.57.4/examples/rainshaft1d/rainshaft1d_inputfiles.py +220 -0
- cleopy-0.57.4/examples/rainshaft1d/rainshaft1d_plotting.py +173 -0
- cleopy-0.57.4/examples/rainshaft1d/src/CMakeLists.txt +29 -0
- cleopy-0.57.4/examples/rainshaft1d/src/config/rshaft1d_config.yaml +70 -0
- cleopy-0.57.4/examples/rainshaft1d/src/main_rshaft1d.cpp +214 -0
- cleopy-0.57.4/extern/kokkos/CMakeLists.txt +33 -0
- cleopy-0.57.4/extern/yaml-cpp/CMakeLists.txt +16 -0
- cleopy-0.57.4/libs/CMakeLists.txt +60 -0
- cleopy-0.57.4/libs/cartesiandomain/CMakeLists.txt +45 -0
- cleopy-0.57.4/libs/cartesiandomain/cartesian_decomposition.cpp +535 -0
- cleopy-0.57.4/libs/cartesiandomain/cartesian_decomposition.hpp +143 -0
- cleopy-0.57.4/libs/cartesiandomain/cartesianmaps.cpp +285 -0
- cleopy-0.57.4/libs/cartesiandomain/cartesianmaps.hpp +305 -0
- cleopy-0.57.4/libs/cartesiandomain/collect_data_for_collective_dataset.hpp +48 -0
- cleopy-0.57.4/libs/cartesiandomain/createcartesianmaps.cpp +327 -0
- cleopy-0.57.4/libs/cartesiandomain/createcartesianmaps.hpp +54 -0
- cleopy-0.57.4/libs/cartesiandomain/domainboundaries.hpp +111 -0
- cleopy-0.57.4/libs/cartesiandomain/doubly_periodic_domain.hpp +105 -0
- cleopy-0.57.4/libs/cartesiandomain/movement/CMakeLists.txt +40 -0
- cleopy-0.57.4/libs/cartesiandomain/movement/add_supers_at_domain_top.cpp +337 -0
- cleopy-0.57.4/libs/cartesiandomain/movement/add_supers_at_domain_top.hpp +134 -0
- cleopy-0.57.4/libs/cartesiandomain/movement/cartesian_motion.hpp +68 -0
- cleopy-0.57.4/libs/cartesiandomain/movement/cartesian_movement.hpp +38 -0
- cleopy-0.57.4/libs/cartesiandomain/movement/cartesian_transport_across_domain.cpp +42 -0
- cleopy-0.57.4/libs/cartesiandomain/movement/cartesian_transport_across_domain.hpp +232 -0
- cleopy-0.57.4/libs/cleo_python_bindings/CMakeLists.txt +69 -0
- cleopy-0.57.4/libs/cleo_python_bindings/cleo_python_bindings.cpp +49 -0
- cleopy-0.57.4/libs/cleo_python_bindings/cleo_python_bindings.hpp +114 -0
- cleopy-0.57.4/libs/cleo_python_bindings/cleo_python_bindings_aliases.hpp +165 -0
- cleopy-0.57.4/libs/cleo_python_bindings/coupldyn_numpy/numpy_comms.cpp +87 -0
- cleopy-0.57.4/libs/cleo_python_bindings/coupldyn_numpy/numpy_comms.hpp +44 -0
- cleopy-0.57.4/libs/cleo_python_bindings/coupldyn_numpy/numpy_dynamics.cpp +42 -0
- cleopy-0.57.4/libs/cleo_python_bindings/coupldyn_numpy/numpy_dynamics.hpp +113 -0
- cleopy-0.57.4/libs/cleo_python_bindings/coupldyn_numpy/pycoupldyn_numpy.cpp +39 -0
- cleopy-0.57.4/libs/cleo_python_bindings/coupldyn_numpy/pycoupldyn_numpy.hpp +36 -0
- cleopy-0.57.4/libs/cleo_python_bindings/optional_terminal_velocity.hpp +54 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_cartesiandomain.cpp +63 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_cartesiandomain.hpp +51 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_configuration.cpp +34 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_configuration.hpp +34 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_gridboxes.cpp +37 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_gridboxes.hpp +42 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_initialise.cpp +53 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_initialise.hpp +40 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_observers.cpp +144 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_observers.hpp +52 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_runcleo.cpp +73 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_runcleo.hpp +65 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_superdrops.cpp +74 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_superdrops.hpp +47 -0
- cleopy-0.57.4/libs/cleo_python_bindings/py_zarr.hpp +41 -0
- cleopy-0.57.4/libs/cleoconstants.hpp +122 -0
- cleopy-0.57.4/libs/configuration/CMakeLists.txt +56 -0
- cleopy-0.57.4/libs/configuration/communicator.cpp +88 -0
- cleopy-0.57.4/libs/configuration/communicator.hpp +49 -0
- cleopy-0.57.4/libs/configuration/config.hpp +111 -0
- cleopy-0.57.4/libs/configuration/copyfiles2txt.cpp +76 -0
- cleopy-0.57.4/libs/configuration/copyfiles2txt.hpp +36 -0
- cleopy-0.57.4/libs/configuration/optional_config_params.cpp +375 -0
- cleopy-0.57.4/libs/configuration/optional_config_params.hpp +177 -0
- cleopy-0.57.4/libs/configuration/required_config_params.cpp +68 -0
- cleopy-0.57.4/libs/configuration/required_config_params.hpp +70 -0
- cleopy-0.57.4/libs/coupldyn_cvode/CMakeLists.txt +50 -0
- cleopy-0.57.4/libs/coupldyn_cvode/cvodecomms.cpp +47 -0
- cleopy-0.57.4/libs/coupldyn_cvode/cvodecomms.hpp +91 -0
- cleopy-0.57.4/libs/coupldyn_cvode/cvodedynamics.cpp +252 -0
- cleopy-0.57.4/libs/coupldyn_cvode/cvodedynamics.hpp +148 -0
- cleopy-0.57.4/libs/coupldyn_cvode/differentialfuncs.cpp +117 -0
- cleopy-0.57.4/libs/coupldyn_cvode/differentialfuncs.hpp +68 -0
- cleopy-0.57.4/libs/coupldyn_cvode/initgbxs_cvode.hpp +97 -0
- cleopy-0.57.4/libs/coupldyn_fromfile/CMakeLists.txt +41 -0
- cleopy-0.57.4/libs/coupldyn_fromfile/fromfile_cartesian_dynamics.cpp +245 -0
- cleopy-0.57.4/libs/coupldyn_fromfile/fromfile_cartesian_dynamics.hpp +169 -0
- cleopy-0.57.4/libs/coupldyn_fromfile/fromfilecomms.cpp +58 -0
- cleopy-0.57.4/libs/coupldyn_fromfile/fromfilecomms.hpp +53 -0
- cleopy-0.57.4/libs/coupldyn_null/nulldynamics.hpp +42 -0
- cleopy-0.57.4/libs/coupldyn_null/nulldyncomms.hpp +44 -0
- cleopy-0.57.4/libs/coupldyn_yac/CMakeLists.txt +54 -0
- cleopy-0.57.4/libs/coupldyn_yac/cmake/FindNetCDF.cmake +242 -0
- cleopy-0.57.4/libs/coupldyn_yac/cmake/FindYAC.cmake +41 -0
- cleopy-0.57.4/libs/coupldyn_yac/cmake/FindYAXT.cmake +45 -0
- cleopy-0.57.4/libs/coupldyn_yac/yac_cartesian_dynamics.cpp +428 -0
- cleopy-0.57.4/libs/coupldyn_yac/yac_cartesian_dynamics.hpp +177 -0
- cleopy-0.57.4/libs/coupldyn_yac/yac_comms.cpp +62 -0
- cleopy-0.57.4/libs/coupldyn_yac/yac_comms.hpp +53 -0
- cleopy-0.57.4/libs/gridboxes/CMakeLists.txt +44 -0
- cleopy-0.57.4/libs/gridboxes/boundary_conditions.hpp +50 -0
- cleopy-0.57.4/libs/gridboxes/cfl_criteria.hpp +59 -0
- cleopy-0.57.4/libs/gridboxes/findrefs.hpp +181 -0
- cleopy-0.57.4/libs/gridboxes/gbxindex.hpp +41 -0
- cleopy-0.57.4/libs/gridboxes/gridbox.cpp +17 -0
- cleopy-0.57.4/libs/gridboxes/gridbox.hpp +58 -0
- cleopy-0.57.4/libs/gridboxes/gridboxmaps.hpp +56 -0
- cleopy-0.57.4/libs/gridboxes/movesupersindomain.hpp +300 -0
- cleopy-0.57.4/libs/gridboxes/predcorr.cpp +42 -0
- cleopy-0.57.4/libs/gridboxes/predcorr.hpp +175 -0
- cleopy-0.57.4/libs/gridboxes/predcorrmotion.hpp +110 -0
- cleopy-0.57.4/libs/gridboxes/sortsupers.cpp +18 -0
- cleopy-0.57.4/libs/gridboxes/sortsupers.hpp +220 -0
- cleopy-0.57.4/libs/gridboxes/supersindomain.hpp +111 -0
- cleopy-0.57.4/libs/gridboxes/supersingbx.cpp +70 -0
- cleopy-0.57.4/libs/gridboxes/supersingbx.hpp +124 -0
- cleopy-0.57.4/libs/gridboxes/transport_across_domain.hpp +37 -0
- cleopy-0.57.4/libs/initialise/CMakeLists.txt +45 -0
- cleopy-0.57.4/libs/initialise/gbx_bounds_from_binary.cpp +228 -0
- cleopy-0.57.4/libs/initialise/gbx_bounds_from_binary.hpp +91 -0
- cleopy-0.57.4/libs/initialise/init_all_supers_from_binary.cpp +100 -0
- cleopy-0.57.4/libs/initialise/init_all_supers_from_binary.hpp +140 -0
- cleopy-0.57.4/libs/initialise/init_supers_from_binary.cpp +95 -0
- cleopy-0.57.4/libs/initialise/init_supers_from_binary.hpp +98 -0
- cleopy-0.57.4/libs/initialise/initgbxsnull.hpp +84 -0
- cleopy-0.57.4/libs/initialise/initialconditions.hpp +105 -0
- cleopy-0.57.4/libs/initialise/readbinary.cpp +119 -0
- cleopy-0.57.4/libs/initialise/readbinary.hpp +94 -0
- cleopy-0.57.4/libs/initialise/timesteps.cpp +62 -0
- cleopy-0.57.4/libs/initialise/timesteps.hpp +88 -0
- cleopy-0.57.4/libs/kokkosaliases.hpp +64 -0
- cleopy-0.57.4/libs/observers/CMakeLists.txt +41 -0
- cleopy-0.57.4/libs/observers/collect_data_for_dataset.hpp +161 -0
- cleopy-0.57.4/libs/observers/collect_data_for_simple_dataset.hpp +45 -0
- cleopy-0.57.4/libs/observers/consttstep_observer.hpp +140 -0
- cleopy-0.57.4/libs/observers/create_massmoments_arrays.hpp +137 -0
- cleopy-0.57.4/libs/observers/gbxindex_observer.hpp +168 -0
- cleopy-0.57.4/libs/observers/generic_collect_data.hpp +198 -0
- cleopy-0.57.4/libs/observers/massmoments_observer.cpp +112 -0
- cleopy-0.57.4/libs/observers/massmoments_observer.hpp +416 -0
- cleopy-0.57.4/libs/observers/nsupers_observer.hpp +101 -0
- cleopy-0.57.4/libs/observers/observers.hpp +223 -0
- cleopy-0.57.4/libs/observers/parallel_write_data.hpp +258 -0
- cleopy-0.57.4/libs/observers/sdmmonitor/CMakeLists.txt +39 -0
- cleopy-0.57.4/libs/observers/sdmmonitor/do_sdmmonitor_obs.hpp +121 -0
- cleopy-0.57.4/libs/observers/sdmmonitor/monitor_condensation_observer.cpp +49 -0
- cleopy-0.57.4/libs/observers/sdmmonitor/monitor_condensation_observer.hpp +136 -0
- cleopy-0.57.4/libs/observers/sdmmonitor/monitor_massmoments_change.hpp +346 -0
- cleopy-0.57.4/libs/observers/sdmmonitor/monitor_massmoments_change_observer.hpp +263 -0
- cleopy-0.57.4/libs/observers/sdmmonitor/monitor_precipitation_observer.cpp +28 -0
- cleopy-0.57.4/libs/observers/sdmmonitor/monitor_precipitation_observer.hpp +146 -0
- cleopy-0.57.4/libs/observers/state_observer.hpp +66 -0
- cleopy-0.57.4/libs/observers/streamout_observer.cpp +46 -0
- cleopy-0.57.4/libs/observers/streamout_observer.hpp +136 -0
- cleopy-0.57.4/libs/observers/superdrops_observer.hpp +490 -0
- cleopy-0.57.4/libs/observers/thermo_observer.hpp +211 -0
- cleopy-0.57.4/libs/observers/time_observer.hpp +147 -0
- cleopy-0.57.4/libs/observers/totnsupers_observer.hpp +135 -0
- cleopy-0.57.4/libs/observers/windvel_observer.hpp +182 -0
- cleopy-0.57.4/libs/observers/write_to_dataset_observer.hpp +136 -0
- cleopy-0.57.4/libs/runcleo/CMakeLists.txt +40 -0
- cleopy-0.57.4/libs/runcleo/coupleddynamics.hpp +45 -0
- cleopy-0.57.4/libs/runcleo/couplingcomms.hpp +85 -0
- cleopy-0.57.4/libs/runcleo/creategbxs.cpp +84 -0
- cleopy-0.57.4/libs/runcleo/creategbxs.hpp +359 -0
- cleopy-0.57.4/libs/runcleo/createsupers.cpp +62 -0
- cleopy-0.57.4/libs/runcleo/createsupers.hpp +199 -0
- cleopy-0.57.4/libs/runcleo/gensuperdrop.cpp +87 -0
- cleopy-0.57.4/libs/runcleo/gensuperdrop.hpp +101 -0
- cleopy-0.57.4/libs/runcleo/runcleo.hpp +324 -0
- cleopy-0.57.4/libs/runcleo/sdmmethods.hpp +296 -0
- cleopy-0.57.4/libs/superdrops/CMakeLists.txt +42 -0
- cleopy-0.57.4/libs/superdrops/collisions/CMakeLists.txt +39 -0
- cleopy-0.57.4/libs/superdrops/collisions/breakup.hpp +225 -0
- cleopy-0.57.4/libs/superdrops/collisions/breakup_nfrags.hpp +89 -0
- cleopy-0.57.4/libs/superdrops/collisions/coalbure.hpp +253 -0
- cleopy-0.57.4/libs/superdrops/collisions/coalbure_flag.cpp +127 -0
- cleopy-0.57.4/libs/superdrops/collisions/coalbure_flag.hpp +103 -0
- cleopy-0.57.4/libs/superdrops/collisions/coalescence.cpp +178 -0
- cleopy-0.57.4/libs/superdrops/collisions/coalescence.hpp +155 -0
- cleopy-0.57.4/libs/superdrops/collisions/collisionkinetics.cpp +67 -0
- cleopy-0.57.4/libs/superdrops/collisions/collisionkinetics.hpp +95 -0
- cleopy-0.57.4/libs/superdrops/collisions/collisions.hpp +275 -0
- cleopy-0.57.4/libs/superdrops/collisions/constprob.hpp +51 -0
- cleopy-0.57.4/libs/superdrops/collisions/golovinprob.cpp +43 -0
- cleopy-0.57.4/libs/superdrops/collisions/golovinprob.hpp +52 -0
- cleopy-0.57.4/libs/superdrops/collisions/hydrodynamicprob.hpp +69 -0
- cleopy-0.57.4/libs/superdrops/collisions/longhydroprob.cpp +48 -0
- cleopy-0.57.4/libs/superdrops/collisions/longhydroprob.hpp +68 -0
- cleopy-0.57.4/libs/superdrops/collisions/lowlistprob.cpp +73 -0
- cleopy-0.57.4/libs/superdrops/collisions/lowlistprob.hpp +119 -0
- cleopy-0.57.4/libs/superdrops/collisions/shuffle.cpp +53 -0
- cleopy-0.57.4/libs/superdrops/collisions/shuffle.hpp +89 -0
- cleopy-0.57.4/libs/superdrops/collisions/urbg.hpp +73 -0
- cleopy-0.57.4/libs/superdrops/condensation.cpp +137 -0
- cleopy-0.57.4/libs/superdrops/condensation.hpp +254 -0
- cleopy-0.57.4/libs/superdrops/impliciteuler.cpp +298 -0
- cleopy-0.57.4/libs/superdrops/impliciteuler.hpp +347 -0
- cleopy-0.57.4/libs/superdrops/kokkosaliases_sd.hpp +66 -0
- cleopy-0.57.4/libs/superdrops/microphysicalprocess.hpp +266 -0
- cleopy-0.57.4/libs/superdrops/motion.hpp +57 -0
- cleopy-0.57.4/libs/superdrops/sdmmonitor.hpp +164 -0
- cleopy-0.57.4/libs/superdrops/state.hpp +122 -0
- cleopy-0.57.4/libs/superdrops/superdrop.hpp +346 -0
- cleopy-0.57.4/libs/superdrops/superdrop_attrs.cpp +62 -0
- cleopy-0.57.4/libs/superdrops/superdrop_attrs.hpp +243 -0
- cleopy-0.57.4/libs/superdrops/superdrop_ids.hpp +140 -0
- cleopy-0.57.4/libs/superdrops/terminalvelocity.cpp +147 -0
- cleopy-0.57.4/libs/superdrops/terminalvelocity.hpp +124 -0
- cleopy-0.57.4/libs/superdrops/thermodynamic_equations.cpp +142 -0
- cleopy-0.57.4/libs/superdrops/thermodynamic_equations.hpp +154 -0
- cleopy-0.57.4/libs/zarr/CMakeLists.txt +43 -0
- cleopy-0.57.4/libs/zarr/buffer.hpp +172 -0
- cleopy-0.57.4/libs/zarr/chunks.hpp +255 -0
- cleopy-0.57.4/libs/zarr/collective_dataset.hpp +526 -0
- cleopy-0.57.4/libs/zarr/fsstore.cpp +53 -0
- cleopy-0.57.4/libs/zarr/fsstore.hpp +76 -0
- cleopy-0.57.4/libs/zarr/simple_dataset.hpp +292 -0
- cleopy-0.57.4/libs/zarr/store_accessor.hpp +108 -0
- cleopy-0.57.4/libs/zarr/xarray_metadata.cpp +225 -0
- cleopy-0.57.4/libs/zarr/xarray_metadata.hpp +96 -0
- cleopy-0.57.4/libs/zarr/xarray_zarr_array.hpp +291 -0
- cleopy-0.57.4/libs/zarr/zarr_array.hpp +338 -0
- cleopy-0.57.4/libs/zarr/zarr_group.hpp +56 -0
- cleopy-0.57.4/libs/zarr/zarr_metadata.cpp +81 -0
- cleopy-0.57.4/libs/zarr/zarr_metadata.hpp +132 -0
- cleopy-0.57.4/pyproject.toml +76 -0
- cleopy-0.57.4/roughpaper/CMakeLists.txt +8 -0
- cleopy-0.57.4/roughpaper/index_test.cpp +87 -0
- cleopy-0.57.4/roughpaper/scratch/CMakeLists.txt +32 -0
- cleopy-0.57.4/roughpaper/scratch/build_compile_test.sh +107 -0
- cleopy-0.57.4/roughpaper/scratch/cleotypes_sizes.hpp +107 -0
- cleopy-0.57.4/roughpaper/scratch/main.cpp +223 -0
- cleopy-0.57.4/roughpaper/src/CMakeLists.txt +29 -0
- cleopy-0.57.4/roughpaper/src/config/config.yaml +106 -0
- cleopy-0.57.4/roughpaper/src/main.cpp +74 -0
- cleopy-0.57.4/roughpaper/src/main_impl.hpp +263 -0
- cleopy-0.57.4/scripts/create_gbxboundariesbinary_script.py +87 -0
- cleopy-0.57.4/scripts/create_initsuperdropsbinary_script.py +177 -0
- cleopy-0.57.4/scripts/create_thermobinaries_script.py +167 -0
- cleopy-0.57.4/scripts/juwels/bash/build_cleo.sh +85 -0
- cleopy-0.57.4/scripts/juwels/bash/compile_cleo.sh +84 -0
- cleopy-0.57.4/scripts/juwels/bash/run_cleo.sh +56 -0
- cleopy-0.57.4/scripts/juwels/bash/src/build_basic.sh +59 -0
- cleopy-0.57.4/scripts/juwels/bash/src/build_openmp.sh +20 -0
- cleopy-0.57.4/scripts/juwels/bash/src/build_threads.sh +20 -0
- cleopy-0.57.4/scripts/juwels/bash/src/check_inputs.sh +44 -0
- cleopy-0.57.4/scripts/juwels/bash/src/juwels_packages.sh +17 -0
- cleopy-0.57.4/scripts/juwels/bash/src/runtime_settings.sh +36 -0
- cleopy-0.57.4/scripts/juwels/build_compile_cleo.sh +84 -0
- cleopy-0.57.4/scripts/juwels/compile_run_cleocoupledsdm.sh +96 -0
- cleopy-0.57.4/scripts/juwels/divfree2d_juwels.sh +96 -0
- cleopy-0.57.4/scripts/juwels/fromfile_juwels.sh +99 -0
- cleopy-0.57.4/scripts/levante/bash/build_cleo.sh +84 -0
- cleopy-0.57.4/scripts/levante/bash/compile_cleo.sh +83 -0
- cleopy-0.57.4/scripts/levante/bash/install_yac.sh +118 -0
- cleopy-0.57.4/scripts/levante/bash/run_cleo.sh +40 -0
- cleopy-0.57.4/scripts/levante/bash/src/build_basic.sh +58 -0
- cleopy-0.57.4/scripts/levante/bash/src/build_cuda.sh +41 -0
- cleopy-0.57.4/scripts/levante/bash/src/build_openmp.sh +20 -0
- cleopy-0.57.4/scripts/levante/bash/src/build_threads.sh +20 -0
- cleopy-0.57.4/scripts/levante/bash/src/build_yac.sh +41 -0
- cleopy-0.57.4/scripts/levante/bash/src/check_inputs.sh +44 -0
- cleopy-0.57.4/scripts/levante/bash/src/levante_packages.sh +37 -0
- cleopy-0.57.4/scripts/levante/bash/src/runtime_settings.sh +61 -0
- cleopy-0.57.4/scripts/levante/build_compile_cleo.sh +88 -0
- cleopy-0.57.4/scripts/levante/compile_run_cleocoupledsdm.sh +99 -0
- cleopy-0.57.4/scripts/levante/examples/as2017.sh +42 -0
- cleopy-0.57.4/scripts/levante/examples/breakup.sh +42 -0
- cleopy-0.57.4/scripts/levante/examples/bubble3d.sh +49 -0
- cleopy-0.57.4/scripts/levante/examples/build_compile_run_plot.sh +100 -0
- cleopy-0.57.4/scripts/levante/examples/constthermo2d.sh +42 -0
- cleopy-0.57.4/scripts/levante/examples/cuspbifurc.sh +42 -0
- cleopy-0.57.4/scripts/levante/examples/divfree2d.sh +42 -0
- cleopy-0.57.4/scripts/levante/examples/eurec4a1d.sh +44 -0
- cleopy-0.57.4/scripts/levante/examples/fromfile.sh +42 -0
- cleopy-0.57.4/scripts/levante/examples/fromfile_irreg.sh +42 -0
- cleopy-0.57.4/scripts/levante/examples/kokkostools.sh +58 -0
- cleopy-0.57.4/scripts/levante/examples/python_bindings.sh +42 -0
- cleopy-0.57.4/scripts/levante/examples/rainshaft1d.sh +41 -0
- cleopy-0.57.4/scripts/levante/examples/shima2009.sh +43 -0
- cleopy-0.57.4/scripts/levante/inputfiles.sh +48 -0
- cleopy-0.57.4/scripts/levante/run_example.sh +70 -0
- cleopy-0.57.4/scripts/levante/sbatch_allexamples.sh +23 -0
- cleopy-0.57.4/tests/test_dummy.py +25 -0
- cleopy-0.57.4/tests/test_publish.py +46 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
#! /bin/bash
|
|
2
|
+
|
|
3
|
+
zarr_name=$1 # e.g. "fromfile_sol.zarr" or "fromfile_irreg_sol.zarr"
|
|
4
|
+
|
|
5
|
+
zarr1=./build/bin_1/${zarr_name}
|
|
6
|
+
if [ ! -d $zarr1 ]; then
|
|
7
|
+
echo "$zarr1 does not exist."
|
|
8
|
+
exit 1
|
|
9
|
+
fi
|
|
10
|
+
|
|
11
|
+
for processes in 2 4 8; do
|
|
12
|
+
if [ -s "diffs" ]; then
|
|
13
|
+
rm diffs
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
zarrX=./build/bin_${processes}/${zarr_name}
|
|
17
|
+
if [ ! -d $zarrX ]; then
|
|
18
|
+
echo "$zarrX does not exist."
|
|
19
|
+
exit 1
|
|
20
|
+
fi
|
|
21
|
+
|
|
22
|
+
for file in $(ls $zarr1/); do
|
|
23
|
+
filename=$(ls $zarr1/$file)
|
|
24
|
+
hexdump $zarr1/$file/$filename > original
|
|
25
|
+
hexdump $zarrX/$file/$filename > new
|
|
26
|
+
diff original new >> diffs
|
|
27
|
+
done;
|
|
28
|
+
rm new original
|
|
29
|
+
|
|
30
|
+
diff $zarr1/.zattrs $zarrX/.zattrs >> diffs
|
|
31
|
+
diff $zarr1/.zgroup $zarrX/.zgroup >> diffs
|
|
32
|
+
for file in $(ls $zarr1/); do
|
|
33
|
+
filename=$(ls -la $zarr1/$file)
|
|
34
|
+
diff $zarr1/$file/.zattrs $zarrX/$file/.zattrs >> diffs
|
|
35
|
+
diff $zarr1/$file/.zarray $zarrX/$file/.zarray >> diffs
|
|
36
|
+
done;
|
|
37
|
+
|
|
38
|
+
if [ -s "diffs" ]; then
|
|
39
|
+
echo "Run with ${processes} processes has different results than sequential run"
|
|
40
|
+
exit 1;
|
|
41
|
+
fi
|
|
42
|
+
done;
|
|
43
|
+
|
|
44
|
+
echo "All parallel execution results match the sequential run results"
|
|
45
|
+
exit 0;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
on:
|
|
2
|
+
workflow_run:
|
|
3
|
+
workflows: ["cocogitto (and release)"]
|
|
4
|
+
types:
|
|
5
|
+
- completed
|
|
6
|
+
push:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
pypi-publish:
|
|
12
|
+
name: upload release to PyPI
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
environment: release
|
|
15
|
+
permissions:
|
|
16
|
+
id-token: write
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
with:
|
|
20
|
+
fetch-depth: 0
|
|
21
|
+
- uses: astral-sh/setup-uv@v3
|
|
22
|
+
|
|
23
|
+
# The version number is accessible as a github action output
|
|
24
|
+
- name: Print version
|
|
25
|
+
run: "echo '${{ steps.release.outputs.version }}'"
|
|
26
|
+
|
|
27
|
+
- run: uv build
|
|
28
|
+
- run: uv publish --trusted-publishing always
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
name: cocogitto (and release)
|
|
2
|
+
|
|
3
|
+
on: [push]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
cog_check_job:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
name: check commits with cocogitto
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v4
|
|
11
|
+
with:
|
|
12
|
+
fetch-depth: 0
|
|
13
|
+
|
|
14
|
+
- name: Conventional commits compliance check
|
|
15
|
+
uses: oknozor/cocogitto-action@v3
|
|
16
|
+
with:
|
|
17
|
+
check-latest-tag-only: true
|
|
18
|
+
git-user: 'yoctoyotta1024'
|
|
19
|
+
git-user-email: 'yoctoyotta1024@yahoo.com'
|
|
20
|
+
|
|
21
|
+
test_cleopy_build:
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v4
|
|
25
|
+
- uses: astral-sh/setup-uv@v3
|
|
26
|
+
|
|
27
|
+
- name: build and test cleopy
|
|
28
|
+
run: |
|
|
29
|
+
uv build
|
|
30
|
+
uv run pytest tests/
|
|
31
|
+
|
|
32
|
+
# Check that basic features work and we didn't miss to include crucial files
|
|
33
|
+
- name: pytests (wheel)
|
|
34
|
+
run: uv run --isolated --no-project -p 3.13 --with dist/*.whl tests/test_publish.py
|
|
35
|
+
|
|
36
|
+
- name: pytests (source distribution)
|
|
37
|
+
run: uv run --isolated --no-project -p 3.13 --with dist/*.tar.gz tests/test_publish.py
|
|
38
|
+
|
|
39
|
+
release:
|
|
40
|
+
needs: ["cog_check_job", "test_cleopy_build"]
|
|
41
|
+
# Only release new version when merging into `origin/main`.`
|
|
42
|
+
if: "github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'yoctoyotta1024'"
|
|
43
|
+
permissions:
|
|
44
|
+
contents: write
|
|
45
|
+
runs-on: ubuntu-latest
|
|
46
|
+
name: Perform semantic versioning release
|
|
47
|
+
steps:
|
|
48
|
+
- uses: actions/checkout@v4
|
|
49
|
+
with:
|
|
50
|
+
fetch-depth: 0
|
|
51
|
+
|
|
52
|
+
- name: semver release with cocogitto
|
|
53
|
+
uses: oknozor/cocogitto-action@v3
|
|
54
|
+
id: release
|
|
55
|
+
with:
|
|
56
|
+
release: true
|
|
57
|
+
check-latest-tag-only: true
|
|
58
|
+
git-user: 'yoctoyotta1024'
|
|
59
|
+
git-user-email: 'yoctoyotta1024@yahoo.com'
|
|
60
|
+
|
|
61
|
+
# The version number is accessible as a github action output
|
|
62
|
+
- name: Print version
|
|
63
|
+
run: "echo '${{ steps.release.outputs.version }}'"
|
|
64
|
+
|
|
65
|
+
- name: Generate Changelog
|
|
66
|
+
run: cog changelog --at ${{ steps.release.outputs.version }} -t remote > GITHUB_CHANGELOG.md
|
|
67
|
+
|
|
68
|
+
- name: Upload github release
|
|
69
|
+
uses: softprops/action-gh-release@v2
|
|
70
|
+
with:
|
|
71
|
+
body_path: GITHUB_CHANGELOG.md
|
|
72
|
+
tag_name: ${{ steps.release.outputs.version }}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
name: documentation
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
defaults:
|
|
9
|
+
run:
|
|
10
|
+
shell: bash -l {0}
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
|
|
14
|
+
- name: Initialise Mamba
|
|
15
|
+
uses: conda-incubator/setup-miniconda@v3
|
|
16
|
+
with:
|
|
17
|
+
activate-environment: cleodev
|
|
18
|
+
auto-activate-base: false
|
|
19
|
+
use-mamba: true
|
|
20
|
+
miniforge-version: 'latest'
|
|
21
|
+
conda-remove-defaults: true
|
|
22
|
+
|
|
23
|
+
- name: Update Mamba Environment
|
|
24
|
+
run: |
|
|
25
|
+
mamba env update -n cleodev -f environment.yml
|
|
26
|
+
|
|
27
|
+
- name: Environment Info
|
|
28
|
+
run: |
|
|
29
|
+
mamba info
|
|
30
|
+
mamba list
|
|
31
|
+
which doxygen && doxygen --version
|
|
32
|
+
which uv && uv --version
|
|
33
|
+
uv run which python && uv run python --version
|
|
34
|
+
|
|
35
|
+
- name: Generate Doxygen Documentation
|
|
36
|
+
run: cd docs &&
|
|
37
|
+
mkdir -p build/doxygen &&
|
|
38
|
+
doxygen doxygen/doxygen.dox
|
|
39
|
+
|
|
40
|
+
- name: Build docs
|
|
41
|
+
run: |
|
|
42
|
+
cd docs && uv run make html
|
|
43
|
+
|
|
44
|
+
- name: Archive build artifacts (i.e. documentation)
|
|
45
|
+
uses: actions/upload-artifact@v4
|
|
46
|
+
with:
|
|
47
|
+
name: html-docs
|
|
48
|
+
path: docs/build/html/
|
|
49
|
+
|
|
50
|
+
publish:
|
|
51
|
+
needs: build
|
|
52
|
+
# Only publish documentation when merging into `origin/main`.`
|
|
53
|
+
if: "github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'yoctoyotta1024'"
|
|
54
|
+
permissions:
|
|
55
|
+
contents: write
|
|
56
|
+
runs-on: ubuntu-latest
|
|
57
|
+
steps:
|
|
58
|
+
- name: Download build artifacts (i.e. documentation)
|
|
59
|
+
uses: actions/download-artifact@v4
|
|
60
|
+
with:
|
|
61
|
+
name: html-docs
|
|
62
|
+
path: docs/build/html/
|
|
63
|
+
- name: Publish docs on GitHub pages
|
|
64
|
+
uses: peaceiris/actions-gh-pages@v4
|
|
65
|
+
with:
|
|
66
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
67
|
+
publish_dir: docs/build/html
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: pre-commit
|
|
2
|
+
|
|
3
|
+
on: pull_request
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
pre-commit:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- name: Checkout
|
|
10
|
+
uses: actions/checkout@v4
|
|
11
|
+
|
|
12
|
+
- name: Python setup
|
|
13
|
+
uses: actions/setup-python@v5
|
|
14
|
+
|
|
15
|
+
- name: Pre-commit run
|
|
16
|
+
uses: pre-commit/action@v3.0.1
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
name: build and run tests
|
|
2
|
+
|
|
3
|
+
on: pull_request
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
setup:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- name: Checkout
|
|
10
|
+
uses: actions/checkout@v4
|
|
11
|
+
|
|
12
|
+
- name: Cache YAXT
|
|
13
|
+
id: cache_yaxt
|
|
14
|
+
uses: actions/cache@v4
|
|
15
|
+
with:
|
|
16
|
+
path: ${{ runner.temp }}/yaxt/
|
|
17
|
+
key: ${{ runner.os }}-yaxt-cache-v0.11.1
|
|
18
|
+
restore-keys: |
|
|
19
|
+
${{ runner.os }}-yaxt-
|
|
20
|
+
|
|
21
|
+
- name: Cache YAC
|
|
22
|
+
id: cache_yac
|
|
23
|
+
uses: actions/cache@v4
|
|
24
|
+
with:
|
|
25
|
+
path: ${{ runner.temp }}/yac/
|
|
26
|
+
key: ${{ runner.os }}-yac-cache-v3.5.2
|
|
27
|
+
restore-keys: |
|
|
28
|
+
${{ runner.os }}-yac-
|
|
29
|
+
|
|
30
|
+
- name: Setup
|
|
31
|
+
if: steps.cache_yaxt.outputs.cache-hit != 'true' || steps.cache_yac.outputs.cache-hit != 'true'
|
|
32
|
+
run: |
|
|
33
|
+
sudo apt-get update
|
|
34
|
+
sudo apt-get install -y \
|
|
35
|
+
cmake libopenmpi-dev openmpi-bin \
|
|
36
|
+
libnetcdff-dev liblapack-dev libfyaml-dev \
|
|
37
|
+
python3-dev python3-numpy python3-mpi4py python3-pip curl
|
|
38
|
+
apt list --installed
|
|
39
|
+
|
|
40
|
+
- name: Build YAXT
|
|
41
|
+
if: steps.cache_yaxt.outputs.cache-hit != 'true'
|
|
42
|
+
run: |
|
|
43
|
+
mkdir yaxt-0.11.1 && cd yaxt-0.11.1
|
|
44
|
+
curl -s -L https://gitlab.dkrz.de/dkrz-sw/yaxt/-/archive/release-0.11.1/yaxt-0.11.1.tar.gz | tar xvz --strip-components=1
|
|
45
|
+
./configure --without-regard-for-quality --without-example-programs \
|
|
46
|
+
--without-perf-programs --with-pic --prefix=${{ runner.temp }}/yaxt
|
|
47
|
+
make -j 4
|
|
48
|
+
make install
|
|
49
|
+
|
|
50
|
+
- name: Build YAC
|
|
51
|
+
if: steps.cache_yac.outputs.cache-hit != 'true'
|
|
52
|
+
run: |
|
|
53
|
+
mkdir yac-v3.5.2 && cd yac-v3.5.2
|
|
54
|
+
curl -s -L https://gitlab.dkrz.de/dkrz-sw/yac/-/archive/v3.5.2/yac_v3.5.2.tar.gz | tar xvz --strip-components=1
|
|
55
|
+
./configure CFLAGS="-fPIC" CC=mpicc FC=mpif90 --disable-mpi-checks \
|
|
56
|
+
--with-yaxt-root=${{ runner.temp }}/yaxt --prefix=${{ runner.temp }}/yac
|
|
57
|
+
make -j 4
|
|
58
|
+
make install
|
|
59
|
+
|
|
60
|
+
build_yac_examples:
|
|
61
|
+
runs-on: ubuntu-latest
|
|
62
|
+
needs: setup
|
|
63
|
+
strategy:
|
|
64
|
+
matrix:
|
|
65
|
+
target: [all, adia0d, golcolls, longcolls, lowlistcolls, szakallurbichcolls,
|
|
66
|
+
testikstraubcolls, const2d, divfree2d, eurec4a1d, rshaft1d, spdtest,
|
|
67
|
+
bubble3d, fromfile, fromfile_irreg, cleo_python_bindings]
|
|
68
|
+
steps:
|
|
69
|
+
- name: Checkout
|
|
70
|
+
uses: actions/checkout@v4
|
|
71
|
+
|
|
72
|
+
- name: Setup
|
|
73
|
+
run: |
|
|
74
|
+
sudo apt-get update
|
|
75
|
+
sudo apt-get install -y \
|
|
76
|
+
cmake libopenmpi-dev openmpi-bin \
|
|
77
|
+
libnetcdff-dev liblapack-dev libfyaml-dev \
|
|
78
|
+
python3-dev python3-numpy python3-mpi4py python3-pip curl
|
|
79
|
+
apt list --installed
|
|
80
|
+
|
|
81
|
+
- name: Restore YAXT Cache
|
|
82
|
+
uses: actions/cache@v4
|
|
83
|
+
with:
|
|
84
|
+
path: ${{ runner.temp }}/yaxt/
|
|
85
|
+
key: ${{ runner.os }}-yaxt-cache-v0.11.1
|
|
86
|
+
|
|
87
|
+
- name: Restore YAC Cache
|
|
88
|
+
uses: actions/cache@v4
|
|
89
|
+
with:
|
|
90
|
+
path: ${{ runner.temp }}/yac/
|
|
91
|
+
key: ${{ runner.os }}-yac-cache-v3.5.2
|
|
92
|
+
|
|
93
|
+
- name: Build YAC Example
|
|
94
|
+
run: |
|
|
95
|
+
mkdir build
|
|
96
|
+
cmake -S ./ -B ./build \
|
|
97
|
+
-DCMAKE_C_COMPILER=mpicc \
|
|
98
|
+
-DCMAKE_CXX_COMPILER=mpic++ \
|
|
99
|
+
-DCMAKE_CXX_FLAGS="-Werror -Wall -pedantic -O3" \
|
|
100
|
+
-DKokkos_ENABLE_SERIAL=ON \
|
|
101
|
+
-DCLEO_COUPLED_DYNAMICS=all \
|
|
102
|
+
-DCLEO_DOMAIN=cartesian \
|
|
103
|
+
-DCLEO_YAXT_ROOT=${{ runner.temp }}/yaxt \
|
|
104
|
+
-DCLEO_YAC_ROOT=${{ runner.temp }}/yac \
|
|
105
|
+
-DCMAKE_MODULE_PATH=${PWD}/libs/coupldyn_yac/cmake
|
|
106
|
+
|
|
107
|
+
- name: Compile YAC Example
|
|
108
|
+
run: cd build && make ${{ matrix.target }}
|
|
109
|
+
|
|
110
|
+
parallelisation_execution_test:
|
|
111
|
+
runs-on: ubuntu-latest
|
|
112
|
+
needs: setup
|
|
113
|
+
strategy:
|
|
114
|
+
matrix:
|
|
115
|
+
target: [fromfile, fromfile_irreg]
|
|
116
|
+
steps:
|
|
117
|
+
- name: Checkout
|
|
118
|
+
uses: actions/checkout@v4
|
|
119
|
+
|
|
120
|
+
- name: Setup
|
|
121
|
+
run: |
|
|
122
|
+
sudo apt-get update
|
|
123
|
+
sudo apt-get install -y \
|
|
124
|
+
cmake libopenmpi-dev openmpi-bin \
|
|
125
|
+
libnetcdff-dev liblapack-dev libfyaml-dev \
|
|
126
|
+
python3-dev python3-numpy python3-mpi4py python3-pip curl
|
|
127
|
+
apt list --installed
|
|
128
|
+
|
|
129
|
+
- name: Restore YAXT Cache
|
|
130
|
+
uses: actions/cache@v4
|
|
131
|
+
with:
|
|
132
|
+
path: ${{ runner.temp }}/yaxt/
|
|
133
|
+
key: ${{ runner.os }}-yaxt-cache-v0.11.1
|
|
134
|
+
|
|
135
|
+
- name: Restore YAC Cache
|
|
136
|
+
uses: actions/cache@v4
|
|
137
|
+
with:
|
|
138
|
+
path: ${{ runner.temp }}/yac/
|
|
139
|
+
key: ${{ runner.os }}-yac-cache-v3.5.2
|
|
140
|
+
|
|
141
|
+
- name: Build and Compile Parallel Example
|
|
142
|
+
run: |
|
|
143
|
+
mkdir build
|
|
144
|
+
cmake -S ./ -B ./build \
|
|
145
|
+
-DCMAKE_C_COMPILER=mpicc \
|
|
146
|
+
-DCMAKE_CXX_COMPILER=mpic++ \
|
|
147
|
+
-DCMAKE_CXX_FLAGS="-Werror -Wall -pedantic -O3" \
|
|
148
|
+
-DKokkos_ENABLE_SERIAL=ON \
|
|
149
|
+
-DCLEO_COUPLED_DYNAMICS=fromfile \
|
|
150
|
+
-DCLEO_DOMAIN=cartesian \
|
|
151
|
+
-DCLEO_YAXT_ROOT=${{ runner.temp }}/yaxt \
|
|
152
|
+
-DCLEO_YAC_ROOT=${{ runner.temp }}/yac \
|
|
153
|
+
-DCMAKE_MODULE_PATH=${PWD}/libs/coupldyn_yac/cmake
|
|
154
|
+
|
|
155
|
+
- name: Parallelization execution test
|
|
156
|
+
run: |
|
|
157
|
+
cd build && make ${{ matrix.target }}
|
|
158
|
+
curl https://swift.dkrz.de/v1/dkrz_8f1b1e92-f07c-41c5-a4ae-8089ec495d87/CLEO/${{ matrix.target }}_data.tar.gz -o ${{ matrix.target }}_data.tar.gz
|
|
159
|
+
tar -zxvf ${{ matrix.target }}_data.tar.gz
|
|
160
|
+
cd .. && pwd
|
|
161
|
+
|
|
162
|
+
mpiexec -n 1 ./build/examples/${{ matrix.target }}/src/${{ matrix.target }} ./examples/${{ matrix.target }}/src/config/${{ matrix.target }}_config.yaml
|
|
163
|
+
ls ./build/bin
|
|
164
|
+
mv ./build/bin ./build/bin_1
|
|
165
|
+
mpiexec -n 2 --host localhost:64 ./build/examples/${{ matrix.target }}/src/${{ matrix.target }} ./examples/${{ matrix.target }}/src/config/${{ matrix.target }}_config.yaml
|
|
166
|
+
mv ./build/bin ./build/bin_2
|
|
167
|
+
mpiexec -n 4 --host localhost:64 ./build/examples/${{ matrix.target }}/src/${{ matrix.target }} ./examples/${{ matrix.target }}/src/config/${{ matrix.target }}_config.yaml
|
|
168
|
+
mv ./build/bin ./build/bin_4
|
|
169
|
+
mpiexec -n 8 --host localhost:64 ./build/examples/${{ matrix.target }}/src/${{ matrix.target }} ./examples/${{ matrix.target }}/src/config/${{ matrix.target }}_config.yaml
|
|
170
|
+
mv ./build/bin ./build/bin_8
|
|
171
|
+
bash -l .github/compare_parallel_results.sh ${{ matrix.target }}_sol.zarr
|
|
172
|
+
rm -rf ./build/bin_*
|
|
173
|
+
|
|
174
|
+
pytests:
|
|
175
|
+
name: pytest tests
|
|
176
|
+
runs-on: ubuntu-latest
|
|
177
|
+
steps:
|
|
178
|
+
- uses: actions/checkout@v4
|
|
179
|
+
- uses: astral-sh/setup-uv@v3
|
|
180
|
+
|
|
181
|
+
- run: uv run pytest tests/
|
cleopy-0.57.4/.gitignore
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
*.log
|
|
2
|
+
*.png
|
|
3
|
+
*.dat
|
|
4
|
+
*.out
|
|
5
|
+
*.ipynb
|
|
6
|
+
*.gif
|
|
7
|
+
*.tar.gz
|
|
8
|
+
*.patch
|
|
9
|
+
|
|
10
|
+
.vscode
|
|
11
|
+
.ipynb_checkpoints
|
|
12
|
+
.DS_Store
|
|
13
|
+
__pycache__
|
|
14
|
+
.clang-format
|
|
15
|
+
|
|
16
|
+
build*/
|
|
17
|
+
docs/source/_autosummary
|
|
18
|
+
examples/examplesolutions
|
|
19
|
+
roughpaper/scratch/share
|
|
20
|
+
roughpaper/scratch/test_new_superdrops.py
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# See https://pre-commit.com for more information
|
|
2
|
+
# See https://pre-commit.com/hooks.html for more hooks
|
|
3
|
+
repos:
|
|
4
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
+
rev: v3.2.0
|
|
6
|
+
hooks:
|
|
7
|
+
- id: check-yaml
|
|
8
|
+
name: Check YAML file formatting
|
|
9
|
+
- id: check-added-large-files
|
|
10
|
+
name: No large Files
|
|
11
|
+
description: Checks that you did not unconsciously upload some enormous file
|
|
12
|
+
- id: check-ast
|
|
13
|
+
name: Check Valid Python
|
|
14
|
+
description: check if python file is valid
|
|
15
|
+
- id: end-of-file-fixer
|
|
16
|
+
name: End of File Fix
|
|
17
|
+
description: Checks file ends on newline
|
|
18
|
+
- id: no-commit-to-branch
|
|
19
|
+
name: No direct commit to main
|
|
20
|
+
args: ['--branch', 'main']
|
|
21
|
+
description: Do not commit to main directly
|
|
22
|
+
- id: trailing-whitespace
|
|
23
|
+
name: Trim trailing whitespaces
|
|
24
|
+
description: Trailing whitespaces are trimmed
|
|
25
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
26
|
+
rev: v0.1.4
|
|
27
|
+
hooks:
|
|
28
|
+
- id: ruff
|
|
29
|
+
args: ["--ignore=E402"] # Ignore E402 error "Module level import not at top of file"
|
|
30
|
+
description: python linter
|
|
31
|
+
- id: ruff-format
|
|
32
|
+
description: python formatter
|
|
33
|
+
- repo: https://gitlab.com/daverona/pre-commit/cpp
|
|
34
|
+
rev: 0.8.0
|
|
35
|
+
hooks:
|
|
36
|
+
- id: cpplint
|
|
37
|
+
args:
|
|
38
|
+
- --linelength=100
|
|
39
|
+
- --filter=-runtime/references,-readability/braces,-whitespace/indent_namespace,
|
|
40
|
+
-build/include,-build/c++11,-build/c++17
|
|
41
|
+
types_or: [c, c++, cuda]
|
|
42
|
+
- repo: https://github.com/compilerla/conventional-pre-commit
|
|
43
|
+
rev: v3.6.0
|
|
44
|
+
hooks:
|
|
45
|
+
- id: conventional-pre-commit
|
|
46
|
+
stages: [commit-msg]
|
|
47
|
+
args: []
|