I see that some later tutorial programs have dois on Zenodo and certain open licences attached to them.  However, most of the earlier tutorials do not have this.  All of them do have a copyright line containing the author and years.

But they're all licensed under the same LGPL license.


The following are my specific questions:

 1. Am I allowed to reuse one of the earlier tutorials as is and report the
    simulation results (my project needs some additional post processing of
    the FE solution field) in a journal publication? How would I attribute this?

Yes, the license allows this. But like with all other uses of previously known material, standard scientific procedures state that you should cite your sources. In the current case, add a reference to the tutorial program you are using. For example, this would work:

@Misc{dealiistep32,
  author =       {M. Kronbichler and T. Heister and W. Bangerth},
title = {deal.{II} tutorial program step-32, \url{http://www.dealii.org/developer/doxygen/deal.II/step_32.html}},
  year = 2020
}

as would this:

@Book{step-49,
title = {The deal.II tutorial: step-49},
year = 2013,
publisher = {https://www.dealii.org/developer/doxygen/deal.II/step\_49.html},
author = {Timo Heister and Yuhan Zhou and Wolfgang Bangerth and David Wells}
}

For some tutorials, no authors are easily identifiable. In that case, either omit the author list or list them as "The deal.II authors".


 2. If I modify the tutorial code for my project, am I allowed to link my
    github repo to the publication? What really constitutes a modification of
    software code in general, and tutorial code in particular?
      * Have time-dependent boundary conditions
      * The generic variables of the tutorials will be renamed to the
        project-specific variables
      * instead of the typical CG iterations, since the problem size is small,
        replace it with direct solver
      * Finally the problem is run in 1D
      * Better refinement strategy if time permits

If I were to embark on such an exercise i.e. make available an open-source code linked to a journal publication, What would be my

  * copyright and authorship rights?
  * licensing and attribution requirements?

Up front: Of course we highly encourage this to happen! That's what we write deal.II for: So people use it for their own projects and, ideally, make these projects available to others as well. In particular, that's why we came up with the code gallery:
  https://dealii.org/code-gallery.html

The technical details governed by the license of deal.II. In particular, if you make your code available to anyone else, you need to license your code in a way that is compatible with the LGPL. For all practical purposes, that will mean that you have to license your code under either the GPL or the LGPL. It is of course always good practice to be open about where parts of your code come from, so it would make sense if there was a readme file or a comment at the top of your code that says
  This program is based on the step-6 tutorial of deal.II.
or something similar.

Copyright: You own what you wrote. We continue to own whatever we wrote in your program (and grant you the right to use what we own as long as you stay within the confines of the license).

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/84f684ec-05b7-137f-ff2d-8d9b0999f5ff%40colostate.edu.

Reply via email to