Skip to content

Commit 53fd5c4

Browse files
committed
Added LGPL to several FMS file
Added the LGPL header to several FMS files, including diag_manager include platform sat_vapor_pres time_interp topography tracer_manager tridiagonal Added the LGPL licence file.
1 parent 34097d0 commit 53fd5c4

28 files changed

+1108
-473
lines changed

LICENSE.md

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
### GNU LESSER GENERAL PUBLIC LICENSE
2+
3+
Version 3, 29 June 2007
4+
5+
Copyright (C) 2007 Free Software Foundation, Inc.
6+
<https://fsf.org/>
7+
8+
Everyone is permitted to copy and distribute verbatim copies of this
9+
license document, but changing it is not allowed.
10+
11+
This version of the GNU Lesser General Public License incorporates the
12+
terms and conditions of version 3 of the GNU General Public License,
13+
supplemented by the additional permissions listed below.
14+
15+
#### 0. Additional Definitions.
16+
17+
As used herein, "this License" refers to version 3 of the GNU Lesser
18+
General Public License, and the "GNU GPL" refers to version 3 of the
19+
GNU General Public License.
20+
21+
"The Library" refers to a covered work governed by this License, other
22+
than an Application or a Combined Work as defined below.
23+
24+
An "Application" is any work that makes use of an interface provided
25+
by the Library, but which is not otherwise based on the Library.
26+
Defining a subclass of a class defined by the Library is deemed a mode
27+
of using an interface provided by the Library.
28+
29+
A "Combined Work" is a work produced by combining or linking an
30+
Application with the Library. The particular version of the Library
31+
with which the Combined Work was made is also called the "Linked
32+
Version".
33+
34+
The "Minimal Corresponding Source" for a Combined Work means the
35+
Corresponding Source for the Combined Work, excluding any source code
36+
for portions of the Combined Work that, considered in isolation, are
37+
based on the Application, and not on the Linked Version.
38+
39+
The "Corresponding Application Code" for a Combined Work means the
40+
object code and/or source code for the Application, including any data
41+
and utility programs needed for reproducing the Combined Work from the
42+
Application, but excluding the System Libraries of the Combined Work.
43+
44+
#### 1. Exception to Section 3 of the GNU GPL.
45+
46+
You may convey a covered work under sections 3 and 4 of this License
47+
without being bound by section 3 of the GNU GPL.
48+
49+
#### 2. Conveying Modified Versions.
50+
51+
If you modify a copy of the Library, and, in your modifications, a
52+
facility refers to a function or data to be supplied by an Application
53+
that uses the facility (other than as an argument passed when the
54+
facility is invoked), then you may convey a copy of the modified
55+
version:
56+
57+
- a) under this License, provided that you make a good faith effort
58+
to ensure that, in the event an Application does not supply the
59+
function or data, the facility still operates, and performs
60+
whatever part of its purpose remains meaningful, or
61+
- b) under the GNU GPL, with none of the additional permissions of
62+
this License applicable to that copy.
63+
64+
#### 3. Object Code Incorporating Material from Library Header Files.
65+
66+
The object code form of an Application may incorporate material from a
67+
header file that is part of the Library. You may convey such object
68+
code under terms of your choice, provided that, if the incorporated
69+
material is not limited to numerical parameters, data structure
70+
layouts and accessors, or small macros, inline functions and templates
71+
(ten or fewer lines in length), you do both of the following:
72+
73+
- a) Give prominent notice with each copy of the object code that
74+
the Library is used in it and that the Library and its use are
75+
covered by this License.
76+
- b) Accompany the object code with a copy of the GNU GPL and this
77+
license document.
78+
79+
#### 4. Combined Works.
80+
81+
You may convey a Combined Work under terms of your choice that, taken
82+
together, effectively do not restrict modification of the portions of
83+
the Library contained in the Combined Work and reverse engineering for
84+
debugging such modifications, if you also do each of the following:
85+
86+
- a) Give prominent notice with each copy of the Combined Work that
87+
the Library is used in it and that the Library and its use are
88+
covered by this License.
89+
- b) Accompany the Combined Work with a copy of the GNU GPL and this
90+
license document.
91+
- c) For a Combined Work that displays copyright notices during
92+
execution, include the copyright notice for the Library among
93+
these notices, as well as a reference directing the user to the
94+
copies of the GNU GPL and this license document.
95+
- d) Do one of the following:
96+
- 0) Convey the Minimal Corresponding Source under the terms of
97+
this License, and the Corresponding Application Code in a form
98+
suitable for, and under terms that permit, the user to
99+
recombine or relink the Application with a modified version of
100+
the Linked Version to produce a modified Combined Work, in the
101+
manner specified by section 6 of the GNU GPL for conveying
102+
Corresponding Source.
103+
- 1) Use a suitable shared library mechanism for linking with
104+
the Library. A suitable mechanism is one that (a) uses at run
105+
time a copy of the Library already present on the user's
106+
computer system, and (b) will operate properly with a modified
107+
version of the Library that is interface-compatible with the
108+
Linked Version.
109+
- e) Provide Installation Information, but only if you would
110+
otherwise be required to provide such information under section 6
111+
of the GNU GPL, and only to the extent that such information is
112+
necessary to install and execute a modified version of the
113+
Combined Work produced by recombining or relinking the Application
114+
with a modified version of the Linked Version. (If you use option
115+
4d0, the Installation Information must accompany the Minimal
116+
Corresponding Source and Corresponding Application Code. If you
117+
use option 4d1, you must provide the Installation Information in
118+
the manner specified by section 6 of the GNU GPL for conveying
119+
Corresponding Source.)
120+
121+
#### 5. Combined Libraries.
122+
123+
You may place library facilities that are a work based on the Library
124+
side by side in a single library together with other library
125+
facilities that are not Applications and are not covered by this
126+
License, and convey such a combined library under terms of your
127+
choice, if you do both of the following:
128+
129+
- a) Accompany the combined library with a copy of the same work
130+
based on the Library, uncombined with any other library
131+
facilities, conveyed under the terms of this License.
132+
- b) Give prominent notice with the combined library that part of it
133+
is a work based on the Library, and explaining where to find the
134+
accompanying uncombined form of the same work.
135+
136+
#### 6. Revised Versions of the GNU Lesser General Public License.
137+
138+
The Free Software Foundation may publish revised and/or new versions
139+
of the GNU Lesser General Public License from time to time. Such new
140+
versions will be similar in spirit to the present version, but may
141+
differ in detail to address new problems or concerns.
142+
143+
Each version is given a distinguishing version number. If the Library
144+
as you received it specifies that a certain numbered version of the
145+
GNU Lesser General Public License "or any later version" applies to
146+
it, you have the option of following the terms and conditions either
147+
of that published version or of any later version published by the
148+
Free Software Foundation. If the Library as you received it does not
149+
specify a version number of the GNU Lesser General Public License, you
150+
may choose any version of the GNU Lesser General Public License ever
151+
published by the Free Software Foundation.
152+
153+
If the Library as you received it specifies that a proxy can decide
154+
whether future versions of the GNU Lesser General Public License shall
155+
apply, that proxy's public statement of acceptance of any version is
156+
permanent authorization for you to choose that version for the
157+
Library.

diag_manager/diag_axis.F90

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
!***********************************************************************
2+
!* GNU Lesser General Public License
3+
!*
4+
!* This file is part of the GFDL Flexible Modeling System (FMS).
5+
!*
6+
!* FMS is free software: you can redistribute it and/or modify it under
7+
!* the terms of the GNU Lesser General Public License as published by
8+
!* the Free Software Foundation, either version 3 of the License, or (at
9+
!* your option) any later version.
10+
!*
11+
!* FMS is distributed in the hope that it will be useful, but WITHOUT
12+
!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+
!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14+
!* for more details.
15+
!*
16+
!* You should have received a copy of the GNU Lesser General Public
17+
!* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18+
!***********************************************************************
19+
120
#include <fms_platform.h>
221

322
MODULE diag_axis_mod

diag_manager/diag_data.F90

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
!***********************************************************************
2+
!* GNU Lesser General Public License
3+
!*
4+
!* This file is part of the GFDL Flexible Modeling System (FMS).
5+
!*
6+
!* FMS is free software: you can redistribute it and/or modify it under
7+
!* the terms of the GNU Lesser General Public License as published by
8+
!* the Free Software Foundation, either version 3 of the License, or (at
9+
!* your option) any later version.
10+
!*
11+
!* FMS is distributed in the hope that it will be useful, but WITHOUT
12+
!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+
!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14+
!* for more details.
15+
!*
16+
!* You should have received a copy of the GNU Lesser General Public
17+
!* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18+
!***********************************************************************
19+
120
#include <fms_platform.h>
221

322
MODULE diag_data_mod

diag_manager/diag_grid.F90

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
!***********************************************************************
2+
!* GNU Lesser General Public License
3+
!*
4+
!* This file is part of the GFDL Flexible Modeling System (FMS).
5+
!*
6+
!* FMS is free software: you can redistribute it and/or modify it under
7+
!* the terms of the GNU Lesser General Public License as published by
8+
!* the Free Software Foundation, either version 3 of the License, or (at
9+
!* your option) any later version.
10+
!*
11+
!* FMS is distributed in the hope that it will be useful, but WITHOUT
12+
!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+
!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14+
!* for more details.
15+
!*
16+
!* You should have received a copy of the GNU Lesser General Public
17+
!* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18+
!***********************************************************************
19+
120
#include <fms_platform.h>
221

322
MODULE diag_grid_mod

diag_manager/diag_manager.F90

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
!***********************************************************************
2+
!* GNU Lesser General Public License
3+
!*
4+
!* This file is part of the GFDL Flexible Modeling System (FMS).
5+
!*
6+
!* FMS is free software: you can redistribute it and/or modify it under
7+
!* the terms of the GNU Lesser General Public License as published by
8+
!* the Free Software Foundation, either version 3 of the License, or (at
9+
!* your option) any later version.
10+
!*
11+
!* FMS is distributed in the hope that it will be useful, but WITHOUT
12+
!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+
!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14+
!* for more details.
15+
!*
16+
!* You should have received a copy of the GNU Lesser General Public
17+
!* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18+
!***********************************************************************
19+
120
#include <fms_platform.h>
221

322
MODULE diag_manager_mod

diag_manager/diag_manifest.F90

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
!***********************************************************************
2+
!* GNU Lesser General Public License
3+
!*
4+
!* This file is part of the GFDL Flexible Modeling System (FMS).
5+
!*
6+
!* FMS is free software: you can redistribute it and/or modify it under
7+
!* the terms of the GNU Lesser General Public License as published by
8+
!* the Free Software Foundation, either version 3 of the License, or (at
9+
!* your option) any later version.
10+
!*
11+
!* FMS is distributed in the hope that it will be useful, but WITHOUT
12+
!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+
!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14+
!* for more details.
15+
!*
16+
!* You should have received a copy of the GNU Lesser General Public
17+
!* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18+
!***********************************************************************
19+
120
!> \author Seth Underwood <[email protected]>
221
!!
322
!! \brief diag_manifest_mod writes out a manifest file for each diagnostic output

diag_manager/diag_output.F90

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
!***********************************************************************
2+
!* GNU Lesser General Public License
3+
!*
4+
!* This file is part of the GFDL Flexible Modeling System (FMS).
5+
!*
6+
!* FMS is free software: you can redistribute it and/or modify it under
7+
!* the terms of the GNU Lesser General Public License as published by
8+
!* the Free Software Foundation, either version 3 of the License, or (at
9+
!* your option) any later version.
10+
!*
11+
!* FMS is distributed in the hope that it will be useful, but WITHOUT
12+
!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+
!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14+
!* for more details.
15+
!*
16+
!* You should have received a copy of the GNU Lesser General Public
17+
!* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18+
!***********************************************************************
19+
120
#include <fms_platform.h>
221

322
MODULE diag_output_mod
@@ -121,7 +140,7 @@ SUBROUTINE diag_output_init(file_name, FORMAT, file_title, file_unit,&
121140
fileset = MPP_SINGLE
122141
END IF
123142

124-
143+
125144
!> Check to make sure that only domain2D or domainUG is used. If both are not null, then FATAL
126145
if (domain .NE. NULL_DOMAIN2D .AND. domainU .NE. NULL_DOMAINUG)&
127146
& CALL error_mesg('diag_output_init', "Domain2D and DomainUG can not be used at the same time in "//&

diag_manager/diag_table.F90

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
!***********************************************************************
2+
!* GNU Lesser General Public License
3+
!*
4+
!* This file is part of the GFDL Flexible Modeling System (FMS).
5+
!*
6+
!* FMS is free software: you can redistribute it and/or modify it under
7+
!* the terms of the GNU Lesser General Public License as published by
8+
!* the Free Software Foundation, either version 3 of the License, or (at
9+
!* your option) any later version.
10+
!*
11+
!* FMS is distributed in the hope that it will be useful, but WITHOUT
12+
!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+
!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14+
!* for more details.
15+
!*
16+
!* You should have received a copy of the GNU Lesser General Public
17+
!* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18+
!***********************************************************************
19+
120
MODULE diag_table_mod
221
! <CONTACT EMAIL="[email protected]">
322
! Seth Underwood

diag_manager/diag_util.F90

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
1-
#include <fms_platform.h>
1+
!***********************************************************************
2+
!* GNU Lesser General Public License
3+
!*
4+
!* This file is part of the GFDL Flexible Modeling System (FMS).
5+
!*
6+
!* FMS is free software: you can redistribute it and/or modify it under
7+
!* the terms of the GNU Lesser General Public License as published by
8+
!* the Free Software Foundation, either version 3 of the License, or (at
9+
!* your option) any later version.
10+
!*
11+
!* FMS is distributed in the hope that it will be useful, but WITHOUT
12+
!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+
!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14+
!* for more details.
15+
!*
16+
!* You should have received a copy of the GNU Lesser General Public
17+
!* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18+
!***********************************************************************
19+
20+
include <fms_platform.h>
221

322
MODULE diag_util_mod
423
! <CONTACT EMAIL="[email protected]">

include/file_version.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
! -*-f90-*-
2+
!***********************************************************************
3+
!* GNU Lesser General Public License
4+
!*
5+
!* This file is part of the GFDL Flexible Modeling System (FMS).
6+
!*
7+
!* FMS is free software: you can redistribute it and/or modify it under
8+
!* the terms of the GNU Lesser General Public License as published by
9+
!* the Free Software Foundation, either version 3 of the License, or (at
10+
!* your option) any later version.
11+
!*
12+
!* FMS is distributed in the hope that it will be useful, but WITHOUT
13+
!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14+
!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15+
!* for more details.
16+
!*
17+
!* You should have received a copy of the GNU Lesser General Public
18+
!* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
19+
!***********************************************************************
220

321
#ifdef _FILE_VERSION
422
character(len=*), parameter :: version = _FILE_VERSION

0 commit comments

Comments
 (0)