fastscape-lem / fastscapelib-fortran

A Fortran (+ Python bindings) library of efficient algorithms for landscape evolution modeling
https://fastscape-lem.github.io/fastscapelib-fortran/
GNU General Public License v3.0
23 stars 17 forks source link

Added curvature and slope extraction routines #15

Closed jeanbraun closed 5 years ago

jeanbraun commented 5 years ago

To @benbovy : I have added two routines called FastScape_Copy_Slope and FastScape_Copy_Curvature to extract slope and curvature from the current landscape. I have tested these routines in a range of situations and they seem to work. I have also added a few lines in the documentation.

jeanbraun commented 5 years ago

@benbovy are these failed checks important? Or can I continue with the merge pull?

jeanbraun commented 5 years ago

@benbovy Note that I have added a new source file (TerrainDerivatives.f90) as suggested that also required to change the CMakeLists file. I have also slightly reformatted some of the source files (using the Fortran template) which has led to some changes related to indentation. I hope that it does not make the merge too bulky. Should I merge?

jeanbraun commented 5 years ago

Hi @bbovy, I have merged the branch with the curvature and slope (and the new routine) onto master. Could you please try to put it on condo so that Lena can install it on her computer. Many thanks.