Compare commits
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Pamhyr .editorconfig
|
||||
|
||||
root = true
|
||||
|
||||
[*.py]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
tab_width = 8
|
||||
end_of_line = lf
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
@@ -1,6 +1,7 @@
|
||||
### CUSTOM ###
|
||||
|
||||
*.exe
|
||||
*.msi
|
||||
*.tar.xz
|
||||
*.zip
|
||||
*.spec
|
||||
@@ -9,15 +10,35 @@
|
||||
|
||||
tmp
|
||||
|
||||
*.tar
|
||||
*.tar.*
|
||||
*.tgz
|
||||
*.zip
|
||||
|
||||
*.html
|
||||
*.pdf
|
||||
*.odt
|
||||
|
||||
!doc/**/*.pdf
|
||||
|
||||
doc/dev/images/auto_*
|
||||
doc/dev/documentation.*
|
||||
!doc/dev/*.org
|
||||
|
||||
doc/dev/images/auto_*
|
||||
doc/users/documentation.*
|
||||
!doc/users/*.org
|
||||
|
||||
TAGS
|
||||
|
||||
pamhyrBuild
|
||||
wine-pamhyr-build*
|
||||
|
||||
_PAMHYR_
|
||||
__old__
|
||||
|
||||
*-venv
|
||||
|
||||
### END CUSTOM ###
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/python
|
||||
@@ -309,3 +330,318 @@ compile_commands.json
|
||||
*_qmlcache.qrc
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/qt
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/latex
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=latex
|
||||
|
||||
### LaTeX ###
|
||||
## Core latex/pdflatex auxiliary files:
|
||||
*.aux
|
||||
*.lof
|
||||
*.log
|
||||
*.lot
|
||||
*.fls
|
||||
*.out
|
||||
*.toc
|
||||
*.fmt
|
||||
*.fot
|
||||
*.cb
|
||||
*.cb2
|
||||
.*.lb
|
||||
|
||||
## Intermediate documents:
|
||||
*.dvi
|
||||
*.xdv
|
||||
*-converted-to.*
|
||||
# these rules might exclude image files for figures etc.
|
||||
# *.ps
|
||||
# *.eps
|
||||
# *.pdf
|
||||
|
||||
## Generated if empty string is given at "Please type another file name for output:"
|
||||
.pdf
|
||||
|
||||
## Bibliography auxiliary files (bibtex/biblatex/biber):
|
||||
*.bbl
|
||||
*.bcf
|
||||
*.blg
|
||||
*-blx.aux
|
||||
*-blx.bib
|
||||
*.run.xml
|
||||
|
||||
## Build tool auxiliary files:
|
||||
*.fdb_latexmk
|
||||
*.synctex
|
||||
*.synctex(busy)
|
||||
*.synctex.gz
|
||||
*.synctex.gz(busy)
|
||||
*.pdfsync
|
||||
|
||||
## Build tool directories for auxiliary files
|
||||
# latexrun
|
||||
latex.out/
|
||||
|
||||
## Auxiliary and intermediate files from other packages:
|
||||
# algorithms
|
||||
*.alg
|
||||
*.loa
|
||||
|
||||
# achemso
|
||||
acs-*.bib
|
||||
|
||||
# amsthm
|
||||
*.thm
|
||||
|
||||
# beamer
|
||||
*.nav
|
||||
*.pre
|
||||
*.snm
|
||||
*.vrb
|
||||
|
||||
# changes
|
||||
*.soc
|
||||
|
||||
# comment
|
||||
*.cut
|
||||
|
||||
# cprotect
|
||||
*.cpt
|
||||
|
||||
# elsarticle (documentclass of Elsevier journals)
|
||||
*.spl
|
||||
|
||||
# endnotes
|
||||
*.ent
|
||||
|
||||
# fixme
|
||||
*.lox
|
||||
|
||||
# feynmf/feynmp
|
||||
*.mf
|
||||
*.mp
|
||||
*.t[1-9]
|
||||
*.t[1-9][0-9]
|
||||
*.tfm
|
||||
|
||||
#(r)(e)ledmac/(r)(e)ledpar
|
||||
*.end
|
||||
*.?end
|
||||
*.[1-9]
|
||||
*.[1-9][0-9]
|
||||
*.[1-9][0-9][0-9]
|
||||
*.[1-9]R
|
||||
*.[1-9][0-9]R
|
||||
*.[1-9][0-9][0-9]R
|
||||
*.eledsec[1-9]
|
||||
*.eledsec[1-9]R
|
||||
*.eledsec[1-9][0-9]
|
||||
*.eledsec[1-9][0-9]R
|
||||
*.eledsec[1-9][0-9][0-9]
|
||||
*.eledsec[1-9][0-9][0-9]R
|
||||
|
||||
# glossaries
|
||||
*.acn
|
||||
*.acr
|
||||
*.glg
|
||||
*.glo
|
||||
*.gls
|
||||
*.glsdefs
|
||||
*.lzo
|
||||
*.lzs
|
||||
*.slg
|
||||
*.slo
|
||||
*.sls
|
||||
|
||||
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
|
||||
# *.ist
|
||||
|
||||
# gnuplot
|
||||
*.gnuplot
|
||||
*.table
|
||||
|
||||
# gnuplottex
|
||||
*-gnuplottex-*
|
||||
|
||||
# gregoriotex
|
||||
*.gaux
|
||||
*.glog
|
||||
*.gtex
|
||||
|
||||
# htlatex
|
||||
*.4ct
|
||||
*.4tc
|
||||
*.idv
|
||||
*.lg
|
||||
*.trc
|
||||
*.xref
|
||||
|
||||
# hyperref
|
||||
*.brf
|
||||
|
||||
# knitr
|
||||
*-concordance.tex
|
||||
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
|
||||
# *.tikz
|
||||
*-tikzDictionary
|
||||
|
||||
# listings
|
||||
*.lol
|
||||
|
||||
# luatexja-ruby
|
||||
*.ltjruby
|
||||
|
||||
# makeidx
|
||||
*.idx
|
||||
*.ilg
|
||||
*.ind
|
||||
|
||||
# minitoc
|
||||
*.maf
|
||||
*.mlf
|
||||
*.mlt
|
||||
*.mtc[0-9]*
|
||||
*.slf[0-9]*
|
||||
*.slt[0-9]*
|
||||
*.stc[0-9]*
|
||||
|
||||
# minted
|
||||
_minted*
|
||||
*.pyg
|
||||
|
||||
# morewrites
|
||||
*.mw
|
||||
|
||||
# newpax
|
||||
*.newpax
|
||||
|
||||
# nomencl
|
||||
*.nlg
|
||||
*.nlo
|
||||
*.nls
|
||||
|
||||
# pax
|
||||
*.pax
|
||||
|
||||
# pdfpcnotes
|
||||
*.pdfpc
|
||||
|
||||
# sagetex
|
||||
*.sagetex.sage
|
||||
*.sagetex.py
|
||||
*.sagetex.scmd
|
||||
|
||||
# scrwfile
|
||||
*.wrt
|
||||
|
||||
# svg
|
||||
svg-inkscape/
|
||||
|
||||
# sympy
|
||||
*.sout
|
||||
*.sympy
|
||||
sympy-plots-for-*.tex/
|
||||
|
||||
# pdfcomment
|
||||
*.upa
|
||||
*.upb
|
||||
|
||||
# pythontex
|
||||
*.pytxcode
|
||||
pythontex-files-*/
|
||||
|
||||
# tcolorbox
|
||||
*.listing
|
||||
|
||||
# thmtools
|
||||
*.loe
|
||||
|
||||
# TikZ & PGF
|
||||
*.dpth
|
||||
*.md5
|
||||
*.auxlock
|
||||
|
||||
# titletoc
|
||||
*.ptc
|
||||
|
||||
# todonotes
|
||||
*.tdo
|
||||
|
||||
# vhistory
|
||||
*.hst
|
||||
*.ver
|
||||
|
||||
# easy-todo
|
||||
*.lod
|
||||
|
||||
# xcolor
|
||||
*.xcp
|
||||
|
||||
# xmpincl
|
||||
*.xmpi
|
||||
|
||||
# xindy
|
||||
*.xdy
|
||||
|
||||
# xypic precompiled matrices and outlines
|
||||
*.xyc
|
||||
*.xyd
|
||||
|
||||
# endfloat
|
||||
*.ttt
|
||||
*.fff
|
||||
|
||||
# Latexian
|
||||
TSWLatexianTemp*
|
||||
|
||||
## Editors:
|
||||
# WinEdt
|
||||
*.bak
|
||||
*.sav
|
||||
|
||||
# Texpad
|
||||
.texpadtmp
|
||||
|
||||
# LyX
|
||||
*.lyx~
|
||||
|
||||
# Kile
|
||||
*.backup
|
||||
|
||||
# gummi
|
||||
.*.swp
|
||||
|
||||
# KBibTeX
|
||||
*~[0-9]*
|
||||
|
||||
# TeXnicCenter
|
||||
*.tps
|
||||
|
||||
# auto folder when using emacs and auctex
|
||||
./auto/*
|
||||
*.el
|
||||
|
||||
# expex forward references with \gathertags
|
||||
*-tags.tex
|
||||
|
||||
# standalone packages
|
||||
*.sta
|
||||
|
||||
# Makeindex log files
|
||||
*.lpz
|
||||
|
||||
# xwatermark package
|
||||
*.xwm
|
||||
|
||||
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
|
||||
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
|
||||
# Uncomment the next line to have this generated file ignored.
|
||||
#*Notes.bib
|
||||
|
||||
### LaTeX Patch ###
|
||||
# LIPIcs / OASIcs
|
||||
*.vtc
|
||||
|
||||
# glossaries
|
||||
*.glstex
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/latex
|
||||
@@ -1,5 +1,5 @@
|
||||
# .gitlab-ci.yml -- Pamhyr gitlab-ci
|
||||
# Copyright (C) 2023 INRAE
|
||||
# Copyright (C) 2023-2024 INRAE
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -15,97 +15,80 @@
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
stages:
|
||||
- build
|
||||
- downloads
|
||||
- configure
|
||||
- test
|
||||
- build
|
||||
- package
|
||||
- hash
|
||||
- antivirus
|
||||
- release
|
||||
|
||||
#########
|
||||
# BUILD #
|
||||
#########
|
||||
#############
|
||||
# DOWNLOADS #
|
||||
#############
|
||||
|
||||
build-mage-linux:
|
||||
stage: build
|
||||
variables:
|
||||
MAGE_8_VERSION: "v8.3.6"
|
||||
|
||||
dl-mage8-doc:
|
||||
stage: downloads
|
||||
tags:
|
||||
- linux
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
script:
|
||||
- curl -L -o mage.tgz https://gitlab.irstea.fr/jean-baptiste.faure/mage/-/releases/Test6/downloads/packages/mage_linux.tgz
|
||||
- mkdir -p mage
|
||||
- cd mage
|
||||
- tar xvf ../mage.tgz
|
||||
- mkdir -p doc
|
||||
- cd doc
|
||||
- curl -L -o mage8.pdf https://gitlab.irstea.fr/jean-baptiste.faure/mage/-/releases/$MAGE_8_VERSION/downloads/documents/Mage-8_Documentation.pdf
|
||||
artifacts:
|
||||
paths:
|
||||
- mage/mage
|
||||
- mage/mage_extraire
|
||||
- mage/mailleurPF
|
||||
- doc/mage8.pdf
|
||||
|
||||
# build-mage-linux:
|
||||
# stage: build
|
||||
# tags:
|
||||
# - linux
|
||||
# rules:
|
||||
# - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
# variables:
|
||||
# GIT_SUBMODULE_STRATEGY: recursive
|
||||
# GIT_SUBMODULE_DEPTH: 20
|
||||
# script:
|
||||
# - cd mage/src/
|
||||
# - mkdir -p build
|
||||
# - cd build
|
||||
# - cmake ..
|
||||
# - make
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - mage/src/build/mage
|
||||
# - mage/src/build/mage_extraire
|
||||
# - mage/src/build/mailleurPF
|
||||
|
||||
build-mage-windows:
|
||||
stage: build
|
||||
dl-mage8-linux:
|
||||
stage: downloads
|
||||
tags:
|
||||
- linux
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
script:
|
||||
- curl -L -o mage.tgz https://gitlab.irstea.fr/jean-baptiste.faure/mage/-/releases/Test6/downloads/packages/mage_windows.tgz
|
||||
- mkdir -p mage
|
||||
- cd mage
|
||||
- tar xvf ../mage.tgz
|
||||
- curl -L -o mage8.tgz https://gitlab.irstea.fr/jean-baptiste.faure/mage/-/releases/$MAGE_8_VERSION/downloads/packages/mage_linux.tgz
|
||||
- mkdir -p mage8-linux
|
||||
- cd mage8-linux
|
||||
- tar xvf ../mage8.tgz
|
||||
artifacts:
|
||||
paths:
|
||||
- mage/mage.exe
|
||||
- mage/mage_extraire.exe
|
||||
- mage/mailleurPF.exe
|
||||
- mage8-linux/mage
|
||||
- mage8-linux/mage_as7
|
||||
- mage8-linux/mage_extraire
|
||||
- mage8-linux/mailleurTT
|
||||
- mage8-linux/libbief.so
|
||||
|
||||
# build-mage-windows:
|
||||
# stage: build
|
||||
# tags:
|
||||
# - wine
|
||||
# rules:
|
||||
# - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
# variables:
|
||||
# GIT_SUBMODULE_STRATEGY: recursive
|
||||
# GIT_SUBMODULE_DEPTH: 20
|
||||
# script:
|
||||
# - cd mage/src/
|
||||
# - sed s/add_compile_definitions(win)/add_compile_definitions(windows)/ CMakeLists.txt > __tmp__
|
||||
# - echo set(CMAKE_Fortran_COMPILER "C:/Program\ Files/gcc/bin/gfortran.exe") > CMakeLists.txt
|
||||
# - echo set(CMAKE_MAKE_PROGRAM "C:/Program Files\ \(x86\)/GnuWin32/bin/make.exe") >> CMakeLists.txt
|
||||
# - type __tmp__ >> CMakeLists.txt
|
||||
# - mkdir build
|
||||
# - cd build
|
||||
# - cmake -G "MinGW Makefiles" ..
|
||||
# - make
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - mage/src/build/mage.exe
|
||||
# - mage/src/build/mage_extraire.exe
|
||||
# - mage/src/build/mailleurPF.exe
|
||||
dl-mage8-windows:
|
||||
stage: downloads
|
||||
tags:
|
||||
- linux
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
script:
|
||||
- curl -L -o mage8.tgz https://gitlab.irstea.fr/jean-baptiste.faure/mage/-/releases/$MAGE_8_VERSION/downloads/packages/mage_windows.tgz
|
||||
- mkdir -p mage8-windows
|
||||
- cd mage8-windows
|
||||
- tar xvf ../mage8.tgz
|
||||
artifacts:
|
||||
paths:
|
||||
- mage8-windows/mage.exe
|
||||
- mage8-windows/mage_as7.exe
|
||||
- mage8-windows/mage_extraire.exe
|
||||
- mage8-windows/mailleurTT.exe
|
||||
- mage8-windows/libbief.dll
|
||||
|
||||
build:
|
||||
stage: build
|
||||
#############
|
||||
# CONFIGURE #
|
||||
#############
|
||||
|
||||
set-version:
|
||||
stage: configure
|
||||
tags:
|
||||
- linux
|
||||
script:
|
||||
@@ -116,7 +99,7 @@ build:
|
||||
- VERSION
|
||||
|
||||
build-lang:
|
||||
stage: build
|
||||
stage: configure
|
||||
tags:
|
||||
- linux
|
||||
script:
|
||||
@@ -130,56 +113,405 @@ build-lang:
|
||||
# TESTS #
|
||||
#########
|
||||
|
||||
test:
|
||||
unittest:
|
||||
stage: test
|
||||
tags:
|
||||
- linux
|
||||
needs:
|
||||
- job: set-version
|
||||
artifacts: true
|
||||
script:
|
||||
- echo "TODO PAMHYR tests"
|
||||
- python3 -m venv venv
|
||||
- . venv/bin/activate
|
||||
- pip3 install -U pip
|
||||
- pip3 install -r ./full-requirements.txt
|
||||
- pip3 install -U -r ./full-requirements.txt
|
||||
- cd src
|
||||
- python3 -m unittest discover -t .
|
||||
|
||||
test-pep8:
|
||||
stage: test
|
||||
tags:
|
||||
- linux
|
||||
needs:
|
||||
- job: set-version
|
||||
artifacts: true
|
||||
- job: unittest
|
||||
script:
|
||||
# Setup virtual env
|
||||
- python3 -m venv venv
|
||||
- . venv/bin/activate
|
||||
- pip3 install -U pip
|
||||
- pip3 install -r ./requirements.txt
|
||||
- pip3 install -U -r ./requirements.txt
|
||||
- pip3 install pycodestyle
|
||||
- pycodestyle --exclude="*_to_*.py" ./src
|
||||
allow_failure: true
|
||||
|
||||
#########
|
||||
# BUILD #
|
||||
#########
|
||||
|
||||
# build-users-doc:
|
||||
# stage: build
|
||||
# tags:
|
||||
# - linux
|
||||
# needs:
|
||||
# - job: set-version
|
||||
# artifacts: true
|
||||
# script:
|
||||
# - cd ./doc/users/
|
||||
# - ./build.sh
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - doc/users/documentation.pdf
|
||||
# - doc/users/documentation.html
|
||||
# - doc/users/images/
|
||||
# allow_failure: true
|
||||
|
||||
build-td:
|
||||
stage: build
|
||||
tags:
|
||||
- linux
|
||||
needs:
|
||||
- job: set-version
|
||||
artifacts: true
|
||||
script:
|
||||
- cd ./doc/users/Tuto1/
|
||||
- ./build.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- doc/users/Tuto1/step-by-step.pdf
|
||||
- doc/users/Tuto1/pas-a-pas.pdf
|
||||
- doc/users/Tuto1/data/
|
||||
allow_failure: true
|
||||
|
||||
build-developers-doc:
|
||||
stage: build
|
||||
tags:
|
||||
- linux
|
||||
needs:
|
||||
- job: set-version
|
||||
artifacts: true
|
||||
script:
|
||||
- cd ./doc/dev/
|
||||
- ./build.sh
|
||||
# Create html documentation
|
||||
- cd ../../src
|
||||
- python3 -m venv doc-venv
|
||||
- . doc-venv/bin/activate
|
||||
- pip3 install -U pip
|
||||
- pip3 install -r ../full-requirements.txt
|
||||
- pip3 install -U -r ../full-requirements.txt
|
||||
- pip3 install pdoc3
|
||||
- pdoc --html .
|
||||
# Create archive
|
||||
- tar cf html.tar ./html
|
||||
- cd ../doc/dev
|
||||
- mv ../../src/html.tar ./
|
||||
artifacts:
|
||||
paths:
|
||||
- doc/dev/documentation.pdf
|
||||
- doc/dev/documentation.html
|
||||
- doc/dev/html.tar
|
||||
- doc/dev/images/
|
||||
allow_failure: true
|
||||
|
||||
build-linux:
|
||||
stage: build
|
||||
tags:
|
||||
- linux
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
needs:
|
||||
- job: dl-mage8-linux
|
||||
artifacts: true
|
||||
- job: dl-mage8-doc
|
||||
artifacts: true
|
||||
- job: set-version
|
||||
artifacts: true
|
||||
- job: build-lang
|
||||
artifacts: true
|
||||
- job: build-developers-doc
|
||||
artifacts: true
|
||||
# - job: build-users-doc
|
||||
# artifacts: true
|
||||
- job: build-td
|
||||
artifacts: true
|
||||
script:
|
||||
- mkdir -p linux
|
||||
- cd linux
|
||||
# Setup virtual env
|
||||
- python3 -m venv linux-venv
|
||||
- . linux-venv/bin/activate
|
||||
- pip3 install -U pip
|
||||
- pip3 install -r ../requirements.txt
|
||||
- pip3 install -U -r ../requirements.txt
|
||||
# Run Pyinstaller
|
||||
- pyinstaller -y --paths linux-venv/lib/python3.8/site-packages ../src/pamhyr.py
|
||||
# Create directory
|
||||
- mkdir -p pamhyr
|
||||
- mkdir -p pamhyr/_internal
|
||||
# Copy Pamhyr info
|
||||
- cp -v ../VERSION pamhyr/_internal/
|
||||
- cp -v ../AUTHORS pamhyr/_internal/
|
||||
- cp -v ../LICENSE pamhyr/_internal/
|
||||
- cp -v ../src/motd.txt pamhyr/_internal/
|
||||
# Copy mage
|
||||
- mkdir -p pamhyr/mage8
|
||||
- cp -v ../mage8-linux/* pamhyr/mage8/
|
||||
# Copy Pamhyr
|
||||
- cp -r dist/pamhyr/* pamhyr/
|
||||
# Pamhyr script to force x11
|
||||
- echo '#!/usr/bin/env bash' > pamhyr/pamhyr-x11
|
||||
- echo "" >> pamhyr/pamhyr-x11
|
||||
- echo "GDK_BACKEND=x11 ./pamhyr $@" >> pamhyr/pamhyr-x11
|
||||
- chmod +x pamhyr/pamhyr-x11
|
||||
# Copy Pamhyr resources
|
||||
- mkdir -p pamhyr/_internal/View
|
||||
- mkdir -p pamhyr/_internal/View/ui
|
||||
- mkdir -p pamhyr/_internal/View/ui/Widgets
|
||||
- cp -r ../src/View/ui/*.ui pamhyr/_internal/View/ui/
|
||||
- cp -r ../src/View/ui/ressources/ pamhyr/_internal/View/ui
|
||||
- cp -r ../src/View/ui/Widgets/*.ui pamhyr/_internal/View/ui/Widgets
|
||||
# Copy lang
|
||||
- mkdir -p pamhyr/_internal/lang
|
||||
- cp -r ../src/lang/*.qm pamhyr/_internal/lang
|
||||
# Copy tests cases
|
||||
- mkdir -p pamhyr/tests_cases/
|
||||
- mkdir -p pamhyr/tests_cases/Saar
|
||||
- cp ../tests_cases/Saar/Saar.pamhyr pamhyr/tests_cases/Saar/
|
||||
# Copy documentations
|
||||
- mkdir -p pamhyr/doc/
|
||||
- mkdir -p pamhyr/doc/images/
|
||||
- mkdir -p pamhyr/doc/html/
|
||||
# - cp ../doc/users/documentation.pdf pamhyr/doc/Pamhyr2-users.pdf
|
||||
# - cp ../doc/users/documentation.html pamhyr/doc/Pamhyr2-users.html
|
||||
- cp ../doc/mage8.pdf pamhyr/doc/mage8.pdf
|
||||
- cp ../doc/dev/documentation.pdf pamhyr/doc/Pamhyr2-dev.pdf
|
||||
- cp ../doc/dev/documentation.html pamhyr/doc/Pamhyr2-dev.html
|
||||
#- cp ../doc/users/images/* pamhyr/doc/images
|
||||
- cp -r ../doc/dev/images/* pamhyr/doc/images
|
||||
- cp -r ../doc/images/* pamhyr/doc/images
|
||||
# Copy Tuto
|
||||
- mkdir -p pamhyr/doc/Tuto1/
|
||||
- mkdir -p pamhyr/doc/Tuto1/data
|
||||
- cp ../doc/users/Tuto1/Hogneau_Engees2022.pdf pamhyr/doc/Tuto1/Hogneau_Engees2022.pdf
|
||||
- cp ../doc/users/Tuto1/step-by-step.pdf pamhyr/doc/Tuto1/Tuto1-en.pdf
|
||||
- cp ../doc/users/Tuto1/pas-a-pas.pdf pamhyr/doc/Tuto1/Tuto1-fr.pdf
|
||||
- cp ../doc/users/Tuto1/*.pamhyr pamhyr/doc/Tuto1/
|
||||
- cp ../doc/users/Tuto1/data/* pamhyr/doc/Tuto1/data/
|
||||
# Copy TP charriage
|
||||
- mkdir -p pamhyr/doc/TP_charriage/
|
||||
- cp ../doc/users/TP_charriage/* pamhyr/doc/TP_charriage
|
||||
artifacts:
|
||||
paths:
|
||||
- linux/pamhyr
|
||||
|
||||
build-windows:
|
||||
stage: build
|
||||
tags:
|
||||
- wine
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
needs:
|
||||
- job: dl-mage8-windows
|
||||
artifacts: true
|
||||
- job: dl-mage8-doc
|
||||
artifacts: true
|
||||
- job: set-version
|
||||
artifacts: true
|
||||
- job: build-lang
|
||||
artifacts: true
|
||||
- job: build-developers-doc
|
||||
artifacts: true
|
||||
# - job: build-users-doc
|
||||
# artifacts: true
|
||||
- job: build-td
|
||||
artifacts: true
|
||||
script:
|
||||
- mkdir windows
|
||||
- cd windows
|
||||
# Setup env
|
||||
- python -m pip install -U pip
|
||||
- python -m pip install -r ..\requirements.txt
|
||||
- python -m pip install -U -r ..\requirements.txt
|
||||
# Run Pyinstaller
|
||||
# - pyinstaller --noconsole -y ..\src\pamhyr.py
|
||||
- pyinstaller -i ../src/View/ui/ressources/icon.ico --hide-console hide-early -y ..\src\pamhyr.py
|
||||
# Create directory
|
||||
- mkdir pamhyr
|
||||
- dir
|
||||
- copy ..\packages\make-windows-dir.bat .\make-windows-dir.bat
|
||||
- .\make-windows-dir.bat
|
||||
artifacts:
|
||||
paths:
|
||||
- windows/pamhyr
|
||||
|
||||
############
|
||||
# PACKAGES #
|
||||
############
|
||||
|
||||
linux-package:
|
||||
linux-package-tar:
|
||||
stage: package
|
||||
tags:
|
||||
- release
|
||||
- linux
|
||||
needs:
|
||||
- job: build-lang
|
||||
artifacts: true
|
||||
- job: build
|
||||
artifacts: true
|
||||
- job: build-mage-linux
|
||||
# - job: test-linux
|
||||
- job: build-linux
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_TAG
|
||||
artifacts:
|
||||
paths:
|
||||
- packages/pamhyr-gnulinux-amd64.tar.xz
|
||||
- linux/pamhyr-gnulinux.tar.xz
|
||||
script:
|
||||
- cd packages
|
||||
- ./linux.sh
|
||||
- cd linux
|
||||
- tar --xz -cf pamhyr-gnulinux.tar.xz ./pamhyr --checkpoint=.100
|
||||
|
||||
windows-package:
|
||||
windows-package-zip:
|
||||
stage: package
|
||||
tags:
|
||||
- release
|
||||
- linux
|
||||
needs:
|
||||
# - job: test-windows
|
||||
- job: build-windows
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_TAG
|
||||
artifacts:
|
||||
paths:
|
||||
- windows/pamhyr-windows.zip
|
||||
script:
|
||||
- cd windows
|
||||
- zip -r pamhyr-windows.zip pamhyr
|
||||
|
||||
windows-package-exe:
|
||||
stage: package
|
||||
tags:
|
||||
- release
|
||||
- wine
|
||||
needs:
|
||||
- job: build-lang
|
||||
artifacts: true
|
||||
- job: build
|
||||
artifacts: true
|
||||
- job: build-mage-windows
|
||||
# - job: test-windows
|
||||
- job: build-windows
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_TAG
|
||||
artifacts:
|
||||
paths:
|
||||
- packages/pamhyr-win-amd64.exe
|
||||
- windows/pamhyr-windows.exe
|
||||
script:
|
||||
- cd windows
|
||||
- copy ..\packages\make-windows-exe.bat make-windows-exe.bat
|
||||
- copy ..\packages\pamhyr.nsi pamhyr.nsi
|
||||
- .\make-windows-exe.bat
|
||||
|
||||
########
|
||||
# HASH #
|
||||
########
|
||||
|
||||
linux-build-hash:
|
||||
stage: hash
|
||||
tags:
|
||||
- release
|
||||
- linux
|
||||
needs:
|
||||
- job: build-linux
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
script:
|
||||
- cd linux
|
||||
- sha256sum -b pamhyr/pamhyr > pamhyr/pamhyr.sha256
|
||||
artifacts:
|
||||
paths:
|
||||
- linux/pamhyr/pamhyr.sha256
|
||||
|
||||
windows-build-hash:
|
||||
stage: hash
|
||||
tags:
|
||||
- release
|
||||
- linux
|
||||
needs:
|
||||
- job: build-windows
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
script:
|
||||
- cd windows
|
||||
- sha256sum -b pamhyr/pamhyr.exe > pamhyr/pamhyr.exe.sha256
|
||||
artifacts:
|
||||
paths:
|
||||
- windows/pamhyr/pamhyr.exe.sha256
|
||||
|
||||
pkg-hash:
|
||||
stage: hash
|
||||
tags:
|
||||
- release
|
||||
- linux
|
||||
needs:
|
||||
- job: linux-package-tar
|
||||
artifacts: true
|
||||
- job: windows-package-zip
|
||||
artifacts: true
|
||||
- job: windows-package-exe
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_TAG
|
||||
script:
|
||||
- cd windows
|
||||
- sha256sum -b pamhyr-windows.exe > pamhyr-windows.exe.sha256
|
||||
- sha256sum -b pamhyr-windows.zip > pamhyr-windows.zip.sha256
|
||||
- cd ..
|
||||
- cd linux
|
||||
- sha256sum -b pamhyr-gnulinux.tar.xz > pamhyr-gnulinux.tar.xz.sha256
|
||||
artifacts:
|
||||
paths:
|
||||
- windows/pamhyr-windows.exe.sha256
|
||||
- windows/pamhyr-windows.zip.sha256
|
||||
- linux/pamhyr-gnulinux.tar.xz.sha256
|
||||
|
||||
#############
|
||||
# ANTIVIRUS #
|
||||
#############
|
||||
|
||||
build-check-clamav:
|
||||
stage: antivirus
|
||||
tags:
|
||||
- release
|
||||
- linux
|
||||
needs:
|
||||
- job: build-linux
|
||||
artifacts: true
|
||||
- job: build-windows
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||
script:
|
||||
- cd packages
|
||||
- ./windows.bat
|
||||
- ./clamav-scan.sh builds
|
||||
allow_failure: true
|
||||
|
||||
pkg-check-clamav:
|
||||
stage: antivirus
|
||||
tags:
|
||||
- release
|
||||
- linux
|
||||
needs:
|
||||
- job: linux-package-tar
|
||||
artifacts: true
|
||||
- job: windows-package-zip
|
||||
artifacts: true
|
||||
- job: windows-package-exe
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_TAG
|
||||
script:
|
||||
- cd packages
|
||||
- ./clamav-scan.sh packages
|
||||
allow_failure: true
|
||||
|
||||
###########
|
||||
# RELEASE #
|
||||
@@ -191,30 +523,64 @@ tag-release:
|
||||
- release
|
||||
- linux
|
||||
needs:
|
||||
- job: linux-package
|
||||
- job: linux-package-tar
|
||||
artifacts: true
|
||||
- job: windows-package
|
||||
- job: windows-package-zip
|
||||
artifacts: true
|
||||
- job: windows-package-exe
|
||||
artifacts: true
|
||||
# - job: build-users-doc
|
||||
# artifacts: true
|
||||
- job: build-developers-doc
|
||||
artifacts: true
|
||||
- job: pkg-hash
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
artifacts:
|
||||
paths:
|
||||
- packages/pamhyr-gnulinux-amd64.tar.xz
|
||||
- packages/pamhyr-win-amd64.exe
|
||||
- linux/pamhyr-gnulinux.tar.xz
|
||||
- windows/pamhyr-windows.zip
|
||||
- windows/pamhyr-windows.exe
|
||||
- linux/pamhyr-gnulinux.tar.xz.sha256
|
||||
- windows/pamhyr-windows.zip.sha256
|
||||
- windows/pamhyr-windows.exe.sha256
|
||||
- doc/dev/documentation.pdf
|
||||
# - doc/users/documentation.pdf
|
||||
script:
|
||||
- cd packages
|
||||
release:
|
||||
name: '$CI_COMMIT_TAG'
|
||||
description: 'Automatic release from tag $CI_COMMIT_TAG'
|
||||
description: '$CI_COMMIT_TAG_MESSAGE'
|
||||
tag_name: '$CI_COMMIT_TAG'
|
||||
ref: '$CI_COMMIT_SHA'
|
||||
assets:
|
||||
links:
|
||||
- name: 'GNU/Linux amd64 (tar.xz)'
|
||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-gnulinux-amd64.tar.xz'
|
||||
filepath: '/packages/pamhyr-gnulinux-amd64.tar.xz'
|
||||
- name: 'GNU/Linux CHECKSUM SHA256 (tar.xz)'
|
||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/linux/pamhyr-gnulinux.tar.xz.sha256'
|
||||
filepath: '/linux/pamhyr-gnulinux.tar.xz.sha256'
|
||||
link_type: 'package'
|
||||
- name: 'Windows amd64 (exe)'
|
||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/packages/pamhyr-win-amd64.exe'
|
||||
filepath: '/packages/pamhyr-win-amd64.exe'
|
||||
- name: 'GNU/Linux (tar.xz)'
|
||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/linux/pamhyr-gnulinux.tar.xz'
|
||||
filepath: '/linux/pamhyr-gnulinux.tar.xz'
|
||||
link_type: 'package'
|
||||
- name: 'Windows CHECKSUM SHA256 (exe)'
|
||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/windows/pamhyr-windows.exe.sha256'
|
||||
filepath: '/windows/pamhyr-windows.exe.sha256'
|
||||
link_type: 'package'
|
||||
- name: 'Windows (exe)'
|
||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/windows/pamhyr-windows.exe'
|
||||
filepath: '/windows/pamhyr-windows.exe'
|
||||
link_type: 'package'
|
||||
- name: 'Windows CHECKSUM SHA256 (zip)'
|
||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/windows/pamhyr-windows.zip.sha256'
|
||||
filepath: '/windows/pamhyr-windows.zip.sha256'
|
||||
link_type: 'package'
|
||||
- name: 'Windows (zip)'
|
||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/windows/pamhyr-windows.zip'
|
||||
filepath: '/windows/pamhyr-windows.zip'
|
||||
link_type: 'package'
|
||||
- name: 'Dev documentations (pdf)'
|
||||
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/doc/dev/documentation.pdf'
|
||||
filepath: '/doc/dev/documentation.pdf'
|
||||
link_type: 'other'
|
||||
@@ -1,3 +1,3 @@
|
||||
Sylvain COULIBALY, INRAE, 2020 - 2022
|
||||
Théophile TERRAZ, INRAE, 2022 - 2023
|
||||
Pierre-Antoine ROUBY, INRAE, 2023
|
||||
Théophile TERRAZ, INRAE, 2022 - 2024
|
||||
Pierre-Antoine ROUBY, INRAE, 2023 - 2024
|
||||
@@ -10,35 +10,40 @@ modelling of rivers.
|
||||
+ Define boundary conditions
|
||||
+ Define lateral contribution
|
||||
+ Edit river friction
|
||||
+ Add reservoirs
|
||||
+ Add hydraulic structures
|
||||
+ Generate initial conditions
|
||||
+ Edit river sedimentary layers
|
||||
+ Save the study in a unique file
|
||||
+ Run Mage 8 on a study and visualize results
|
||||
|
||||
Let see the
|
||||
[documentation](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/wikis/home)
|
||||
for more details.
|
||||
|
||||
## Install
|
||||
|
||||
### GNU/Linux
|
||||
|
||||
Downloads [last
|
||||
realease](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/releases/permalink/latest)
|
||||
GNU/Linux binary archive.
|
||||
|
||||
```shell
|
||||
tar xf pamhyr-gnulinux-amd64.tar.xz
|
||||
cd pamhyr
|
||||
./pamhyr
|
||||
```
|
||||
[See documentation](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/wikis/home/en/Install%20on%20GNULinux)
|
||||
|
||||
### Windows
|
||||
|
||||
Downloads [last
|
||||
realease](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/releases/permalink/latest)
|
||||
Windows installer.
|
||||
[See documentation](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/wikis/home/en/Install%20on%20Windows)
|
||||
|
||||
### From source code
|
||||
|
||||
```shell
|
||||
# Get source code
|
||||
# Get mage
|
||||
mkdir mage
|
||||
cd mage
|
||||
|
||||
curl -L -o mage.tgz https://gitlab.irstea.fr/jean-baptiste.faure/mage/-/releases/v8.3.2/downloads/packages/mage_linux.tgz
|
||||
tar xf mage.tgz
|
||||
|
||||
cd ..
|
||||
|
||||
# Get Pamhyr2 source code
|
||||
git clone https://gitlab.irstea.fr/theophile.terraz/pamhyr/
|
||||
cd pamhyr
|
||||
|
||||
@@ -47,5 +52,4 @@ pip3 install -r requirements.txt
|
||||
|
||||
# Run pamhyr
|
||||
./src/pamhyr.py
|
||||
|
||||
```
|
||||
@@ -0,0 +1,18 @@
|
||||
#! /bin/sh
|
||||
|
||||
echo " PDF documentation.org"
|
||||
emacs -nw --batch \
|
||||
--eval "(require 'org)" \
|
||||
--eval "(require 'ox-latex)" \
|
||||
--eval "(load-file \"../tools/setup.el\")" \
|
||||
--file ./documentation.org \
|
||||
-f org-latex-export-to-pdf
|
||||
|
||||
echo " HTML documentation.org"
|
||||
emacs -nw --batch \
|
||||
--eval "(require 'org)" \
|
||||
--eval "(require 'ox-latex)" \
|
||||
--eval "(require 'ox-html)" \
|
||||
--eval "(load-file \"../tools/setup.el\")" \
|
||||
--file ./documentation.org \
|
||||
-f org-html-export-to-html
|
||||
@@ -0,0 +1 @@
|
||||
../tools/ref.bib
|
||||
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 224 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 107 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1,163 @@
|
||||
\ProvidesClass{Pamhyr}[Pamhyr class]
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProcessOptions\relax
|
||||
\LoadClass[11pt,a4paper]{article}
|
||||
|
||||
\usepackage[hmargin=2cm, vmargin=3cm]{geometry}
|
||||
\usepackage[british,UKenglish,USenglish,english,american]{babel}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{times}
|
||||
\usepackage[usenames,dvipsnames]{xcolor}
|
||||
\usepackage[absolute]{textpos}
|
||||
\usepackage{titlesec}
|
||||
\usepackage{amssymb}
|
||||
\usepackage{tcolorbox}
|
||||
|
||||
\usepackage{enumitem}
|
||||
\setlist[enumerate]{itemsep=-0.5em}
|
||||
\setlist[itemize]{itemsep=-0.5em}
|
||||
|
||||
%%
|
||||
%% Bibtex
|
||||
%%
|
||||
|
||||
\bibliographystyle{plain}
|
||||
|
||||
%%
|
||||
%% Colors
|
||||
%%
|
||||
|
||||
\definecolor{primary}{HTML}{212121}
|
||||
\definecolor{lightheadings}{HTML}{5c5c5c}
|
||||
\definecolor{headings}{HTML}{212121}
|
||||
\definecolor{links}{HTML}{e12121}
|
||||
|
||||
%%
|
||||
%% Title
|
||||
%%
|
||||
|
||||
\setlength{\columnsep}{20pt}
|
||||
\setlength{\parskip}{0pt} %% inter paragraph space
|
||||
|
||||
\renewcommand{\maketitle}{
|
||||
{
|
||||
\centering
|
||||
{
|
||||
\fontsize{35}{40}
|
||||
\selectfont
|
||||
\scshape
|
||||
Pamhyr2 \\
|
||||
\medskip
|
||||
}
|
||||
{
|
||||
%\centering
|
||||
\scshape
|
||||
\fontsize{20pt}{24pt}
|
||||
\selectfont
|
||||
A graphical user interface for 1D hydro-sedimentary modelling
|
||||
of rivers \\
|
||||
\medskip
|
||||
}
|
||||
\rule{3cm}{0.4pt}\\
|
||||
\vspace{0.3cm}
|
||||
{
|
||||
%\centering
|
||||
\scshape
|
||||
\fontsize{26pt}{24pt}
|
||||
\selectfont
|
||||
\@title \\
|
||||
Document licence: GPLv3 \\
|
||||
\medskip
|
||||
\includegraphics[width=3cm]{../images/GPLv3_Logo.png} \\
|
||||
\medskip
|
||||
\fontsize{14pt}{16pt}
|
||||
\selectfont
|
||||
© \@author \\
|
||||
\medskip
|
||||
}
|
||||
{
|
||||
%\centering
|
||||
%\scshape
|
||||
\fontsize{12pt}{14pt}
|
||||
\selectfont
|
||||
\@date
|
||||
%\medskip
|
||||
}\\
|
||||
\vspace{0.3cm}
|
||||
\rule{3cm}{0.4pt}\\
|
||||
\vspace{0.3cm}
|
||||
{
|
||||
\begin{minipage}[h]{0.24\textwidth}
|
||||
\includegraphics[width=4cm]{../../src/View/ui/ressources/Logo-INRAE.png}
|
||||
\end{minipage}
|
||||
\begin{minipage}[h]{0.24\textwidth}
|
||||
\includegraphics[width=4cm]{../images/riverly.png}
|
||||
\end{minipage}
|
||||
}\\
|
||||
\vspace{0.3cm}
|
||||
%%\rule{\textwidth}{0.4pt}
|
||||
%%\newpage
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
%%
|
||||
%% Texttt
|
||||
%%
|
||||
|
||||
\usepackage[htt]{hyphenat} % Make texttt split at end of line
|
||||
|
||||
%%
|
||||
%% Verbatim
|
||||
%%
|
||||
|
||||
\AtBeginEnvironment{verbatim}{\footnotesize}
|
||||
|
||||
%% Add box arrond of verbatim
|
||||
\BeforeBeginEnvironment{verbatim}{\begin{tcolorbox}[boxsep=0pt, left=0.1cm, right=0.1cm, arc=0pt, boxrule=0.5pt, colback=white]}%
|
||||
\AfterEndEnvironment{verbatim}{\end{tcolorbox}}%
|
||||
|
||||
\makeatletter
|
||||
\AtBeginEnvironment{verbatim}{\dontdofcolorbox}
|
||||
|
||||
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
|
||||
\makeatother
|
||||
|
||||
%%
|
||||
%% Source code blocks
|
||||
%%
|
||||
|
||||
%% Use minted
|
||||
\usepackage{minted}
|
||||
\usemintedstyle{tango}
|
||||
\setminted[c]{fontsize=\footnotesize,encoding=utf8,linenos}
|
||||
\setminted[c++]{breaklines,fontsize=\footnotesize,encoding=utf8,linenos}
|
||||
\setminted[python]{breaklines,fontsize=\footnotesize,encoding=utf8,linenos}
|
||||
\setminted[shell]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
\setminted[scheme]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
\setminted[commun-lisp]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
\setminted[text]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
\setminted[llvm]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
|
||||
%% Add box arrond of minted
|
||||
\BeforeBeginEnvironment{minted}{\begin{tcolorbox}[boxsep=0pt, left=0.1cm, right=0.1cm, arc=0pt, boxrule=0.5pt, colback=white]}%
|
||||
\AfterEndEnvironment{minted}{\end{tcolorbox}}%
|
||||
|
||||
\makeatletter
|
||||
\AtBeginEnvironment{minted}{\dontdofcolorbox}
|
||||
|
||||
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
|
||||
\makeatother
|
||||
|
||||
|
||||
%%
|
||||
%% Water mark
|
||||
%%
|
||||
|
||||
%% FIXME: Delete me for the first realease
|
||||
\usepackage{draftwatermark}
|
||||
\SetWatermarkLightness{0.8}
|
||||
\SetWatermarkAngle{25}
|
||||
\SetWatermarkScale{3}
|
||||
\SetWatermarkFontSize{1cm}
|
||||
\SetWatermarkText{Work in progress}
|
||||
@@ -0,0 +1,19 @@
|
||||
# latex.org -- Pamhyr documentation latex config
|
||||
# Copyright (C) 2023 INRAE
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
#+LaTeX_CLASS: PamhyrDoc
|
||||
@@ -0,0 +1,51 @@
|
||||
# macro.org -- Pamhyr documentation macro
|
||||
# Copyright (C) 2023 INRAE
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Constant name
|
||||
#+MACRO: oldPamhyr PAMHyR
|
||||
#+MACRO: Pamhyr Pamhyr2
|
||||
#+MACRO: Mage Mage
|
||||
#+MACRO: Rubarbe RubarBE
|
||||
#+MACRO: Inrae INRAE
|
||||
#+MACRO: latex \LaTeX
|
||||
|
||||
# Information
|
||||
#+MACRO: version (eval (pamhyr-version))
|
||||
#+MACRO: current-file (eval (pamhyr-current-file))
|
||||
|
||||
# Special format
|
||||
#+MACRO: file =$1=
|
||||
|
||||
# Biblio
|
||||
#+MACRO: cite [cite:$1]
|
||||
#+MACRO: biblio \bibliography{documentation}
|
||||
|
||||
# Wrapper
|
||||
#+NAME: attr_wrap
|
||||
#+HEADER: :var width="\\textwidth"
|
||||
#+HEADER: :var caption=""
|
||||
#+HEADER: :var smallcaption=""
|
||||
#+HEADER: :var name=""
|
||||
#+HEADER: :var data=""
|
||||
#+HEADER: :var float="nil"
|
||||
#+BEGIN_SRC sh :results output :exports none
|
||||
echo "#+CAPTION[$smallcaption]: $caption"
|
||||
echo "#+NAME: $name"
|
||||
echo "#+ATTR_LATEX: :width $width :float $float"
|
||||
echo "$data"
|
||||
#+END_SRC
|
||||
@@ -0,0 +1,66 @@
|
||||
(require 'org)
|
||||
(require 'subr-x)
|
||||
|
||||
;; LaTeX config
|
||||
|
||||
(add-to-list
|
||||
'org-latex-classes
|
||||
'("PamhyrDoc"
|
||||
"\\documentclass{../tools/PamhyrDoc}"
|
||||
("\\section{%s}" . "\\section*{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
|
||||
|
||||
(setq org-confirm-babel-evaluate nil)
|
||||
(setq org-latex-caption-above nil)
|
||||
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages
|
||||
(add-to-list 'org-babel-load-languages '(shell . t)))
|
||||
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages
|
||||
(add-to-list 'org-babel-load-languages '(dot . t)))
|
||||
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages
|
||||
(add-to-list 'org-babel-load-languages '(python . t)))
|
||||
|
||||
(add-to-list 'org-latex-packages-alist '("" "minted"))
|
||||
(setq org-latex-listings 'minted)
|
||||
(setq org-src-fontify-natively t)
|
||||
|
||||
(setq org-latex-pdf-process
|
||||
'("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
||||
"bibtex documentation"
|
||||
"pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
||||
"pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
||||
|
||||
;; Citations
|
||||
|
||||
(org-add-link-type
|
||||
"cite" 'ebib
|
||||
(lambda (path desc format)
|
||||
(cond
|
||||
((eq format 'html)
|
||||
(format "(<cite>%s</cite>)" path))
|
||||
((eq format 'latex)
|
||||
(if (or (not desc) (equal 0 (search "cite:" desc)))
|
||||
(format "\\cite{%s}" path)
|
||||
(format "\\cite[%s][%s]{%s}"
|
||||
(cadr (split-string desc ";"))
|
||||
(car (split-string desc ";")) path))))))
|
||||
|
||||
;; Functools
|
||||
|
||||
(defun pamhyr-version ()
|
||||
"Return the contents of the pamhyr version file."
|
||||
(with-temp-buffer
|
||||
(insert-file-contents "../../VERSION")
|
||||
(buffer-string)))
|
||||
|
||||
(defun pamhyr-current-file ()
|
||||
(let ((lst (split-string (buffer-file-name) "/")))
|
||||
(string-join (nthcdr (- (length lst) 3) lst) "/")))
|
||||
@@ -0,0 +1,4 @@
|
||||
#! /bin/sh
|
||||
|
||||
pdflatex -no-shell-escape step-by-step.tex
|
||||
pdflatex -no-shell-escape pas-a-pas.tex
|
||||
@@ -0,0 +1,442 @@
|
||||
1 0 0 8 31090.0000
|
||||
31090.0000 0.0000 23.7300
|
||||
31090.0000 2.5000 20.2800 rg
|
||||
31090.0000 2.5000 19.2900
|
||||
31090.0000 4.4000 19.2900
|
||||
31090.0000 10.7000 19.5900
|
||||
31090.0000 10.7000 20.5900 rd
|
||||
31090.0000 14.5000 21.7100
|
||||
31090.0000 17.6000 23.7300
|
||||
999.9990 999.9990 999.9990
|
||||
2 0 0 8 31165.0000
|
||||
31165.0000 0.0000 22.8400
|
||||
31165.0000 2.5000 20.1300 rg
|
||||
31165.0000 2.5000 19.2300
|
||||
31165.0000 4.4000 19.2300
|
||||
31165.0000 10.7000 19.5300
|
||||
31165.0000 10.7000 20.5300 rd
|
||||
31165.0000 14.5000 21.7500
|
||||
31165.0000 17.6000 23.5000
|
||||
999.9990 999.9990 999.9990
|
||||
3 0 0 10 31425.0000
|
||||
31425.0000 -1.0000 22.8000
|
||||
31425.0000 0.0000 21.9000
|
||||
31425.0000 1.7000 20.3600 rg
|
||||
31425.0000 2.5000 19.6300
|
||||
31425.0000 2.5000 19.0300
|
||||
31425.0000 4.4000 19.0300
|
||||
31425.0000 10.7000 19.3300
|
||||
31425.0000 10.7000 20.3300 rd
|
||||
31425.0000 14.5000 21.9200
|
||||
31425.0000 17.6000 23.4200
|
||||
999.9990 999.9990 999.9990
|
||||
4 0 0 10 31590.0000
|
||||
31590.0000 -1.0000 22.7500
|
||||
31590.0000 0.0000 22.0500
|
||||
31590.0000 1.6700 20.2200 rg
|
||||
31590.0000 2.5000 19.3100
|
||||
31590.0000 2.5000 18.9000
|
||||
31590.0000 4.4000 18.9000
|
||||
31590.0000 10.7000 19.2000
|
||||
31590.0000 10.7000 20.2000 rd
|
||||
31590.0000 14.5000 22.0200
|
||||
31590.0000 17.6000 23.2500
|
||||
999.9990 999.9990 999.9990
|
||||
5 0 0 10 31780.0000
|
||||
31780.0000 -1.0000 22.7000
|
||||
31780.0000 0.0000 22.0500
|
||||
31780.0000 1.6000 20.0500 rg
|
||||
31780.0000 2.5000 18.9400
|
||||
31780.0000 2.5000 18.7500
|
||||
31780.0000 4.4000 18.7500
|
||||
31780.0000 10.7000 19.0500
|
||||
31780.0000 10.7000 20.0500 rd
|
||||
31780.0000 14.5000 22.1400
|
||||
31780.0000 17.6000 23.0000
|
||||
999.9990 999.9990 999.9990
|
||||
6 0 0 9 31874.0000
|
||||
31874.0000 0.0000 22.9900
|
||||
31874.0000 0.0000 22.6900
|
||||
31874.0000 2.5000 19.6900 rg
|
||||
31874.0000 2.5000 18.6900
|
||||
31874.0000 4.4000 18.6900
|
||||
31874.0000 10.7000 18.9900
|
||||
31874.0000 10.7000 19.9900 rd
|
||||
31874.0000 14.5000 22.1900
|
||||
31874.0000 17.6000 22.9900
|
||||
999.9990 999.9990 999.9990
|
||||
7 0 0 9 31875.0000 PontRD101m
|
||||
31875.0000 0.5400 23.0000
|
||||
31875.0000 0.5400 21.8900
|
||||
31875.0000 2.5000 19.6900 rg
|
||||
31875.0000 2.5000 18.6900
|
||||
31875.0000 4.4000 18.6900
|
||||
31875.0000 10.7000 18.9900
|
||||
31875.0000 10.7000 19.9900 rd
|
||||
31875.0000 13.8900 21.8900
|
||||
31875.0000 13.8900 23.0000
|
||||
999.9990 999.9990 999.9990
|
||||
8 0 0 9 31885.0000 PontRD101v
|
||||
31885.0000 0.5400 23.0000
|
||||
31885.0000 0.5400 21.8900
|
||||
31885.0000 2.5000 19.6900 rg
|
||||
31885.0000 2.5000 18.6900
|
||||
31885.0000 4.4000 18.6900
|
||||
31885.0000 10.7000 18.9900
|
||||
31885.0000 10.7000 19.9900 rd
|
||||
31885.0000 13.8900 21.8900
|
||||
31885.0000 13.8900 23.0000
|
||||
999.9990 999.9990 999.9990
|
||||
9 0 0 9 31886.0000
|
||||
31886.0000 0.0000 22.9900
|
||||
31886.0000 0.0000 22.6900
|
||||
31886.0000 2.5000 19.6900 rg
|
||||
31886.0000 2.5000 18.6900
|
||||
31886.0000 4.4000 18.6900
|
||||
31886.0000 10.7000 18.9900
|
||||
31886.0000 10.7000 19.9900 rd
|
||||
31886.0000 14.5000 22.1900
|
||||
31886.0000 17.6000 22.9900
|
||||
999.9990 999.9990 999.9990
|
||||
10 0 0 13 32015.0000
|
||||
32015.0000 0.0000 22.6400
|
||||
32015.0000 0.2000 22.2200
|
||||
32015.0000 1.3000 20.9900
|
||||
32015.0000 2.0000 19.8800 rg
|
||||
32015.0000 3.0000 18.6600
|
||||
32015.0000 3.0000 18.5800
|
||||
32015.0000 5.5000 18.5800
|
||||
32015.0000 10.0000 18.9100
|
||||
32015.0000 11.5000 19.2500
|
||||
32015.0000 11.5000 20.0800 rd
|
||||
32015.0000 15.1000 22.0600
|
||||
32015.0000 17.6000 22.5100
|
||||
32015.0000 18.0000 22.8100
|
||||
999.9990 999.9990 999.9990
|
||||
11 0 0 13 32205.0000
|
||||
32205.0000 0.0000 22.3300
|
||||
32205.0000 0.2000 22.1800
|
||||
32205.0000 1.5000 21.0600
|
||||
32205.0000 2.5000 19.7700 rg
|
||||
32205.0000 3.6000 18.5100
|
||||
32205.0000 3.6000 18.4500
|
||||
32205.0000 6.9000 18.4500
|
||||
32205.0000 8.8000 19.0500
|
||||
32205.0000 12.5000 19.5700 rd
|
||||
32205.0000 12.5000 20.1800
|
||||
32205.0000 15.8000 21.9000
|
||||
32205.0000 18.1000 22.4000
|
||||
32205.0000 18.6000 22.5500
|
||||
999.9990 999.9990 999.9990
|
||||
12 0 0 13 32460.0000
|
||||
32460.0000 0.0000 22.1500
|
||||
32460.0000 0.3000 22.1300
|
||||
32460.0000 1.8000 21.1600
|
||||
32460.0000 3.0000 19.6400 rg
|
||||
32460.0000 4.4000 18.3100
|
||||
32460.0000 4.4000 18.2800
|
||||
32460.0000 8.7000 18.2800
|
||||
32460.0000 10.4000 19.2400 rd
|
||||
32460.0000 13.7000 19.9900
|
||||
32460.0000 13.7000 20.3300
|
||||
32460.0000 16.8000 21.6800
|
||||
32460.0000 18.9000 22.2500
|
||||
32460.0000 19.3000 22.5500
|
||||
999.9990 999.9990 999.9990
|
||||
13 0 0 13 32655.0000
|
||||
32655.0000 0.0000 22.4500
|
||||
32655.0000 0.3000 22.0900
|
||||
32655.0000 2.1000 21.2300
|
||||
32655.0000 3.4000 19.5300 rg
|
||||
32655.0000 5.0000 18.1600
|
||||
32655.0000 5.0000 18.1400
|
||||
32655.0000 10.1000 18.1400
|
||||
32655.0000 11.6000 19.3900 rd
|
||||
32655.0000 14.7000 20.3100
|
||||
32655.0000 14.7000 20.4300
|
||||
32655.0000 17.5000 21.5200
|
||||
32655.0000 19.4000 22.1400
|
||||
32655.0000 19.8000 22.4500
|
||||
999.9990 999.9990 999.9990
|
||||
14 0 0 13 32755.0000
|
||||
32755.0000 0.0000 22.4500
|
||||
32755.0000 0.3000 22.0900
|
||||
32755.0000 2.1000 21.2300
|
||||
32755.0000 3.4000 19.5300 rg
|
||||
32755.0000 4.0000 18.0500
|
||||
32755.0000 5.0000 18.0100
|
||||
32755.0000 10.1000 18.0100
|
||||
32755.0000 13.0000 19.3900 rd
|
||||
32755.0000 14.7000 20.3100
|
||||
32755.0000 14.7000 20.4300
|
||||
32755.0000 17.5000 21.5200
|
||||
32755.0000 19.4000 22.1400
|
||||
32755.0000 19.8000 22.4500
|
||||
999.9990 999.9990 999.9990
|
||||
15 0 0 10 32770.0000 PontA2
|
||||
32770.0000 0.0000 25.0000
|
||||
32770.0000 1.9000 25.0000
|
||||
32770.0000 1.9000 21.2700
|
||||
32770.0000 3.3000 19.4700 rg
|
||||
32770.0000 5.0000 18.0100
|
||||
32770.0000 10.5000 18.0100
|
||||
32770.0000 12.0000 19.4700 rd
|
||||
32770.0000 19.4000 21.4700
|
||||
32770.0000 19.4000 25.0000
|
||||
32770.0000 20.3000 25.0000
|
||||
999.9990 999.9990 999.9990
|
||||
16 0 0 10 32800.0000 PontA2
|
||||
32800.0000 0.0000 25.0000
|
||||
32800.0000 1.9000 25.0000
|
||||
32800.0000 1.9000 21.2700
|
||||
32800.0000 3.3000 19.4700 rg
|
||||
32800.0000 5.0000 18.0100
|
||||
32800.0000 10.5000 18.0100
|
||||
32800.0000 12.0000 19.4700 rd
|
||||
32800.0000 19.4000 21.4700
|
||||
32800.0000 19.4000 25.0000
|
||||
32800.0000 20.3000 25.0000
|
||||
999.9990 999.9990 999.9990
|
||||
17 0 0 13 32820.0000
|
||||
32820.0000 0.0000 22.4500
|
||||
32820.0000 0.3000 22.0900
|
||||
32820.0000 2.1000 21.2300
|
||||
32820.0000 3.4000 19.5300 rg
|
||||
32820.0000 4.0000 18.0500
|
||||
32820.0000 5.0000 18.0100
|
||||
32820.0000 10.1000 18.0100
|
||||
32820.0000 13.0000 19.3900 rd
|
||||
32820.0000 14.7000 20.3100
|
||||
32820.0000 14.7000 20.4300
|
||||
32820.0000 17.5000 21.5200
|
||||
32820.0000 19.4000 22.1400
|
||||
32820.0000 19.8000 22.4500
|
||||
999.9990 999.9990 999.9990
|
||||
18 0 0 11 32915.0000
|
||||
32915.0000 0.0000 22.5500
|
||||
32915.0000 0.4000 21.9500
|
||||
32915.0000 1.7000 21.2200
|
||||
32915.0000 2.4000 20.9700
|
||||
32915.0000 3.8000 19.4100 rg
|
||||
32915.0000 3.9000 19.3100
|
||||
32915.0000 5.8000 18.0100
|
||||
32915.0000 11.0000 18.0100
|
||||
32915.0000 12.4000 19.3400 rd
|
||||
32915.0000 19.4000 21.9900
|
||||
32915.0000 19.7000 22.5500
|
||||
999.9990 999.9990 999.9990
|
||||
19 0 0 10 33140.0000
|
||||
33140.0000 0.4000 21.7700
|
||||
33140.0000 1.9000 20.7600
|
||||
33140.0000 2.7000 20.5100
|
||||
33140.0000 4.2000 19.1500 rg
|
||||
33140.0000 4.3000 19.0600
|
||||
33140.0000 6.4000 17.9200
|
||||
33140.0000 11.3000 17.9200
|
||||
33140.0000 12.6000 19.1400 rd
|
||||
33140.0000 18.9000 21.8700
|
||||
33140.0000 19.2000 22.1800
|
||||
999.9990 999.9990 999.9990
|
||||
20 0 0 10 33425.0000
|
||||
33425.0000 0.0000 21.6800
|
||||
33425.0000 0.5000 21.5300
|
||||
33425.0000 2.2000 20.1600
|
||||
33425.0000 3.0000 19.9400
|
||||
33425.0000 4.8000 18.8200 rg
|
||||
33425.0000 4.9000 18.7500
|
||||
33425.0000 7.2000 17.8000
|
||||
33425.0000 11.7000 17.8000
|
||||
33425.0000 12.8000 18.8800 rd
|
||||
33425.0000 18.2000 21.6800
|
||||
999.9990 999.9990 999.9990
|
||||
21 0 0 10 33685.0000
|
||||
33685.0000 0.0000 21.5300
|
||||
33685.0000 0.5000 21.3200
|
||||
33685.0000 2.4000 19.6200
|
||||
33685.0000 3.3000 19.4200
|
||||
33685.0000 5.2000 18.5300 rg
|
||||
33685.0000 5.4000 18.4700
|
||||
33685.0000 7.9000 17.7000
|
||||
33685.0000 12.0000 17.7000
|
||||
33685.0000 12.9000 18.6500 rd
|
||||
33685.0000 17.6000 21.5300
|
||||
999.9990 999.9990 999.9990
|
||||
22 0 0 9 33920.0000
|
||||
33920.0000 0.6000 20.9800
|
||||
33920.0000 2.6000 19.1300
|
||||
33920.0000 3.6000 18.9400
|
||||
33920.0000 5.7000 18.2600 rg
|
||||
33920.0000 5.8000 18.2200
|
||||
33920.0000 8.5000 17.6000
|
||||
33920.0000 12.3000 17.6000
|
||||
33920.0000 13.1000 18.4400 rd
|
||||
33920.0000 17.0000 21.1300
|
||||
999.9990 999.9990 999.9990
|
||||
23 0 0 9 34095.0000
|
||||
34095.0000 0.6000 20.9500
|
||||
34095.0000 2.7000 18.7700
|
||||
34095.0000 3.8000 18.5900
|
||||
34095.0000 6.0000 18.0600 rg
|
||||
34095.0000 6.1000 18.0300
|
||||
34095.0000 9.0000 17.5300
|
||||
34095.0000 12.5000 17.5300
|
||||
34095.0000 13.2000 18.2800 rd
|
||||
34095.0000 16.6000 20.9800
|
||||
999.9990 999.9990 999.9990
|
||||
24 0 0 10 34295.0000
|
||||
34295.0000 0.0000 21.3600
|
||||
34295.0000 0.6000 20.8300
|
||||
34295.0000 2.4000 18.3500
|
||||
34295.0000 3.5000 18.1900
|
||||
34295.0000 5.8000 17.8300 rg
|
||||
34295.0000 6.5000 17.3400
|
||||
34295.0000 9.5000 17.3600
|
||||
34295.0000 12.8000 17.4100
|
||||
34295.0000 14.0000 18.1000 rd
|
||||
34295.0000 16.1000 21.3600
|
||||
999.9990 999.9990 999.9990
|
||||
25 0 0 10 34334.0000 amontPontThivencel
|
||||
34334.0000 0.0000 21.3600
|
||||
34334.0000 0.6000 20.8300
|
||||
34334.0000 2.4000 18.3500
|
||||
34334.0000 3.5000 18.1900
|
||||
34334.0000 5.8000 17.8300 rg
|
||||
34334.0000 6.5000 17.3400
|
||||
34334.0000 9.5000 17.3600
|
||||
34334.0000 12.8000 17.4100
|
||||
34334.0000 14.0000 18.1000 rd
|
||||
34334.0000 16.1000 21.1300
|
||||
999.9990 999.9990 999.9990
|
||||
26 0 0 9 34335.0000 PontmThivencelle
|
||||
34335.0000 2.9000 22.0000
|
||||
34335.0000 2.9000 20.7400
|
||||
34335.0000 2.9000 18.2900 rg
|
||||
34335.0000 6.4000 17.7900
|
||||
34335.0000 9.6000 17.2600
|
||||
34335.0000 12.8000 17.2600
|
||||
34335.0000 12.8000 18.3100 rd
|
||||
34335.0000 12.8000 20.7400
|
||||
34335.0000 12.8000 22.0000
|
||||
999.9990 999.9990 999.9990
|
||||
27 0 0 9 34343.0000 PontvThivencelle
|
||||
34343.0000 2.9000 22.0000
|
||||
34343.0000 2.9000 20.7400
|
||||
34343.0000 2.9000 18.2900 rg
|
||||
34343.0000 6.4000 17.7900
|
||||
34343.0000 9.6000 17.2600
|
||||
34343.0000 12.8000 17.2600
|
||||
34343.0000 12.8000 18.2900 rd
|
||||
34343.0000 12.8000 20.7400
|
||||
34343.0000 12.8000 22.0000
|
||||
999.9990 999.9990 999.9990
|
||||
28 0 0 10 34345.0000 avalPontThivencell
|
||||
34345.0000 0.0000 21.3600
|
||||
34345.0000 0.6000 20.8300
|
||||
34345.0000 2.4000 18.3500
|
||||
34345.0000 3.5000 18.1900
|
||||
34345.0000 5.8000 17.8300 rg
|
||||
34345.0000 6.5000 17.3400
|
||||
34345.0000 9.5000 17.2600
|
||||
34345.0000 12.8000 17.4100
|
||||
34345.0000 14.0000 18.1000 rd
|
||||
34345.0000 16.1000 21.1300
|
||||
999.9990 999.9990 999.9990
|
||||
29 0 0 7 34405.0000
|
||||
34405.0000 0.0000 21.1400
|
||||
34405.0000 2.9000 17.8400 rg
|
||||
34405.0000 6.4000 17.4400
|
||||
34405.0000 9.6000 17.2000
|
||||
34405.0000 12.8000 17.2200
|
||||
34405.0000 13.9000 17.8400 rd
|
||||
34405.0000 19.0000 21.0000
|
||||
999.9990 999.9990 999.9990
|
||||
30 0 0 7 34535.0000
|
||||
34535.0000 0.0000 20.5900
|
||||
34535.0000 2.9000 17.7400 rg
|
||||
34535.0000 6.4000 17.2400
|
||||
34535.0000 9.6000 17.0300
|
||||
34535.0000 12.8000 17.0300
|
||||
34535.0000 13.5000 17.7400 rd
|
||||
34535.0000 15.8000 20.6000
|
||||
999.9990 999.9990 999.9990
|
||||
31 0 0 7 34705.0000
|
||||
34705.0000 0.0000 20.5000
|
||||
34705.0000 2.9000 17.6100 rg
|
||||
34705.0000 6.4000 17.1100
|
||||
34705.0000 9.6000 16.8500
|
||||
34705.0000 12.8000 16.8500
|
||||
34705.0000 14.0000 18.0000 rd
|
||||
34705.0000 16.2000 20.5300
|
||||
999.9990 999.9990 999.9990
|
||||
32 0 0 7 34825.0000
|
||||
34825.0000 0.0000 20.6200
|
||||
34825.0000 2.9000 17.5200 rg
|
||||
34825.0000 6.4000 17.0200
|
||||
34825.0000 9.6000 16.7100
|
||||
34825.0000 12.8000 16.7100
|
||||
34825.0000 13.5000 17.5200 rd
|
||||
34825.0000 16.2000 20.5000
|
||||
999.9990 999.9990 999.9990
|
||||
33 0 0 7 34995.0000
|
||||
34995.0000 0.0000 20.3900
|
||||
34995.0000 2.9000 17.3900 rg
|
||||
34995.0000 6.4000 16.8900
|
||||
34995.0000 9.6000 16.5300
|
||||
34995.0000 12.8000 16.5300
|
||||
34995.0000 13.6000 17.4300 rd
|
||||
34995.0000 16.2000 20.3200
|
||||
999.9990 999.9990 999.9990
|
||||
34 0 0 7 35135.0000
|
||||
35135.0000 0.0000 20.1600
|
||||
35135.0000 2.9000 17.2900 rg
|
||||
35135.0000 6.4000 16.7900
|
||||
35135.0000 9.6000 16.4300
|
||||
35135.0000 12.8000 16.4300
|
||||
35135.0000 13.9000 17.3700 rd
|
||||
35135.0000 16.2000 20.0600
|
||||
999.9990 999.9990 999.9990
|
||||
35 0 0 7 35360.0000
|
||||
35360.0000 0.0000 19.8600
|
||||
35360.0000 2.9000 17.1200 rg
|
||||
35360.0000 6.4000 16.6200
|
||||
35360.0000 9.6000 16.2600
|
||||
35360.0000 12.8000 16.2600
|
||||
35360.0000 13.7000 17.1200 rd
|
||||
35360.0000 16.2000 19.4600
|
||||
999.9990 999.9990 999.9990
|
||||
36 0 0 7 35580.0000
|
||||
35580.0000 0.0000 20.0000
|
||||
35580.0000 2.9000 16.9500 rg
|
||||
35580.0000 3.0000 16.0900
|
||||
35580.0000 11.5000 16.0500
|
||||
35580.0000 20.0000 16.0900
|
||||
35580.0000 21.0000 17.0300 rd
|
||||
35580.0000 23.0000 19.5000
|
||||
999.9990 999.9990 999.9990
|
||||
37 0 0 7 35920.0000
|
||||
35920.0000 0.0000 20.0000
|
||||
35920.0000 2.2000 16.0200 rg
|
||||
35920.0000 3.0000 14.5500
|
||||
35920.0000 11.5000 14.5000
|
||||
35920.0000 20.0000 14.5500
|
||||
35920.0000 20.9000 16.0200 rd
|
||||
35920.0000 23.0000 19.5000
|
||||
999.9990 999.9990 999.9990
|
||||
38 0 0 7 36270.0000 S1
|
||||
36270.0000 0.0000 20.0000
|
||||
36270.0000 1.8000 17.0100 rg
|
||||
36270.0000 3.0000 15.0800
|
||||
36270.0000 11.5000 15.0500
|
||||
36270.0000 20.0000 15.0800
|
||||
36270.0000 21.3000 17.0100 rd
|
||||
36270.0000 23.0000 19.5000
|
||||
999.9990 999.9990 999.9990
|
||||
39 0 0 7 36271.0000 S1bis
|
||||
36271.0000 0.0000 20.0000
|
||||
36271.0000 1.8000 17.0100 rg
|
||||
36271.0000 3.0000 13.0800
|
||||
36271.0000 11.5000 13.0500
|
||||
36271.0000 20.0000 13.0800
|
||||
36271.0000 21.3000 17.0100 rd
|
||||
36271.0000 23.0000 19.5000
|
||||
999.9990 999.9990 999.9990
|
||||
@@ -0,0 +1,2 @@
|
||||
0:00:00:00 15
|
||||
0:00:01:00 15
|
||||
@@ -0,0 +1,25 @@
|
||||
0:00:00:00 5,53
|
||||
0:11:37:00 5,72
|
||||
0:16:17:00 5,82
|
||||
0:22:57:00 5,92
|
||||
1:00:00:00 6,6
|
||||
1:00:57:00 8,04
|
||||
1:02:29:00 14,3
|
||||
1:04:38:00 24,4
|
||||
1:08:48:00 40
|
||||
1:11:27:00 46,3
|
||||
1:13:47:00 48,8
|
||||
1:16:07:00 47,9
|
||||
1:17:17:00 44,8
|
||||
1:20:23:00 27,8
|
||||
1:21:57:00 24,3
|
||||
2:01:15:00 19,2
|
||||
2:05:15:00 15,8
|
||||
2:11:25:00 11,5
|
||||
2:11:57:00 11,1
|
||||
2:13:17:00 10,5
|
||||
2:19:07:00 9,84
|
||||
2:23:59:00 8,43
|
||||
3:04:51:00 7,02
|
||||
3:09:43:00 5,61
|
||||
3:14:35:00 5,53
|
||||
@@ -0,0 +1,25 @@
|
||||
**************** SINGULARITES **********************
|
||||
*BieSec Nb Longueur Cote dev Cote charg Coef deb Impression
|
||||
*===---===----------==========----------==========-----------------------------
|
||||
*****************************************************
|
||||
* Bief n° 1
|
||||
*****************************************************
|
||||
* Ouvrage au pk 36270.0 seuil_aval
|
||||
*SeuilR type D
|
||||
D 1 36270.00 18.250 15.500 0.000 0.400 99999.000 seuil palplanches
|
||||
* Ouvrage au pk 31875.0 PontRS101
|
||||
*OrificeR type O
|
||||
O 1 31875.00 9.660 18.710 21.890 0.400 9999.000
|
||||
*SeuilR type D
|
||||
D 1 31875.00 14.000 22.890 0.000 0.400 99999.000
|
||||
* Ouvrage au pk 34335.0 PontThivencelle
|
||||
*SeuilR type D
|
||||
D 1 34335.00 13.000 21.740 0.000 0.400 99999.000
|
||||
*OrificeR type O
|
||||
O 1 34335.00 9.070 17.280 20.740 0.400 9999.000
|
||||
*****************************************************
|
||||
* Bief n° 3
|
||||
*****************************************************
|
||||
* Ouvrage au pk 0.0 Orifice
|
||||
*OrificeR type O
|
||||
*O 3 0.000 6.000 19.000 19.001 0.400 20.000 Clapet_001
|
||||
@@ -0,0 +1 @@
|
||||
$Clapet_001 clapet
|
||||
@@ -0,0 +1,2 @@
|
||||
0:00:00:00 4
|
||||
0:00:01:00 4
|
||||
@@ -0,0 +1,24 @@
|
||||
16,03 0
|
||||
16,13 1,29
|
||||
16,23 3,64
|
||||
16,33 6,7
|
||||
16,43 10,31
|
||||
16,53 14,41
|
||||
16,63 18,94
|
||||
16,73 23,87
|
||||
16,83 29,16
|
||||
16,93 34,79
|
||||
17,03 40,75
|
||||
17,13 47,01
|
||||
17,23 53,57
|
||||
17,33 60,4
|
||||
17,43 67,5
|
||||
17,53 74,86
|
||||
17,63 82,47
|
||||
17,73 90,33
|
||||
17,83 98,41
|
||||
17,93 106,73
|
||||
18,03 115,26
|
||||
18,13 124,01
|
||||
18,23 132,98
|
||||
18,33 142,14
|
||||
@@ -0,0 +1,9 @@
|
||||
0:00:00:00 4
|
||||
0:01:16:48 4
|
||||
0:16:00:00 50
|
||||
1:11:46:28 36,8
|
||||
2:07:27:22 23,3
|
||||
5:04:24:58 13,8
|
||||
10:03:00:06 9,38
|
||||
20:02:19:58 7,29
|
||||
30:01:54:37 5,97
|
||||
@@ -0,0 +1,10 @@
|
||||
0:00:00:00 4
|
||||
0:01:49:48 4
|
||||
0:16:00:00 35
|
||||
1:11:25:48 25
|
||||
2:07:30:00 16,4
|
||||
5:03:55:12 9,66
|
||||
10:03:00:00 6,56
|
||||
27:00:54:00 4,91
|
||||
30:01:48:36 4
|
||||
31:06:00:00 4
|
||||
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 39 KiB |