forefire 2.6.0__tar.gz → 2.7.0b1__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.
- {forefire-2.6.0 → forefire-2.7.0b1}/.gitattributes +3 -3
- {forefire-2.6.0 → forefire-2.7.0b1}/.gitignore +7 -0
- forefire-2.7.0b1/AGENTS.md +58 -0
- forefire-2.7.0b1/CHANGELOG.md +241 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/CMakeLists.txt +86 -21
- forefire-2.7.0b1/CONTRIBUTING.md +51 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/Dockerfile +5 -8
- {forefire-2.6.0 → forefire-2.7.0b1}/PKG-INFO +5 -4
- forefire-2.7.0b1/README.md +226 -0
- forefire-2.7.0b1/TESTING.md +139 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/app/forefire/ForeFire.cpp +32 -23
- {forefire-2.6.0 → forefire-2.7.0b1}/app/forefire/commands.md +33 -25
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/java/JLibForeFire.cpp +1 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/python/README.md +4 -3
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/python/src/pyforefire/__init__.py +7 -6
- forefire-2.7.0b1/bindings/python/src/pyforefire/_ensemble.py +170 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/python/src/pyforefire/_pyforefire.cpp +1 -1
- forefire-2.7.0b1/bindings/python/src/pyforefire/_runner.py +199 -0
- forefire-2.7.0b1/bindings/python/src/pyforefire/_worker.py +67 -0
- forefire-2.7.0b1/bindings/wasm/GriddedWind.h +81 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/wasm/README.md +45 -13
- forefire-2.7.0b1/bindings/wasm/forefire_wasm.cpp +384 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/wasm/index.html +64 -2
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/wasm/landscape.mjs +14 -7
- forefire-2.7.0b1/bindings/wasm/overlays.mjs +135 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/.gitignore +4 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/README.md +89 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/app.js +199 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/assets/farsite-mapping.json +561 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/assets/fuels-experimental.csv +112 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/assets/fuels.csv +112 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/config.example.js +4 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/core.js +81 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/ensemble-ui.js +42 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/ensemble.js +58 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/exports.js +28 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/ffstate.js +8 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/geojson-overlay-payload.js +25 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/index.html +26 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/isochrone-worker.js +3 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/launch.js +7 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/package.json +1 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/prepare.py +66 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/pyroscope-return.js +18 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/scenario.js +35 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/speed-overlay.js +14 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/start.php +29 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/style.css +21 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/tile-service.js +99 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/APACHE-2.0.txt +202 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/AVENC-LICENSE +201 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/FFLATE-LICENSE +21 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/MP4BOX-LICENSE +24 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/POLYGON-CLIPPING-LICENSE.md +11 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/README.md +16 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/ROBUST-PREDICATES-LICENSE.txt +24 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/SPLAYTREE-LICENSE.txt +20 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/avenc/avenc_met_core.js +202 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/avenc/avenc_model.js +1348 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/avenc/avenc_range_model.js +159 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/avenc/avenc_trajectories.js +113 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/fflate.js +2665 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/mp4box.js +4 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/vendor/polygon-clipping.umd.min.js +23 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/visuals.js +45 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/weather-worker.js +8 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/weather.js +36 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/wind-overlay.js +47 -0
- forefire-2.7.0b1/bindings/wasm/scenario-studio/worker.js +84 -0
- forefire-2.7.0b1/bindings/wasm/tile-service.mjs +98 -0
- forefire-2.7.0b1/bindings/wasm/tile-service.test.mjs +47 -0
- forefire-2.7.0b1/bindings/wasm/tiles-demo/README.md +110 -0
- forefire-2.7.0b1/bindings/wasm/tiles-demo/demo.mjs +143 -0
- forefire-2.7.0b1/bindings/wasm/tiles-demo/index.html +42 -0
- forefire-2.7.0b1/bindings/wasm/tiles-demo/interactions.test.mjs +44 -0
- forefire-2.7.0b1/bindings/wasm/tiles-demo/smoke.mjs +66 -0
- forefire-2.7.0b1/bindings/wasm/tiles-demo/style.css +3 -0
- forefire-2.7.0b1/bindings/wasm/tiles-demo/worker.mjs +89 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/wasm/worker.mjs +11 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/cmake-build.sh +4 -2
- forefire-2.7.0b1/install-forefire.sh +109 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/pyproject.toml +3 -2
- {forefire-2.6.0/tools → forefire-2.7.0b1/scripts}/check_all_lfs.bash +5 -5
- {forefire-2.6.0/tools/preflight → forefire-2.7.0b1/scripts}/verify-lfs.sh +1 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/src/ArrayDataLayer.h +18 -18
- {forefire-2.6.0 → forefire-2.7.0b1}/src/BurningMapLayer.h +13 -14
- {forefire-2.6.0 → forefire-2.7.0b1}/src/BurningRatioLayer.h +12 -12
- {forefire-2.6.0 → forefire-2.7.0b1}/src/CLibForeFire.cpp +92 -12
- {forefire-2.6.0 → forefire-2.7.0b1}/src/CLibForeFire.h +2 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/Command.cpp +253 -151
- {forefire-2.6.0 → forefire-2.7.0b1}/src/Command.h +19 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/src/DataBroker.cpp +119 -25
- {forefire-2.6.0 → forefire-2.7.0b1}/src/DataBroker.h +7 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FDCell.cpp +2 -2
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FFArrays.h +1 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FFEvent.cpp +2 -2
- forefire-2.7.0b1/src/FFTileDataLayer.h +92 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireDomain.cpp +90 -10
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireDomain.h +18 -4
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireFront.h +1 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireNode.cpp +27 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireNode.h +4 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FluxLayer.h +6 -13
- {forefire-2.6.0 → forefire-2.7.0b1}/src/ForeFireAtom.h +5 -4
- {forefire-2.6.0 → forefire-2.7.0b1}/src/ForeFireModel.h +1 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FuelDataLayer.h +3 -3
- forefire-2.7.0b1/src/GeographicArrivalMap.h +94 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/GradientDataLayer.h +15 -10
- {forefire-2.6.0 → forefire-2.7.0b1}/src/HttpCommandServer.hpp +43 -7
- {forefire-2.6.0 → forefire-2.7.0b1}/src/MultiplicativeLayer.h +10 -10
- {forefire-2.6.0 → forefire-2.7.0b1}/src/NCXYZTDataLayer.h +26 -18
- {forefire-2.6.0 → forefire-2.7.0b1}/src/PropagativeLayer.h +13 -13
- {forefire-2.6.0 → forefire-2.7.0b1}/src/RosLayer.h +12 -12
- {forefire-2.6.0 → forefire-2.7.0b1}/src/SimulationParameters.h +1 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/StringRepresentation.cpp +8 -8
- {forefire-2.6.0 → forefire-2.7.0b1}/src/TimeGradientDataLayer.h +11 -11
- {forefire-2.6.0 → forefire-2.7.0b1}/src/TimeTable.h +1 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/TwoTimeArrayLayer.h +10 -10
- forefire-2.7.0b1/src/ffstate.cpp +408 -0
- forefire-2.7.0b1/src/ffstate.h +15 -0
- forefire-2.7.0b1/src/fftile.cpp +309 -0
- forefire-2.7.0b1/src/fftile.h +114 -0
- forefire-2.7.0b1/src/fftile_service.cpp +198 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/CraterHeatFluxModel.cpp +1 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/CraterVaporFluxModel.cpp +2 -2
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/FactorChemFluxModel.cpp +2 -2
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/HeatFluxBasicModel.cpp +1 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/LavaSO2FluxModel.cpp +2 -2
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/VaporFluxBasicModel.cpp +1 -1
- forefire-2.7.0b1/src/include/SHA256.h +38 -0
- forefire-2.7.0b1/src/include/Version.h +3 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/ANN.h +1 -6
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/Balbi2020.cpp +1 -2
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/FarsitePropagationModel.cpp +66 -10
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/IsotropicIsospeed.cpp +1 -1
- {forefire-2.6.0 → forefire-2.7.0b1}/third_party/README.md +11 -2
- forefire-2.7.0b1/third_party/stb_image.h +7988 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/README.md +17 -26
- forefire-2.7.0b1/tools/tiles/README.md +233 -0
- forefire-2.7.0b1/tools/tiles/benchmark_wasm.mjs +44 -0
- forefire-2.7.0b1/tools/tiles/ffstate_implementation_plan.md +421 -0
- forefire-2.7.0b1/tools/tiles/fftile.py +212 -0
- forefire-2.7.0b1/tools/tiles/fftile_implementation_plan.md +339 -0
- forefire-2.7.0b1/tools/tiles/requirements.txt +2 -0
- forefire-2.7.0b1/tools/tiles/serve_wasm_demo.py +92 -0
- forefire-2.7.0b1/tools/tiles/test_fftile.py +74 -0
- forefire-2.6.0/CHANGELOG.md +0 -285
- forefire-2.6.0/CONTRIBUTING.md +0 -111
- forefire-2.6.0/README.md +0 -223
- forefire-2.6.0/TESTING.md +0 -263
- forefire-2.6.0/bindings/python/src/pyforefire/_runner.py +0 -110
- forefire-2.6.0/bindings/python/src/pyforefire/_worker.py +0 -34
- forefire-2.6.0/bindings/wasm/forefire_wasm.cpp +0 -226
- forefire-2.6.0/install-forefire.sh +0 -79
- forefire-2.6.0/src/include/Version.h +0 -3
- forefire-2.6.0/tools/devops/increment-version.yml +0 -28
- forefire-2.6.0/tools/increment-version.sh +0 -22
- forefire-2.6.0/tools/postprocessing/bmapToVTK.py +0 -856
- forefire-2.6.0/tools/preprocessing/READMEscripts.md +0 -104
- forefire-2.6.0/tools/preprocessing/pngs2bmap.py +0 -190
- forefire-2.6.0/tools/runANN/ANNTest.cpp +0 -84
- {forefire-2.6.0 → forefire-2.7.0b1}/.dockerignore +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/.readthedocs.yaml +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/CITATION.cff +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/CODE_OF_CONDUCT.md +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/FUELCOVER.md +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/LICENSE +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/app/forefire/AdvancedLineEditor.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/app/forefire/AdvancedLineEditor.hpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/java/JLibForeFire.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/python/src/pyforefire/_cli.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/python/src/pyforefire/_pyforefire.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/python/src/pyforefire/_validate.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/python/src/pyforefire/helpers.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/wasm/smoke.mjs +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/bindings/wasm/terrain3d.mjs +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/install-forefire-osx.sh +0 -0
- {forefire-2.6.0/tools/devops → forefire-2.7.0b1/scripts}/install-netcdf-manylinux.sh +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/BurningMap.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/BurningMap.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/DataLayer.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/EventCommand.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/EventCommand.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FDCell.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FFEvent.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FFPoint.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FFPoint.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FFVector.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FFVector.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireFront.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireFrontData.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireFrontData.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireNodeData.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FireNodeData.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FluxModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/FluxModel.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/ForeFireModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/ParallelData.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/ParallelData.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/ParallelException.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/ParallelException.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/PropagationModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/PropagationModel.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/SimulationParameters.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/Simulator.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/Simulator.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/StringRepresentation.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/TimeTable.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/Visitable.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/Visitor.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/WeatherDataLayer.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/colormap.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/BurnupHeatFluxModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/ForeFireV1HeatFluxModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/ForeFireV1VaporFluxModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/FromObsModels.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/HeatFluxFromObsModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/HeatFluxNominalModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/ScalarFluxNominalModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/ScalarFromObsModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/SpottingFluxBasicModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/VaporFluxFromObsModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/flux/VaporFluxNominalModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/include/FFConstants.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/include/Futils.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/ANNPropagationModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/BMapLoggerForANNTraining.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/Balbi2015.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/BalbiNov2011.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/BalbiNov2011Curv.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/BalbiNov2011TMdMl.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/BalbiUnsteady.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/CurvatureDrivenPropagationModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/FrontDepthDrivenPropagationModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/IsotropicFuelPropagationModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/LavaPropagationModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/Rothermel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/RothermelAndrews2018.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/SamplePropagationModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/TroisPourcent.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/TroisPourcent.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/src/propagation/WindDrivenPropagationModel.cpp +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tests/python/test_wheel.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/third_party/doctest/doctest.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/third_party/stb_image_write.h +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/000_ARCH/2MHGETECMWFBC +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/000_ARCH/FFMNH.yml +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/000_ARCH/GETECMWFBC +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/000_ARCH/JOBARCHIVE +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/001_pgd/MAKE_PGD +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/001_pgd/RUN_PGD +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/001_pgd/cleanDir +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/002_real/MAKE_PREAL +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/002_real/RUN_REAL +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/002_real/cleanDir +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/003_run/MAKE_RUN1 +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/003_run/RUN_MESONH_120p +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/003_run/cleanDir +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/004_SpawnReal/MAKE_SPAWNREAL +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/004_SpawnReal/RUN_SPAWN_REAL +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/004_SpawnReal/cleanDir +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/005_SpawnReal/MAKE_SPAWNREAL23 +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/005_SpawnReal/RUN_SPAWN_REAL +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/005_SpawnReal/cleanDir +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/006_runff/ForeFire/Params.ff +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/006_runff/ForeFire/fuels.ff +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/006_runff/ForeFire/run.ff +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/006_runff/MAKE_RUNFF +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/006_runff/RUN_MNH_100p +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/006_runff/cleanDir +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/006_runff/sbatchRunVtkFilesM1 +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/006_runff/sbatchRunVtkFilesM2 +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/006_runff/sbatchRunVtkFilesM3 +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/RESULTS/README.md +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/3nestFFCASE/makeRunFromTemplate +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/TODO.md +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/makeColormapH.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/MNHCDF_to_FFNC_atmodataset.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/__init__.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/atmo_fire_plotsFrom.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/diag_arrays.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/extractSurfaceInXarray.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/genDomain.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/pMNHFF2VTK.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/pMNHFF2vdb.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/pMNHFF2vti.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/sciplots.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/postprocessing/sounding.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/PGD2Init.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/PRE_IDEA1.pattern +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/clickImageToLocation.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/extract_from_eu_land_cover.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/ffToGeoJson.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/fireObs2ATime.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/genForeFireCase.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/genPrepIdeal.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/geo_to_kml.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/getBGFromCFCase.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/indexRVB.html +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/kmlDomain.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/learnFuelTifPng.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/lidar2fuel.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/prealCF2Case.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/satImage2fuel.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/tifToPngFuel.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/preprocessing/upDirHDR.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/processing/plotFireFiles.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/processing/plotcontour.py +0 -0
- {forefire-2.6.0 → forefire-2.7.0b1}/tools/sampleUses.py +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
# handles large files via git-lfs
|
|
3
|
-
*.ref filter=lfs diff=lfs merge=lfs -text
|
|
4
|
-
|
|
5
2
|
# handles lf and crlf for those using git on windows with wsl
|
|
6
3
|
* text=auto
|
|
7
4
|
*.sh text eol=lf
|
|
8
5
|
*.bash text eol=lf
|
|
9
6
|
*.csv text eol=lf
|
|
10
7
|
|
|
8
|
+
# handles large files via git-lfs (after text=auto, so -text wins)
|
|
9
|
+
*.ref filter=lfs diff=lfs merge=lfs -text
|
|
10
|
+
|
|
11
11
|
# makes ipynb extension not detectable by linguist
|
|
12
12
|
*.ipynb linguist-detectable=false
|
|
@@ -59,3 +59,10 @@ tests/python/log.txt
|
|
|
59
59
|
tests/python/runROS.bash
|
|
60
60
|
simulation_result.geojson
|
|
61
61
|
paper/paper.pdf
|
|
62
|
+
|
|
63
|
+
# Local legacy tile downloads and conversion artifacts
|
|
64
|
+
/test_input_tiles/
|
|
65
|
+
/test_output_tiles/
|
|
66
|
+
|
|
67
|
+
# Compressed tiles fetched from registered HTTP services
|
|
68
|
+
**/tiles-cache/
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# ForeFire workspace
|
|
2
|
+
|
|
3
|
+
ForeFire is a wildfire spread simulator. The C++ core is in `src/` (fronts,
|
|
4
|
+
domain, data layers, `propagation/` and `flux/` models), the interactive shell
|
|
5
|
+
in `app/forefire`, the Python bindings in `bindings/python`, the Emscripten
|
|
6
|
+
build in `bindings/wasm` and the browser GUI served by `listenHTTP[]` in
|
|
7
|
+
`tools/htdocs`. Do not commit, push or open a pull request until asked. Never
|
|
8
|
+
merge.
|
|
9
|
+
|
|
10
|
+
## Before you change anything
|
|
11
|
+
|
|
12
|
+
Read README.md, CONTRIBUTING.md and TESTING.md, check `git status` and keep
|
|
13
|
+
uncommitted edits you did not make. Take behaviour from the current source
|
|
14
|
+
(shell commands are in `src/Command.cpp`), not from old scripts in `tools/` or
|
|
15
|
+
values quoted in issues. Long simulations, large downloads and Meso-NH runs are
|
|
16
|
+
not part of routine development.
|
|
17
|
+
|
|
18
|
+
## Build and test
|
|
19
|
+
|
|
20
|
+
- Native build: CMake 3.15+, C++17. NetCDF, MPI, CLI, Python, WASM and tests
|
|
21
|
+
are `FOREFIRE_*` options in CMakeLists.txt. The version lives only in
|
|
22
|
+
`src/include/Version.h` and changes only in a release commit (a pre-release
|
|
23
|
+
such as `2.7.0b1` is tagged on `dev`).
|
|
24
|
+
- Python: the root pyproject.toml builds `pyforefire`. The core keeps global
|
|
25
|
+
state, so a second `ForeFire()` in one process inherits the first one's
|
|
26
|
+
parameters. Use `ForeFireRunner` for sweeps and parallel runs.
|
|
27
|
+
- Browser: the WASM build has no NetCDF. Do not assume a native feature works
|
|
28
|
+
there without running `bindings/wasm/smoke.mjs`.
|
|
29
|
+
- Meso-NH coupling (`MPI_COUPLING`, `tests/mnh`, `tests/mnh_*`) is not built in
|
|
30
|
+
CI. Report coupled behaviour as untested unless you ran it.
|
|
31
|
+
- Tests: CTest unit tests, `tests/runff` and `tests/python`, see TESTING.md.
|
|
32
|
+
`*.ref` files are in Git LFS; configure with `-DFOREFIRE_CHECK_LFS=OFF` when
|
|
33
|
+
only `tests/runff` was pulled. Report a test you could not run as skipped.
|
|
34
|
+
|
|
35
|
+
## Physics and architecture
|
|
36
|
+
|
|
37
|
+
Propagation and flux models, their parameters and the core data structures
|
|
38
|
+
(singletons, `FireDomain`, `DataBroker`) are the author's scientific and
|
|
39
|
+
architectural decisions. Agents implement; they do not decide physics or
|
|
40
|
+
architecture. Propose such changes in an issue and wait for a maintainer.
|
|
41
|
+
Do not change simulation results while doing docs, packaging, CI or test work,
|
|
42
|
+
and never regenerate a `.ref` file to make a test pass. A change that moves
|
|
43
|
+
results goes in its own pull request and at the top of the CHANGELOG entry.
|
|
44
|
+
|
|
45
|
+
## Writing the change
|
|
46
|
+
|
|
47
|
+
Keep changes small enough to review in one sitting; split them otherwise.
|
|
48
|
+
Do not write comments that narrate the code, only the reason behind a
|
|
49
|
+
non-obvious choice, and do not add a test unless you can name the bug it
|
|
50
|
+
catches. Keep issue numbers and history out of code comments; they belong in
|
|
51
|
+
the CHANGELOG and the pull request.
|
|
52
|
+
|
|
53
|
+
Pull requests target `dev`. Add user-visible changes under `## [Unreleased]`
|
|
54
|
+
in CHANGELOG.md. Keep pull request descriptions and CHANGELOG entries short:
|
|
55
|
+
one line per item, saying only what changes results or what a user will
|
|
56
|
+
notice. Report security problems through GitHub private vulnerability
|
|
57
|
+
reporting, never in a public issue. Do not leave build directories, virtual
|
|
58
|
+
environments, test outputs, workstation paths or credentials in the tree.
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to ForeFire, one line each. The linked pull request or
|
|
4
|
+
issue has the details. Entries that change simulation results are listed first.
|
|
5
|
+
|
|
6
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
7
|
+
Version numbers are the tags in this repository, the values reported by
|
|
8
|
+
`forefire -v`, and what `pip install forefire==<version>` resolves.
|
|
9
|
+
Entries below v2.5.0 were reconstructed from release notes and commit history.
|
|
10
|
+
|
|
11
|
+
## [Unreleased]
|
|
12
|
+
|
|
13
|
+
### Changes results
|
|
14
|
+
|
|
15
|
+
- Farsite reads the wind in m/s and the slope as a tangent, upslope only: about 5× more wind effect and 4× less slope effect on fuel model 1. Retune old settings. ([#242])
|
|
16
|
+
- Farsite matches the FARSITE reference (mbedward/farsite) at the flanks, the back and on slopes; uphill up to a third faster at 30°. ([#269], [#270])
|
|
17
|
+
- Time-varying data layers interpolate forwards, past 24 h too. ([#235])
|
|
18
|
+
- A front reaching the domain edge no longer floods the arrival map. ([#240])
|
|
19
|
+
- A domain built without `loadData` takes its propagation model from the parameters. ([#243])
|
|
20
|
+
- The `BMap` layer holds the arrival times again; it returned zeros. ([#229])
|
|
21
|
+
- Meso-NH coupling on `.fftile` uses Meso-NH's grid geography (nesting, rotation). The NetCDF coupling is unchanged; a Meso-NH patch is provided. ([#245])
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- `.fftile` landscapes: tiled, loaded on demand, over HTTP with `loadData[provider=…;center=(lon,lat)]` (optional libcurl), no NetCDF needed. Missing tiles are non-burnable. ([#245])
|
|
26
|
+
- `.ffstate` checkpoints: `saveState` / `loadState` save and resume a run, and can attach to a Meso-NH domain (`mode=attach`). ([#245])
|
|
27
|
+
- Persistent fuel modifiers on tiles (barriers, fuel replacement), kept in `.ffstate`. ([#245])
|
|
28
|
+
- Sparse arrival-time storage for tile domains (`arrivalMapSubdivisions`). ([#245])
|
|
29
|
+
- Opt-in `normalScheme=slopeCorrectedWeightedMedians` for front normals on slopes; the default is unchanged. ([#284])
|
|
30
|
+
- Scenario Studio, a browser scenario editor on Corsica tiles with ensembles and `.ffstate` download, is now the GitHub Pages demo; the previous demo moved to `/classic/`.
|
|
31
|
+
- WebAssembly: tile domains, rolling wind fields, perimeter import and ignitions at the current time. ([#245])
|
|
32
|
+
- The browser demo can run the Farsite model. ([#274])
|
|
33
|
+
- `pyforefire.run_ensemble` and `burn_probability` map an ensemble's burn probability; `dice`, `brier_score` and `reliability` score it against an observed burnt area. ([#172])
|
|
34
|
+
- `ForeFireRunner.fork()`, `ForeFireRunner(stdout=, stderr=)` and `pyforefire.arrival_time()`. ([#172])
|
|
35
|
+
- `tests/mnh_coupled.bash` goes from a bare Linux machine to a coupled Meso-NH run, with `--compare <branch>`. ([#266])
|
|
36
|
+
- `tools/htdocs/mnh3d.html` shows a Meso-NH coupled run live in 3D. ([#271])
|
|
37
|
+
- The browser demo shows DFCI grid, water points and tracks from IGN (display only).
|
|
38
|
+
- Published releases carry the WebAssembly module and its `SHA256SUMS`. ([#244])
|
|
39
|
+
- User Guide pages on Meso-NH coupling, tiles and checkpoints, and every model with its reference.
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- Commands that need a domain print an error instead of segfaulting when there is none. ([#229])
|
|
44
|
+
- `clear[]` followed by a new domain no longer crashes on the first `startFire`. ([#229])
|
|
45
|
+
- `plot[...;filename=*.asc]` writes a valid ESRI ASCII grid. ([#229])
|
|
46
|
+
- `setParameter` handles `"""…"""` values, `=` inside them, and empty values. ([#276], [#283])
|
|
47
|
+
- `Balbi2020.Cpa` and `FDCellsOutputs=0` take effect; defaults give the same results. ([#276])
|
|
48
|
+
- `listenHTTP` reads a POST body sent after the headers, and no longer crashes when started from `pyforefire`. ([#283])
|
|
49
|
+
- WebAssembly node IDs are no longer duplicated.
|
|
50
|
+
|
|
51
|
+
## [v2.6.0] — 2026-10-26
|
|
52
|
+
|
|
53
|
+
### Changes results
|
|
54
|
+
|
|
55
|
+
- `Rothermel` wind exponent coefficient is 3.59e-4, not 3.59e-3: +6% on `runff` at 5 m/s, much more in loose fuel beds. ([#195])
|
|
56
|
+
- `Balbi2020` divides by the surface-to-volume ratio in eq. C7, and its rate of spread is floored at zero downslope with no wind. ([#196])
|
|
57
|
+
- A fuel map that misses the domain is stretched over it, like the other layers. ([#220])
|
|
58
|
+
- Rate of spread stays finite and decreasing at high dead fuel moisture. ([#158])
|
|
59
|
+
- Release builds use `-ffp-contract=off`, so x86, ARM and `-march=native` give the same results.
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
|
|
63
|
+
- C++ unit tests for every propagation and flux model, `-Wall -Wextra`, and the `FOREFIRE_BUILD_TESTS`, `FOREFIRE_ENABLE_WARNINGS` and `FOREFIRE_WARNINGS_AS_ERRORS` options. ([#156])
|
|
64
|
+
- Dead fuel moisture invariant tests and their workflow. ([#158])
|
|
65
|
+
- AddressSanitizer CI job and `-DFOREFIRE_SANITIZE=<list>`. ([#180])
|
|
66
|
+
- Tests of the HTTP server, and a free-threading stress test that does not pass yet. ([#174], [#176])
|
|
67
|
+
- `pyforefire.ForeFireRunner` runs a simulation in its own worker process; a kernel crash raises `WorkerDied`. ([#175])
|
|
68
|
+
- `forefire-validate landscape.nc fuels.csv` checks a landscape against its fuel table. ([#190])
|
|
69
|
+
- `genForeFireCase.py` is back as a landscape writer. ([#179])
|
|
70
|
+
- `-DFOREFIRE_ENABLE_NETCDF=OFF` builds without NetCDF or HDF5. ([#171])
|
|
71
|
+
- Experimental WebAssembly build and browser demo. ([#171])
|
|
72
|
+
- User Guide page on running from NumPy arrays. ([#189])
|
|
73
|
+
|
|
74
|
+
### Changed
|
|
75
|
+
|
|
76
|
+
- `listenHTTP[]` binds to `localhost` by default (`listenHTTP[0.0.0.0:8000]` for the network or Docker), refuses `systemExec`, and serves only the run directory and `tools/htdocs`. For trusted local use. ([#199], [#203])
|
|
77
|
+
- Linux wheels are about half the size ([#154]); free-threaded wheels are no longer published ([#155]).
|
|
78
|
+
- `import pyforefire` no longer loads matplotlib. ([#193])
|
|
79
|
+
- A safe-topology failure no longer ends the process. ([#181])
|
|
80
|
+
- Faster propagation loops, same results. ([#221])
|
|
81
|
+
- `stb_image_write.h` moved to `third_party/`. ([#192])
|
|
82
|
+
|
|
83
|
+
### Fixed
|
|
84
|
+
|
|
85
|
+
- `pyforefire` calls before `FireDomain[...]` raise `RuntimeError` instead of segfaulting. ([#202])
|
|
86
|
+
- Crashes in `clear[]` after `loadData` ([#205]) or after a stopped front ([#194]), and with a front reduced to two nodes ([#198]).
|
|
87
|
+
- Double free and uninitialised pointer in model destruction. ([#156], [#157])
|
|
88
|
+
- `runANN` works and runs in CI. ([#183])
|
|
89
|
+
- Thread safety of atom ids, the parameters singleton and string representations. ([#177], [#178])
|
|
90
|
+
|
|
91
|
+
## [v2.5.0] — 2026-08-11
|
|
92
|
+
|
|
93
|
+
### Added
|
|
94
|
+
|
|
95
|
+
- Pip wheels for Linux (x86_64, aarch64) and macOS Apple Silicon: `pip install forefire` gives the `forefire` CLI and `pyforefire`. Intel Macs build from the sdist. ([#151])
|
|
96
|
+
|
|
97
|
+
### Changed
|
|
98
|
+
|
|
99
|
+
- Multi-stage Dockerfile. ([#147])
|
|
100
|
+
- `install-forefire.sh` uses an option-based `CMakeLists.txt`.
|
|
101
|
+
|
|
102
|
+
### Fixed
|
|
103
|
+
|
|
104
|
+
- A double free in `FireFront` cleanup. ([#145])
|
|
105
|
+
- `CMakeLists.txt` was missing from the source distribution. ([#152])
|
|
106
|
+
- Bugs in `tests/run.bash`. ([#146])
|
|
107
|
+
|
|
108
|
+
**Full Changelog**: <https://github.com/forefireAPI/forefire/compare/v2.4.2...v2.5.0>
|
|
109
|
+
|
|
110
|
+
## [v2.4.2] — 2025-11-27
|
|
111
|
+
|
|
112
|
+
- Simplified the installation process, following review comments on the JOSS
|
|
113
|
+
submission, and corrected the installation instructions.
|
|
114
|
+
- Aligned the coupling with
|
|
115
|
+
[PACK-MNH-V5-7-2](https://src.koda.cnrs.fr/mesonh/mesonh-code/-/releases/PACK-MNH-V5-7-2).
|
|
116
|
+
- Aligned the repository with the accepted JOSS paper
|
|
117
|
+
([10.21105/joss.08680](https://doi.org/10.21105/joss.08680)).
|
|
118
|
+
|
|
119
|
+
**Full Changelog**: <https://github.com/forefireAPI/forefire/compare/v2.1.122...v2.4.2>
|
|
120
|
+
|
|
121
|
+
## [v2.1.122] — 2025-09-16
|
|
122
|
+
|
|
123
|
+
Tagged, but never published as a GitHub release.
|
|
124
|
+
|
|
125
|
+
- Docker images published to the GitHub container registry, and tested in CI.
|
|
126
|
+
- Python bindings reworked, with the example from [#103] applied.
|
|
127
|
+
- macOS CI runs the test script.
|
|
128
|
+
|
|
129
|
+
**Full Changelog**: <https://github.com/forefireAPI/forefire/compare/v2.0...v2.1.122>
|
|
130
|
+
|
|
131
|
+
## [v2.0] — 2025-06-05
|
|
132
|
+
|
|
133
|
+
The V2 release: the HTTP interface, and alignment with Meso-NH V4.7.2.
|
|
134
|
+
|
|
135
|
+
### Added
|
|
136
|
+
|
|
137
|
+
- The built-in **HTTP command server and web UI** (`listenHTTP[]`, or
|
|
138
|
+
`forefire -l`), serving a map view of the simulation.
|
|
139
|
+
- The **Read the Docs documentation site**, built with Sphinx, Breathe and
|
|
140
|
+
Doxygen.
|
|
141
|
+
- `install-forefire.sh`, with `-y` to add `forefire` to `PATH` and set
|
|
142
|
+
`FOREFIREHOME`.
|
|
143
|
+
- A working Dockerfile, and GitHub Actions for Linux and macOS.
|
|
144
|
+
- The `RothermelAndrews2018` propagation model. ([#34])
|
|
145
|
+
|
|
146
|
+
### Changed
|
|
147
|
+
|
|
148
|
+
- CMake replaces SCons throughout; references to SCons were removed.
|
|
149
|
+
|
|
150
|
+
### Fixed
|
|
151
|
+
|
|
152
|
+
- The `-lnetcdf_c++4` link failure. ([#26])
|
|
153
|
+
- A division by zero in `setArrivalTime`/`getArrivalTime`. ([#36])
|
|
154
|
+
|
|
155
|
+
**Full Changelog**: <https://github.com/forefireAPI/forefire/compare/v1.2...v2.0>
|
|
156
|
+
|
|
157
|
+
## [v1.2] — 2024-01-16
|
|
158
|
+
|
|
159
|
+
### Added
|
|
160
|
+
|
|
161
|
+
- The `geojson` dump mode.
|
|
162
|
+
|
|
163
|
+
## [v1.1.10] — 2022-10-25
|
|
164
|
+
|
|
165
|
+
### Changed
|
|
166
|
+
|
|
167
|
+
- CMake became the default build system. ([#9])
|
|
168
|
+
|
|
169
|
+
## [v1.1.0] — 2022-09-28
|
|
170
|
+
|
|
171
|
+
Tagged before the sources were moved into `src/`, so that this point in the
|
|
172
|
+
repository stays easy to return to.
|
|
173
|
+
|
|
174
|
+
[Unreleased]: https://github.com/forefireAPI/forefire/compare/v2.6.0...dev
|
|
175
|
+
[v2.6.0]: https://github.com/forefireAPI/forefire/releases/tag/v2.6.0
|
|
176
|
+
[v2.5.0]: https://github.com/forefireAPI/forefire/releases/tag/v2.5.0
|
|
177
|
+
[v2.4.2]: https://github.com/forefireAPI/forefire/releases/tag/v2.4.2
|
|
178
|
+
[v2.1.122]: https://github.com/forefireAPI/forefire/releases/tag/v2.1.122
|
|
179
|
+
[v2.0]: https://github.com/forefireAPI/forefire/releases/tag/v2.0
|
|
180
|
+
[v1.2]: https://github.com/forefireAPI/forefire/releases/tag/v1.2
|
|
181
|
+
[v1.1.10]: https://github.com/forefireAPI/forefire/releases/tag/v1.1.10
|
|
182
|
+
[v1.1.0]: https://github.com/forefireAPI/forefire/releases/tag/v1.1.0
|
|
183
|
+
|
|
184
|
+
[#9]: https://github.com/forefireAPI/forefire/issues/9
|
|
185
|
+
[#26]: https://github.com/forefireAPI/forefire/pull/26
|
|
186
|
+
[#34]: https://github.com/forefireAPI/forefire/pull/34
|
|
187
|
+
[#36]: https://github.com/forefireAPI/forefire/pull/36
|
|
188
|
+
[#103]: https://github.com/forefireAPI/forefire/issues/103
|
|
189
|
+
[#145]: https://github.com/forefireAPI/forefire/pull/145
|
|
190
|
+
[#146]: https://github.com/forefireAPI/forefire/pull/146
|
|
191
|
+
[#147]: https://github.com/forefireAPI/forefire/pull/147
|
|
192
|
+
[#151]: https://github.com/forefireAPI/forefire/pull/151
|
|
193
|
+
[#152]: https://github.com/forefireAPI/forefire/pull/152
|
|
194
|
+
[#154]: https://github.com/forefireAPI/forefire/pull/154
|
|
195
|
+
[#155]: https://github.com/forefireAPI/forefire/pull/155
|
|
196
|
+
[#156]: https://github.com/forefireAPI/forefire/pull/156
|
|
197
|
+
[#157]: https://github.com/forefireAPI/forefire/pull/157
|
|
198
|
+
[#158]: https://github.com/forefireAPI/forefire/pull/158
|
|
199
|
+
[#174]: https://github.com/forefireAPI/forefire/pull/174
|
|
200
|
+
[#175]: https://github.com/forefireAPI/forefire/issues/175
|
|
201
|
+
[#176]: https://github.com/forefireAPI/forefire/pull/176
|
|
202
|
+
[#177]: https://github.com/forefireAPI/forefire/pull/177
|
|
203
|
+
[#178]: https://github.com/forefireAPI/forefire/pull/178
|
|
204
|
+
[#180]: https://github.com/forefireAPI/forefire/pull/180
|
|
205
|
+
[#183]: https://github.com/forefireAPI/forefire/pull/183
|
|
206
|
+
[#193]: https://github.com/forefireAPI/forefire/pull/193
|
|
207
|
+
[#198]: https://github.com/forefireAPI/forefire/pull/198
|
|
208
|
+
[#197]: https://github.com/forefireAPI/forefire/pull/197
|
|
209
|
+
[#194]: https://github.com/forefireAPI/forefire/pull/194
|
|
210
|
+
[#196]: https://github.com/forefireAPI/forefire/issues/196
|
|
211
|
+
[#220]: https://github.com/forefireAPI/forefire/pull/220
|
|
212
|
+
[#195]: https://github.com/forefireAPI/forefire/pull/195
|
|
213
|
+
[#202]: https://github.com/forefireAPI/forefire/pull/202
|
|
214
|
+
[#199]: https://github.com/forefireAPI/forefire/pull/199
|
|
215
|
+
[#179]: https://github.com/forefireAPI/forefire/pull/179
|
|
216
|
+
[#181]: https://github.com/forefireAPI/forefire/pull/181
|
|
217
|
+
[#182]: https://github.com/forefireAPI/forefire/pull/182
|
|
218
|
+
[#189]: https://github.com/forefireAPI/forefire/pull/189
|
|
219
|
+
[#190]: https://github.com/forefireAPI/forefire/pull/190
|
|
220
|
+
[#192]: https://github.com/forefireAPI/forefire/pull/192
|
|
221
|
+
[#221]: https://github.com/forefireAPI/forefire/pull/221
|
|
222
|
+
[#203]: https://github.com/forefireAPI/forefire/pull/203
|
|
223
|
+
[#205]: https://github.com/forefireAPI/forefire/issues/205
|
|
224
|
+
[#171]: https://github.com/forefireAPI/forefire/issues/171
|
|
225
|
+
[#172]: https://github.com/forefireAPI/forefire/issues/172
|
|
226
|
+
[#265]: https://github.com/forefireAPI/forefire/issues/265
|
|
227
|
+
[#242]: https://github.com/forefireAPI/forefire/pull/242
|
|
228
|
+
[#270]: https://github.com/forefireAPI/forefire/pull/270
|
|
229
|
+
[#266]: https://github.com/forefireAPI/forefire/issues/266
|
|
230
|
+
[#229]: https://github.com/forefireAPI/forefire/pull/229
|
|
231
|
+
[#235]: https://github.com/forefireAPI/forefire/pull/235
|
|
232
|
+
[#240]: https://github.com/forefireAPI/forefire/pull/240
|
|
233
|
+
[#243]: https://github.com/forefireAPI/forefire/pull/243
|
|
234
|
+
[#244]: https://github.com/forefireAPI/forefire/pull/244
|
|
235
|
+
[#269]: https://github.com/forefireAPI/forefire/pull/269
|
|
236
|
+
[#271]: https://github.com/forefireAPI/forefire/pull/271
|
|
237
|
+
[#274]: https://github.com/forefireAPI/forefire/pull/274
|
|
238
|
+
[#276]: https://github.com/forefireAPI/forefire/pull/276
|
|
239
|
+
[#283]: https://github.com/forefireAPI/forefire/pull/283
|
|
240
|
+
[#284]: https://github.com/forefireAPI/forefire/issues/284
|
|
241
|
+
[#245]: https://github.com/forefireAPI/forefire/issues/245
|
|
@@ -4,14 +4,16 @@ cmake_minimum_required(VERSION 3.15)
|
|
|
4
4
|
# Version (single source of truth: src/include/Version.h)
|
|
5
5
|
# ----------------------------------
|
|
6
6
|
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/src/include/Version.h" _ff_version_header)
|
|
7
|
-
|
|
7
|
+
# An optional PEP 440 pre-release suffix (2.7.0b1, 2.7.0rc1) is allowed;
|
|
8
|
+
# project() only takes the numeric part.
|
|
9
|
+
string(REGEX MATCH "ff_version[ \t]*=[ \t]*\"v?([0-9]+\\.[0-9]+\\.[0-9]+)([0-9a-z.]*)\"" _ff_version_match "${_ff_version_header}")
|
|
8
10
|
if(NOT _ff_version_match)
|
|
9
11
|
message(FATAL_ERROR "Could not parse ff_version from src/include/Version.h")
|
|
10
12
|
endif()
|
|
11
13
|
set(FOREFIRE_VERSION "${CMAKE_MATCH_1}")
|
|
14
|
+
set(FOREFIRE_VERSION_FULL "${CMAKE_MATCH_1}${CMAKE_MATCH_2}")
|
|
12
15
|
|
|
13
16
|
project(forefire VERSION ${FOREFIRE_VERSION})
|
|
14
|
-
message(STATUS "ForeFire version: ${FOREFIRE_VERSION}")
|
|
15
17
|
|
|
16
18
|
# ----------------------------------
|
|
17
19
|
# Build Options
|
|
@@ -63,6 +65,12 @@ endif()
|
|
|
63
65
|
|
|
64
66
|
option(FOREFIRE_ENABLE_MPI "Enable MPI coupling when MPI is available" ${_ff_default_mpi})
|
|
65
67
|
option(FOREFIRE_ENABLE_NETCDF "Build the NetCDF-backed I/O paths" ${_ff_default_netcdf})
|
|
68
|
+
if(EMSCRIPTEN OR _ff_wheel_build)
|
|
69
|
+
set(_ff_default_tile_http OFF)
|
|
70
|
+
else()
|
|
71
|
+
set(_ff_default_tile_http ON)
|
|
72
|
+
endif()
|
|
73
|
+
option(FOREFIRE_ENABLE_TILE_HTTP "Enable native HTTP tile services when libcurl is available" ${_ff_default_tile_http})
|
|
66
74
|
option(FOREFIRE_BUILD_CLI "Build the interactive forefire command line shell" ${_ff_default_cli})
|
|
67
75
|
option(FOREFIRE_BUILD_WASM "Build the Emscripten/embind module" ${EMSCRIPTEN})
|
|
68
76
|
option(FOREFIRE_NATIVE_ARCH "Optimise for the build machine's CPU (-march=native)" ${_ff_default_native})
|
|
@@ -79,8 +87,11 @@ set(FOREFIRE_SANITIZE "" CACHE STRING
|
|
|
79
87
|
# ----------------------------------
|
|
80
88
|
# Set C++ Standard
|
|
81
89
|
# ----------------------------------
|
|
82
|
-
set(CMAKE_CXX_STANDARD
|
|
90
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
83
91
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
92
|
+
# ISO C++17, not gnu++17: no GNU extensions leak into the core, so GCC, Clang
|
|
93
|
+
# and Emscripten all compile the same language.
|
|
94
|
+
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
84
95
|
|
|
85
96
|
# ----------------------------------
|
|
86
97
|
# MPI Detection
|
|
@@ -89,9 +100,6 @@ if(NOT FOREFIRE_ENABLE_MPI)
|
|
|
89
100
|
message(STATUS "MPI support disabled (FOREFIRE_ENABLE_MPI=OFF)")
|
|
90
101
|
set(MPI_FOUND FALSE)
|
|
91
102
|
elseif(MPI_C_COMPILER AND MPI_CXX_COMPILER)
|
|
92
|
-
message(STATUS "Using manually specified MPI compilers:")
|
|
93
|
-
message(STATUS " MPI_C_COMPILER: ${MPI_C_COMPILER}")
|
|
94
|
-
message(STATUS " MPI_CXX_COMPILER: ${MPI_CXX_COMPILER}")
|
|
95
103
|
set(CMAKE_C_COMPILER "${MPI_C_COMPILER}")
|
|
96
104
|
set(CMAKE_CXX_COMPILER "${MPI_CXX_COMPILER}")
|
|
97
105
|
|
|
@@ -108,7 +116,7 @@ else()
|
|
|
108
116
|
find_package(MPI)
|
|
109
117
|
if(MPI_FOUND)
|
|
110
118
|
message(STATUS "MPI found via find_package")
|
|
111
|
-
include_directories(${MPI_INCLUDE_PATH})
|
|
119
|
+
include_directories(SYSTEM ${MPI_INCLUDE_PATH})
|
|
112
120
|
else()
|
|
113
121
|
# Try to detect MPI installation from environment variables like MPI_HOME, MPI_ROOT, or any *MPI*ROOT*
|
|
114
122
|
set(_mpi_env_vars)
|
|
@@ -138,7 +146,7 @@ else()
|
|
|
138
146
|
set(CMAKE_C_COMPILER "${MPI_C_COMPILER}")
|
|
139
147
|
set(CMAKE_CXX_COMPILER "${MPI_CXX_COMPILER}")
|
|
140
148
|
link_directories("${HEREMPI}/lib" "${HEREMPI}/lib/release")
|
|
141
|
-
include_directories("${MPI_INCLUDE_PATH}")
|
|
149
|
+
include_directories(SYSTEM "${MPI_INCLUDE_PATH}")
|
|
142
150
|
message(STATUS "Set MPI_C_COMPILER: ${MPI_C_COMPILER}")
|
|
143
151
|
message(STATUS "Set MPI_CXX_COMPILER: ${MPI_CXX_COMPILER}")
|
|
144
152
|
message(STATUS "Set MPI_C_LIBRARIES: ${MPI_C_LIBRARIES}")
|
|
@@ -231,8 +239,6 @@ else()
|
|
|
231
239
|
endif()
|
|
232
240
|
endforeach()
|
|
233
241
|
|
|
234
|
-
message(STATUS "NetCDF C: ${NETCDF_LIBRARY} (headers: ${NETCDF_INCLUDE_DIR})")
|
|
235
|
-
message(STATUS "NetCDF C++: ${NETCDF_CXX_LIBRARY} (headers: ${NETCDF_CXX_INCLUDE_DIR})")
|
|
236
242
|
# SYSTEM: the NetCDF C++4 headers trip -Wunused-variable, and that is not a
|
|
237
243
|
# warning anyone here can act on.
|
|
238
244
|
target_include_directories(forefire_netcdf SYSTEM INTERFACE ${NETCDF_CXX_INCLUDE_DIR} ${NETCDF_INCLUDE_DIR})
|
|
@@ -305,10 +311,7 @@ if(NOT _ff_wheel_build)
|
|
|
305
311
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin")
|
|
306
312
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
|
|
307
313
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
|
|
308
|
-
message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY: ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
|
|
309
|
-
message(STATUS "CMAKE_LIBRARY_OUTPUT_DIRECTORY: ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
|
|
310
314
|
endif()
|
|
311
|
-
message(STATUS "CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}")
|
|
312
315
|
|
|
313
316
|
# ----------------------------------
|
|
314
317
|
# Source Files
|
|
@@ -341,6 +344,18 @@ target_include_directories(forefireL SYSTEM PRIVATE
|
|
|
341
344
|
# its consumers the way the shared library does.
|
|
342
345
|
find_package(Threads REQUIRED)
|
|
343
346
|
target_link_libraries(forefireL PUBLIC forefire_netcdf Threads::Threads)
|
|
347
|
+
target_compile_definitions(forefireL PRIVATE FF_STATE_ENGINE_VERSION="${FOREFIRE_VERSION_FULL}")
|
|
348
|
+
if(FOREFIRE_ENABLE_TILE_HTTP AND NOT EMSCRIPTEN)
|
|
349
|
+
find_package(CURL QUIET)
|
|
350
|
+
if(CURL_FOUND)
|
|
351
|
+
target_link_libraries(forefireL PRIVATE CURL::libcurl)
|
|
352
|
+
target_compile_definitions(forefireL PUBLIC FF_TILE_HTTP=1)
|
|
353
|
+
message(STATUS "Tile HTTP services enabled (libcurl ${CURL_VERSION_STRING})")
|
|
354
|
+
else()
|
|
355
|
+
message(STATUS "libcurl unavailable: tile providers support local files only")
|
|
356
|
+
endif()
|
|
357
|
+
endif()
|
|
358
|
+
|
|
344
359
|
if(_ff_warning_flags)
|
|
345
360
|
target_compile_options(forefireL PRIVATE ${_ff_warning_flags})
|
|
346
361
|
endif()
|
|
@@ -349,7 +364,7 @@ endif()
|
|
|
349
364
|
# Test Executable
|
|
350
365
|
# ----------------------------------
|
|
351
366
|
if(FOREFIRE_BUILD_TOOLS)
|
|
352
|
-
add_executable(ANN_test
|
|
367
|
+
add_executable(ANN_test tests/runANN/ANNTest.cpp)
|
|
353
368
|
target_link_libraries(ANN_test PRIVATE forefire_netcdf)
|
|
354
369
|
endif()
|
|
355
370
|
|
|
@@ -364,6 +379,20 @@ if(FOREFIRE_BUILD_CLI)
|
|
|
364
379
|
if(_ff_warning_flags)
|
|
365
380
|
target_compile_options(forefire PRIVATE ${_ff_warning_flags})
|
|
366
381
|
endif()
|
|
382
|
+
# `forefire -v` also prints the commit it was built from. Read at configure
|
|
383
|
+
# time, so a commit made without reconfiguring is not picked up. Empty when
|
|
384
|
+
# there is no git checkout (sdist, tarball).
|
|
385
|
+
set(FOREFIRE_GIT_DESCRIBE "")
|
|
386
|
+
find_package(Git QUIET)
|
|
387
|
+
if(GIT_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
|
|
388
|
+
execute_process(
|
|
389
|
+
COMMAND ${GIT_EXECUTABLE} describe --tags --dirty --always
|
|
390
|
+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
391
|
+
OUTPUT_VARIABLE FOREFIRE_GIT_DESCRIBE
|
|
392
|
+
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
393
|
+
ERROR_QUIET)
|
|
394
|
+
endif()
|
|
395
|
+
target_compile_definitions(forefire PRIVATE "FF_GIT_DESCRIBE=\"${FOREFIRE_GIT_DESCRIBE}\"")
|
|
367
396
|
endif()
|
|
368
397
|
|
|
369
398
|
# ----------------------------------
|
|
@@ -380,10 +409,10 @@ endif()
|
|
|
380
409
|
if(FOREFIRE_BUILD_WASM)
|
|
381
410
|
add_executable(forefire_wasm bindings/wasm/forefire_wasm.cpp)
|
|
382
411
|
target_link_libraries(forefire_wasm PRIVATE forefireL)
|
|
383
|
-
# Two things are non-obvious here.
|
|
384
|
-
# so this one translation unit moves up while the core stays on C++11 —
|
|
385
|
-
# both sit on the same libc++. And the output is an ES module, which Node
|
|
412
|
+
# Two things are non-obvious here. The output is an ES module, which Node
|
|
386
413
|
# only recognises from a .js file when a package.json says so, hence .mjs.
|
|
414
|
+
# (embind needs C++17; the whole project is on it now, so the core and this
|
|
415
|
+
# translation unit no longer sit on different standards.)
|
|
387
416
|
set_target_properties(forefire_wasm PROPERTIES
|
|
388
417
|
OUTPUT_NAME "forefire"
|
|
389
418
|
SUFFIX ".mjs"
|
|
@@ -485,16 +514,15 @@ if(FOREFIRE_CHECK_LFS)
|
|
|
485
514
|
message(STATUS "Running Git LFS data integrity check...")
|
|
486
515
|
|
|
487
516
|
execute_process(
|
|
488
|
-
COMMAND bash
|
|
517
|
+
COMMAND bash scripts/check_all_lfs.bash
|
|
489
518
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
|
490
519
|
RESULT_VARIABLE LFS_CHECK_RESULT
|
|
491
520
|
OUTPUT_VARIABLE LFS_CHECK_OUTPUT
|
|
492
521
|
ERROR_VARIABLE LFS_CHECK_ERROR
|
|
493
522
|
)
|
|
494
523
|
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
else()
|
|
524
|
+
# Success shows in the summary below; only a failure needs its own message.
|
|
525
|
+
if(NOT LFS_CHECK_RESULT EQUAL 0)
|
|
498
526
|
message(WARNING "
|
|
499
527
|
************************************************************
|
|
500
528
|
⚠️ WARNING: Git LFS data integrity check failed!
|
|
@@ -508,3 +536,40 @@ ${LFS_CHECK_ERROR}
|
|
|
508
536
|
")
|
|
509
537
|
endif()
|
|
510
538
|
endif()
|
|
539
|
+
|
|
540
|
+
# ----------------------------------
|
|
541
|
+
# Configuration summary
|
|
542
|
+
# ----------------------------------
|
|
543
|
+
# Printed last, so what this build was configured with is in one place.
|
|
544
|
+
if(FOREFIRE_ENABLE_NETCDF)
|
|
545
|
+
set(_ff_sum_netcdf "ON ${NETCDF_CXX_LIBRARY}${NETCDF_CXX_LIB}")
|
|
546
|
+
else()
|
|
547
|
+
set(_ff_sum_netcdf "OFF")
|
|
548
|
+
endif()
|
|
549
|
+
if(MPI_FOUND)
|
|
550
|
+
set(_ff_sum_mpi "ON ${MPI_CXX_COMPILER}")
|
|
551
|
+
else()
|
|
552
|
+
set(_ff_sum_mpi "OFF")
|
|
553
|
+
endif()
|
|
554
|
+
if(NOT FOREFIRE_CHECK_LFS)
|
|
555
|
+
set(_ff_sum_lfs "not checked (FOREFIRE_CHECK_LFS=OFF)")
|
|
556
|
+
elseif(LFS_CHECK_RESULT EQUAL 0)
|
|
557
|
+
set(_ff_sum_lfs "OK")
|
|
558
|
+
else()
|
|
559
|
+
set(_ff_sum_lfs "FAILED, see the warning above")
|
|
560
|
+
endif()
|
|
561
|
+
string(STRIP "${CMAKE_CXX_FLAGS}" _ff_sum_flags)
|
|
562
|
+
|
|
563
|
+
message(STATUS "")
|
|
564
|
+
message(STATUS "🔥 ForeFire v${FOREFIRE_VERSION_FULL} configuration")
|
|
565
|
+
message(STATUS " NetCDF ....... ${_ff_sum_netcdf}")
|
|
566
|
+
message(STATUS " MPI .......... ${_ff_sum_mpi}")
|
|
567
|
+
message(STATUS " Flags ........ ${_ff_sum_flags}")
|
|
568
|
+
message(STATUS " CLI shell .... ${FOREFIRE_BUILD_CLI}")
|
|
569
|
+
message(STATUS " Python ....... ${FOREFIRE_BUILD_PYTHON}")
|
|
570
|
+
message(STATUS " Unit tests ... ${FOREFIRE_BUILD_TESTS}")
|
|
571
|
+
if(NOT _ff_wheel_build)
|
|
572
|
+
message(STATUS " Output ....... ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
|
|
573
|
+
endif()
|
|
574
|
+
message(STATUS " LFS data ..... ${_ff_sum_lfs}")
|
|
575
|
+
message(STATUS "")
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Contributing to ForeFire
|
|
2
|
+
|
|
3
|
+
Thanks for helping. Bugs, ideas, docs and code are all welcome.
|
|
4
|
+
|
|
5
|
+
## Reporting a bug
|
|
6
|
+
|
|
7
|
+
Search the [issues](https://github.com/forefireAPI/forefire/issues) first.
|
|
8
|
+
A new issue should include:
|
|
9
|
+
|
|
10
|
+
- `forefire -v`, your OS and, if you built from source, the compiler;
|
|
11
|
+
- the smallest `.ff` script or Python snippet that reproduces it;
|
|
12
|
+
- what you expected and what happened, with the error message.
|
|
13
|
+
|
|
14
|
+
Report security problems through
|
|
15
|
+
[private vulnerability reporting](https://github.com/forefireAPI/forefire/security/advisories/new),
|
|
16
|
+
never in a public issue.
|
|
17
|
+
|
|
18
|
+
## Suggesting a feature
|
|
19
|
+
|
|
20
|
+
Open an issue saying what you need and why. For a large feature or an
|
|
21
|
+
architecture change, wait for a maintainer to agree before writing code.
|
|
22
|
+
|
|
23
|
+
## Contributing code
|
|
24
|
+
|
|
25
|
+
1. Build from source following the
|
|
26
|
+
[installation guide](https://forefire.readthedocs.io/en/latest/getting_started/installation.html).
|
|
27
|
+
2. Fork the repository, branch from `dev`, and open the pull request against
|
|
28
|
+
`dev`.
|
|
29
|
+
3. Keep each pull request small enough to review in one sitting and follow the
|
|
30
|
+
style of the surrounding code.
|
|
31
|
+
4. Run the tests that cover your change; [TESTING.md](TESTING.md) lists every
|
|
32
|
+
suite and which ones CI runs.
|
|
33
|
+
5. If users will notice the change, add one line under `## [Unreleased]` in
|
|
34
|
+
[CHANGELOG.md](CHANGELOG.md), written for someone upgrading.
|
|
35
|
+
6. Keep the pull request description short: what changes and how you checked
|
|
36
|
+
it. Link the issue it fixes.
|
|
37
|
+
|
|
38
|
+
Propagation and flux models and their physics are the maintainers' decision:
|
|
39
|
+
start those as an issue. A change that moves simulation results goes in its
|
|
40
|
+
own pull request, at the top of its CHANGELOG entry. Never regenerate a `.ref`
|
|
41
|
+
file to make a test pass.
|
|
42
|
+
|
|
43
|
+
## Documentation
|
|
44
|
+
|
|
45
|
+
The docs are reStructuredText in `docs/source/`, built with Sphinx and
|
|
46
|
+
published on [Read the Docs](https://forefire.readthedocs.io/). Changes go
|
|
47
|
+
through the same pull request flow as code.
|
|
48
|
+
|
|
49
|
+
## Code of conduct
|
|
50
|
+
|
|
51
|
+
Follow the [Code of Conduct](CODE_OF_CONDUCT.md).
|
|
@@ -25,24 +25,21 @@ WORKDIR /build
|
|
|
25
25
|
# LICENSE is required by CPack at configure time (CMakeLists includes CPack).
|
|
26
26
|
COPY --link CMakeLists.txt LICENSE pyproject.toml ./
|
|
27
27
|
COPY --link app/ ./app/
|
|
28
|
-
# tools/ is needed at configure time: CMakeLists.txt invokes
|
|
29
|
-
# tools/check_all_lfs.bash and references tools/runANN/ANNTest.cpp.
|
|
30
|
-
COPY --link tools/ ./tools/
|
|
31
28
|
COPY --link src/ ./src/
|
|
32
29
|
COPY --link third_party/ ./third_party/
|
|
30
|
+
COPY --link bindings/ ./bindings/
|
|
33
31
|
|
|
34
32
|
# -march=native is off: this image is published and has to run on CPUs other
|
|
35
|
-
# than the builder's. The LFS check
|
|
36
|
-
# not copied into this stage, so they could only
|
|
33
|
+
# than the builder's. The LFS check, the unit tests and ANN_test are off
|
|
34
|
+
# too: tests/ and scripts/ are not copied into this stage, so they could only
|
|
35
|
+
# fail.
|
|
37
36
|
#
|
|
38
37
|
# Only libforefireL.so is carried into the runtime stage, and the wheel build
|
|
39
38
|
# below compiles the core again on its own terms, so building the `forefire`
|
|
40
39
|
# and ANN_test executables here as well would just be a wasted compile.
|
|
41
|
-
RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DFOREFIRE_NATIVE_ARCH=OFF -DFOREFIRE_CHECK_LFS=OFF -DFOREFIRE_BUILD_TESTS=OFF \
|
|
40
|
+
RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DFOREFIRE_NATIVE_ARCH=OFF -DFOREFIRE_CHECK_LFS=OFF -DFOREFIRE_BUILD_TESTS=OFF -DFOREFIRE_BUILD_TOOLS=OFF \
|
|
42
41
|
&& cmake --build build -j"$(nproc)" --target forefireL
|
|
43
42
|
|
|
44
|
-
COPY --link bindings/ ./bindings/
|
|
45
|
-
|
|
46
43
|
# The wheel is built from the repository root, where pyproject.toml drives
|
|
47
44
|
# CMake through scikit-build-core. It carries both the pyforefire module and
|
|
48
45
|
# its own copy of the `forefire` interpreter.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: forefire
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.0b1
|
|
4
4
|
Summary: ForeFire wildfire simulation engine, with Python bindings
|
|
5
5
|
Keywords: ForeFire,forefire,pyforefire,wildfire,fire,simulation,wildfire-simulation
|
|
6
6
|
Author-Email: Jean-Baptiste Filippi <filippi_j@univ-corse.fr>, Quentin Duriani <qduriani@gmail.com>
|
|
@@ -74,9 +74,10 @@ If you need either, build from source (below).
|
|
|
74
74
|
|
|
75
75
|
### Building from source
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
On Linux or macOS without a published wheel (musl-based Linux or an unusual
|
|
78
|
+
architecture), pip compiles the sdist, which needs a C++ compiler, CMake ≥ 3.18,
|
|
79
|
+
and the NetCDF C and legacy C++4 libraries. Native Windows is not supported;
|
|
80
|
+
use WSL.
|
|
80
81
|
|
|
81
82
|
```bash
|
|
82
83
|
# Debian/Ubuntu
|