Dear Dumux users,

today in commit 0a4bb, we have completed the change of the folder structure according to FS#250, see
http://www.dumux.org/flyspray/index.php?do=details&task_id=250
This has been a rather massive change affecting more than 1000 files. Close to 400 files have been moved and/or renamed.

We made everything backwards-compatible, the worst thing that should happen after a git pull or later after switching to Dumux 2.9, will be some warnings when including headers from old destinations/names. You can fix the include statements and get rid of the warnings by applying the bash script bin/fix_includes.sh to your source files, for example by executing
bash ../dumux/bin/fix_includes.sh file1 [file2 ...]
or
find . -name '*.[ch][ch]' -exec bash ../dumux/bin/fix_includes.sh {} \;
inside the folder that contains your files.

The benefits are hopefully:

- A clearer structure in terms of the problems that you want to apply Dumux for. Three main application areas on the top level: "porousmediumflow", "freeflow" and "geomechanics". The different numerical treatments "fully implicit" or "sequential" appear as discretization detail after the choice of the physical model. That's of course currently rather wishful thinking, but nevertheless where we are headed. The folder "implicit" on the top level now only contains physics-agnostic classes that can be used by any class of an application area.

- Nicer include statements due to relaxation of the naming conventions for the header files. Compare the old #include <dumux/multidomain/2cnistokes2p2cni/2cnistokes2p2cnilocaloperator.hh>
with the new
#include <dumux/multidomain/2cnistokes2p2cni/localoperator.hh>

Please let us know if you encounter any problems.

Kind regards
Bernd

On 11/03/2015 05:31 PM, Bernd Flemisch wrote:
Dear Dumux users,

within this release cycle, we will change the folder structure according to FS#250, see
http://www.dumux.org/flyspray/index.php?do=details&task_id=250

With commit ee9cdc2b today, we implemented this change for the "test" folder. That means:

- The tests from "test/implicit/particular_model" have been moved to "test/porousmediumflow/particular_model/implicit". For example, "test/implicit/2p" has been moved to "test/porousmediumflow/2p/implicit".

- Analogously, the tests from "test/decoupled/particular_model" have been moved to "test/porousmediumflow/particular_model/sequential". Please note the change from "decoupled" to "sequential" according to the related task FS#252.

- The subfolders "decoupled" and "implicit" of "test" have been removed.

As one benefit, a look into the test folder now gives an impression of the application areas of Dumux, rather than of the employed methodologies:
bernd@aladdin:/temp/bernd/DUMUX24/dumux> ls test/
CMakeLists.txt common freeflow geomechanics io material multidomain porousmediumflow references

If you are working on the Dumux Git master and have local changes in the folders "test/implicit" or "test/decoupled", you can expect merge conflicts for your next "git pull". You can either deal with these conflicts directly or create a patch, remove the local changes, pull, and apply the patch afterwards with some care to respect the changed structure. If you need help, please let us know.

We will change the structure of the "dumux" folder within the next few weeks. These changes will be made in a backward-compatible manner so that you have one release cycle to adapt.

Kind regards
Bernd



--
_______________________________________________________________

Bernd Flemisch                         phone: +49 711 685 69162
IWS, Universität Stuttgart             fax:   +49 711 685 60430
Pfaffenwaldring 61            email: [email protected]
D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to