How to use the DuMuX adapter for building your own coupled solver.
Please check out the examples in the examples/
directory to get an idea on how to use the adapter.
To use the adapter in a separate DUNE module, call dune_enable_all_packages()
in the root CMakeLists.txt
of the application module. If libdumux-precice
is built as a static library, preCICE needs to be explicitly discovered with find_package
as done in the root CMakeLists.txt
of the adapter. To build the adapter library as a dynamic library, use the CMake option -DBUILD_SHARED_LIBS=ON
to build dumux-precice
and upstream modules.