public-api.rst 1008 Bytes
Newer Older
1 2 3
**********
Public API
**********
Lukas Riedel's avatar
Lukas Riedel committed
4 5 6 7 8 9 10 11 12

DORiE's Public API comprises the usage of the compiled program as well as the
main code segments for using instances of DORiE in other (DUNE) modules and
programs.

Command Line API
================

The compiled program and the Docker application are executed via the
Lukas Riedel's avatar
Lukas Riedel committed
13
:doc:`Command Line Interface </manual/cli>`. The specifications for the
Lukas Riedel's avatar
Lukas Riedel committed
14
respective configuration files are given in the
Lukas Riedel's avatar
Lukas Riedel committed
15
:doc:`Config File Guide </manual/config-file>`.
Lukas Riedel's avatar
Lukas Riedel committed
16 17

The main routine (`dorie run <config>`) also requires input files for
Lukas Riedel's avatar
Lukas Riedel committed
18 19
:doc:`boundary conditions </manual/bcfile>` and
:doc:`soil parameters <man-parameter_file>`.
Lukas Riedel's avatar
Lukas Riedel committed
20 21 22 23 24 25 26

Code API
========

DORiE supplies the `Simulation` template. This is the main class for assembling
and running the solver.

27
.. doxygenclass:: Dune::Dorie::RichardsSimulation
Lukas Riedel's avatar
Lukas Riedel committed
28 29 30 31 32 33 34 35
   :members:

The simulation template requires compile-time type specifications wrapped in a
suitable `Traits` structure.

.. doxygenstruct:: Dune::Dorie::BaseTraits
   :members:
   :undoc-members: