Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://subversion.renater.fr/anonscm/svn/fullswof-2d
13 April 2021, 17:02:37 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    No releases to show
  • 56f377c
  • /
  • trunk
  • /
  • README.txt
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:a62495311b0f314b289ffd878ce8435fe6ce3304
origin badgedirectory badge
swh:1:dir:5cd0a1607d88bb41fd3499f484ae6b2e3020252c
origin badgerevision badge
swh:1:rev:f0d2c4ea29c8923198d21ac3f64a48eeae9bfb55
origin badgesnapshot badge
swh:1:snp:0b5ec9ba5beee743d28d9984aa27fdced8d4bc64

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: f0d2c4ea29c8923198d21ac3f64a48eeae9bfb55 authored by fdarboux on 09 July 2020, 15:20:26 UTC
Update of HowtoRelease document
Tip revision: f0d2c4e
README.txt
#### FullSWOF_2D
#### version 1.09.02, 2020-07-09

FullSWOF_2D stands for ``Full Shallow Water equations for Overland Flow in two
dimension of space''. In this software, the Shallow Water (or Saint-Venant) equations are solved
using finite volumes and numerical methods especially chosen for hydrodynamic purposes
(transitions between wet and dry areas, small water heights, steady preservation ...).

This software is distributed under CeCILL-V2 (GPL compatible) free software license
(see <http://www.cecill.info/licences/Licence_CeCILL_V2-en.html>).

The following explains how to compile FullSWOF_2D.
A more complete documentation can be found in the doc/Documentation.pdf file.

##############################
Users
##############################

Windows' users: look at the application note
<https://sourcesup.renater.fr/docman/view.php/895/3949/AppNote-windows.pdf>

When you are in the FullSWOF_2D directory, write the following lines:

make distclean
make
cd Examples/Simple
../../bin/FullSWOF_2D

Remark: If you are on a multicore machine, to speedup the compilation, you could replace `make` by `make -j N`, where N is the number of cores you have.

All the results are saved in the Examples/Simple/Outputs directory, in .dat files.
You should find your "parameters.txt" file, and your possible topography and/or huv files, in the Examples/Simple/Inputs directory.

Then check for proper functionning by running once
make benchref (or make -j N benchref)
Remark: This benchmark assumes your operating system is 64 bits.

See the documentation for more details.

##############################
Developers
##############################

You should start using FullSWOF_2D by running all the benchmarks and saving the reference solutions.
This will allow you to compare the present results with your future results after you modify the source files.
To do so, run once
make benchref (or make -j N benchref)
(assuming your operating system is 64 bits).
After, each time you want to check if your changes in the source files affect the results, run
make benchuser (or make -j N benchuser)
(assuming your operating system is 64 bits).

See the documentation for more details.

Always comment the files, at the beginning of the file, using Doxygen syntax (www.doxygen.org/).

---------- Doxygen -----------

Note: To simplify these operations, you can run the script UpdateDateVersion located in the bin folder.

In order to generate the Doxygen html file, the Doxygen_config_file_html file is saved in the doc directory.
To run Doxygen, from the FullSWOF_2D directory, use the command:

doxygen doc/Doxygen_config_file_html

Warning: Graphviz (http://www.graphviz.org/) must be in your PATH to generate HTML diagrams.
If not, change the HAVE_DOT parameter of the Doxygen_config_file_html.

=> In the doc/html directory, index.html is created.

To generate the Doxygen latex (pdf) file, you must use the Doxygen_config_file_latex file and compile the tex file:

doxygen doc/Doxygen_config_file_latex
cd doc/latex
make

=> In the doc/latex directory, refman.pdf is created.

-------- Check list  --------

Before creating a new tag / version, check the compilation for errors and warning messages. Then run the benchmarks under various operating systems.
Also detail the modifications in the changelog file.
Then, please refer to the Doc-NewReleaseHowTo file in the doc folder to create a new version and a new tag.

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API