Skip to content
Snippets Groups Projects
This module contains classes for the Hermite (1d-3d),
the Morley (2d) and the Argyris(2d) element on simplices.
It covers both dune-localfunctions and dune-functions
aspects and thus mimics their directory structure.
These finite elements include derivative degrees of freedom,
and so their LocalIntepolation classes only work with
functions which provide a free derivative() method. A
proposal implementation of dune-functions interpolate()
method is contained in the module.
Additionally, strongly enforcing boundary conditions requires
setting a subset of boundary dofs. Typical routines don't
consider that. The LocalCoefficient classes in this module
offer additional method to question whether a dof is in the
respective subset for Dirichlet or Clamped conditions.
Discretization modules that want to include this module thus
have to include them in their corresponding routines.


Preparing the Sources
=========================

Additional to the software mentioned in README you'll need the
following programs installed on your system:

  cmake >= 3.13

Getting started
---------------

If these preliminaries are met, you should run

  dunecontrol all

which will find all installed dune modules as well as all dune modules
(not installed) which sources reside in a subdirectory of the current
directory. Note that if dune is not installed properly you will either
have to add the directory where the dunecontrol script resides (probably
./dune-common/bin) to your path or specify the relative path of the script.

Most probably you'll have to provide additional information to dunecontrol
(e. g. compilers, configure options) and/or make options.

The most convenient way is to use options files in this case. The files
define four variables:

CMAKE_FLAGS      flags passed to cmake (during configure)

An example options file might look like this:

#use this options to configure and make if no other options are given
CMAKE_FLAGS=" \
-DCMAKE_CXX_COMPILER=g++-5 \
-DCMAKE_CXX_FLAGS='-Wall -pedantic' \
-DCMAKE_INSTALL_PREFIX=/install/path" #Force g++-5 and set compiler flags

If you save this information into example.opts you can pass the opts file to
dunecontrol via the --opts option, e. g.

  dunecontrol --opts=example.opts all

More info
---------

See

     dunecontrol --help

for further options.


The full build system is described in the dune-common/doc/buildsystem (Git version) or under share/doc/dune-common/buildsystem if you installed DUNE!