Skip to content
Snippets Groups Projects
Commit f4f62b05 authored by Lars von Wolff's avatar Lars von Wolff
Browse files

Updated dune.module

parent 96ad5542
Branches
No related tags found
No related merge requests found
Preparing the Sources
=========================
Additional to the software mentioned in README you'll need the
following programs installed on your system:
cmake >= 2.8.12
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!
......@@ -4,7 +4,7 @@
#Name of the module
Module: dune-phasefield
Version: 0.1
Version: 1.0
Maintainer: lars.von-wolff@mathematik.uni-stuttgart.de
#depending on #dune-xt-grid #dune-xt
Depends: dune-common dune-geometry dune-grid dune-localfunctions dune-typetree dune-istl dune-functions dune-alugrid dune-pdelab
Suggests: dune-xt
This diff is collapsed.
// mesh width associated with points
lc = 0.03;
len = 2;
Point(1) = {0, 0, 0, lc};
Point(2) = {len, 0, 0, lc};
Point(3) = {len, 1, 0, lc};
Point(4) = {0, 1, 0, lc};
Line(1) = {2,1};
Line(2) = {3,2};
Line(3) = {3,4};
Line(4) = {4,1};
Periodic Line {1} = {3};
Periodic Line {2} = {4};
Line Loop(100) = {-1,-2,3,4};
Plane Surface(200) = {100};
Physical Surface(300) = {200};
Mesh.Algorithm = 5;
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment