> 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:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/