[Dune-devel] Fwd: [Dune] Getting started with DUNE

Carsten Gräser graeser at mi.fu-berlin.de
Sat May 7 22:39:57 CEST 2016


Hi Michaël,

Am 07.05.2016 um 15:43 schrieb Michaël Sghaïer:
> 
> ---------- Forwarded message ----------
> From: *Michaël Sghaïer* <sghaier.michael at gmail.com
> <mailto:sghaier.michael at gmail.com>>
> Date: 2016-05-07 15:43 GMT+02:00
> Subject: Re: [Dune] Getting started with DUNE
> To: Oliver Sander <oliver.sander at tu-dresden.de
> <mailto:oliver.sander at tu-dresden.de>>
> 
> 
> Hi Oliver,
> 
> I just read the "Installation of DUNE" part and have two comments (I
> focused on the installation from sources since I work from archlinux and
> have no binary packages of DUNE):
> 
> - I'm not sure about your "tar -zxvf dune*.tar.gz" command. It doesn't
> work on my machine and according to [1], you can't use a wildcard to
> untar several files at once (due to some historic reasons). You might
> replace this command by "forf in*.tar;dotar xf $f;done" for example.
> 
> - There is not release tarballs of dune-functions in [2]. So I had to
> take this module from the gitlab through a git clone but, as the
> development version, dune-functions requires concept.hh as dependency,
> which is not present in the version 2.4 of DUNE. Consequently, I had to
> install DUNE from the development branches.
there are no tarballs of dune-functions, because there was no release
yet. However, there's a 2.4-compatible branch of dune-functions:

  https://gitlab.dune-project.org/staging/dune-functions/tree/releases/2.4-compatible

There, concept.hh and some more stuff that went from dune-functions
to dune-common where backported to dune-functions. If you experience
any problems with this branch and the release please file a bug
for dune-functions.

Best,
Carsten


> By the way, I took a look on the source code of the finite element
> example and was wondering: why not use the range-based for loop
> (introduced in C++11) to iterate through the structures used? (To loop
> over all the quadrature points for example, line 65).
> 
> I'm going to continue reading your document and try the examples, I keep
> you in touch.
> 
> Best,
> 
> Michaël
> 
> [1] http://stackoverflow.com/a/583891
> [2] http://www.dune-project.org/modules/dune-functions/
> 
> 2016-05-04 6:40 GMT+02:00 Michaël Sghaïer <sghaier.michael at gmail.com
> <mailto:sghaier.michael at gmail.com>>:
> 
>     Hi Oliver,
> 
>     this is great news! As planned on the proposal of my gsoc project, I
>     have to continue to familiarizing myself with DUNE before the coding
>     period, so your document comes at a perfect time!
> 
>     I am going to read it during the following days, I let know you if I
>     have any feedback.
> 
>     Best,
> 
>     Michaël 
> 
>     2016-05-01 23:15 GMT-04:00 Oliver Sander
>     <oliver.sander at tu-dresden.de <mailto:oliver.sander at tu-dresden.de>>:
> 
>         Hi Carsten,
> 
>         both examples files and the gmsh grid file are attached to the
>         pdf document.
>         Look for red 'pin' icons in the margin.
> 
>         Best,
>         Oliver
> 
>         On 01.05.2016 21:50, Carsten Gräser wrote:
>         > Hi Oliver,
>         > thanks for sharing this!
>         >
>         > I've one small suggestion: It would be helpful if the two example
>         > files that are listed in the document are available as
>         separate download
>         > or attached file in the pdf.
>         >
>         > But even without this, having this 'Getting stared' available
>         > is great!
>         >
>         > Best,
>         > Carsten
>         >
>         >
>         > Am 01.05.2016 um 16:43 schrieb Oliver Sander:
>         >> Dear Dune community,
>         >>
>         >> I have written a small document on how to get started with Dune.
>         >> You can download it from my website at
>         >>
>         >> http://www.math.tu-dresden.de/~osander/research/dune-book.shtml
>         >>
>         >> I hope it will helpful to many people.
>         >>
>         >> Please let me know if you find any errors or omissions, or if you
>         >> have any other suggestions.  I tried to include all relevant Dune
>         >> publications in the list of references.  Please drop me a note if
>         >> you think that there are more that I should add.
>         >>
>         >> Enjoy!
>         >>
>         >> Oliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20160507/ff3a36a3/attachment.sig>


More information about the Dune-devel mailing list