You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In XBeach repetitive code is stored in include files. These include files are generated by the makeincludes program that is compiled and run as a pre-compile action for the XBeach library (src/xbeachlibrary). The makeincludes program is, like XBeach, written in fortran. Recently, a new development branch for XBeach is started that implements a Basic Model Interface (BMI). A BMI lets XBeach communicate with other models and is used to connect XBeach, for example, to aeolian sediment transport models. Implementation of a BMI is relatively simple, but involves a lot of repetitive code and therefore a lot of include files. Generating all these files using more Fortan code was considered cumbersome and time consuming. Therefore the makeincludes program is replaced by a simple Python script in this branch.

The BMI branch is soon to be merged with the trunk. Therefore it becomes relevant for all XBeach developers to understand the differences between the makeinclude program and the Python script. These differences are listed on this page.

Main differences

 

  • No labels