Skip to content

Commit 7998b7d

Browse files
committed
Add license information to source files.
1 parent 7f1b63a commit 7998b7d

File tree

9 files changed

+153
-29
lines changed

9 files changed

+153
-29
lines changed

COPYING renamed to LICENSE

File renamed without changes.

lib/api.f90

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
! Library interface for the dftd3 program.
2+
!
3+
! Copyright (C) 2016, Bálint Aradi
4+
!
5+
! This program is free software; you can redistribute it and/or modify
6+
! it under the terms of the GNU General Public License as published by
7+
! the Free Software Foundation; either version 1, or (at your option)
8+
! any later version.
9+
!
10+
! This program is distributed in the hope that it will be useful,
11+
! but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
! GNU General Public License for more details.
14+
!
15+
! For the GNU General Public License, see <http://www.gnu.org/licenses/>
16+
!
17+
118
!> This module contains the API to access DFT-D3 functionality.
219
!!
320
module dftd3_api

lib/common.f90

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
! dftd3 program for computing the dispersion energy and forces from cart
2+
! and atomic numbers as described in
3+
!
4+
! S. Grimme, J. Antony, S. Ehrlich and H. Krieg
5+
! J. Chem. Phys, 132 (2010), 154104
6+
!
7+
! S. Grimme, S. Ehrlich and L. Goerigk, J. Comput. Chem, 32 (2011), 1456
8+
! (for BJ-damping)
9+
!
10+
! Copyright (C) 2009 - 2011 Stefan Grimme, University of Muenster, Germany
11+
!
12+
! Repackaging of the original code without any change in the functionality:
13+
!
14+
! Copyright (C) 2016, Bálint Aradi
15+
!
16+
! This program is free software; you can redistribute it and/or modify
17+
! it under the terms of the GNU General Public License as published by
18+
! the Free Software Foundation; either version 1, or (at your option)
19+
! any later version.
20+
!
21+
! This program is distributed in the hope that it will be useful,
22+
! but WITHOUT ANY WARRANTY; without even the implied warranty of
23+
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24+
! GNU General Public License for more details.
25+
!
26+
! For the GNU General Public License, see <http://www.gnu.org/licenses/>
27+
!
28+
129
module dftd3_common
230
implicit none
331

lib/core.f90

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,29 @@
22
! and atomic numbers as described in
33
!
44
! S. Grimme, J. Antony, S. Ehrlich and H. Krieg
5-
! A consistent and accurate ab initio parameterization of density functi
6-
! (DFT-D) for the 94 elements H-Pu
75
! J. Chem. Phys, 132 (2010), 154104
86
!
9-
! if BJ-damping is used
107
! S. Grimme, S. Ehrlich and L. Goerigk, J. Comput. Chem, 32 (2011), 1456
8+
! (for BJ-damping)
119
!
12-
! should be cited as well.
10+
! Copyright (C) 2009 - 2011 Stefan Grimme, University of Muenster, Germany
1311
!
14-
! Copyright (C) 2009 - 2011 Stefan Grimme, University of Muenster, Germa
12+
! Repackaging of the original code without any change in the functionality:
13+
!
14+
! Copyright (C) 2016, Bálint Aradi
1515
!
1616
! This program is free software; you can redistribute it and/or modify
1717
! it under the terms of the GNU General Public License as published by
1818
! the Free Software Foundation; either version 1, or (at your option)
1919
! any later version.
20-
20+
!
2121
! This program is distributed in the hope that it will be useful,
2222
! but WITHOUT ANY WARRANTY; without even the implied warranty of
2323
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2424
! GNU General Public License for more details.
25-
25+
!
2626
! For the GNU General Public License, see <http://www.gnu.org/licenses/>
27+
!
2728

2829
module dftd3_core
2930
use dftd3_sizes

lib/pars.f90

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
! dftd3 program for computing the dispersion energy and forces from cart
2+
! and atomic numbers as described in
3+
!
4+
! S. Grimme, J. Antony, S. Ehrlich and H. Krieg
5+
! J. Chem. Phys, 132 (2010), 154104
6+
!
7+
! S. Grimme, S. Ehrlich and L. Goerigk, J. Comput. Chem, 32 (2011), 1456
8+
! (for BJ-damping)
9+
!
10+
! Copyright (C) 2009 - 2011 Stefan Grimme, University of Muenster, Germany
11+
!
12+
! Repackaging of the original code without any change in the functionality:
13+
!
14+
! Copyright (C) 2016, Bálint Aradi
15+
!
16+
! This program is free software; you can redistribute it and/or modify
17+
! it under the terms of the GNU General Public License as published by
18+
! the Free Software Foundation; either version 1, or (at your option)
19+
! any later version.
20+
!
21+
! This program is distributed in the hope that it will be useful,
22+
! but WITHOUT ANY WARRANTY; without even the implied warranty of
23+
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24+
! GNU General Public License for more details.
25+
!
26+
! For the GNU General Public License, see <http://www.gnu.org/licenses/>
27+
!
28+
129
module dftd3_pars
230
use dftd3_sizes, only : npars
331
use dftd3_common, only : wp

lib/sizes.f90

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
! dftd3 program for computing the dispersion energy and forces from cart
2+
! and atomic numbers as described in
3+
!
4+
! S. Grimme, J. Antony, S. Ehrlich and H. Krieg
5+
! J. Chem. Phys, 132 (2010), 154104
6+
!
7+
! S. Grimme, S. Ehrlich and L. Goerigk, J. Comput. Chem, 32 (2011), 1456
8+
! (for BJ-damping)
9+
!
10+
! Copyright (C) 2009 - 2011 Stefan Grimme, University of Muenster, Germany
11+
!
12+
! Repackaging of the original code without any change in the functionality:
13+
!
14+
! Copyright (C) 2016, Bálint Aradi
15+
!
16+
! This program is free software; you can redistribute it and/or modify
17+
! it under the terms of the GNU General Public License as published by
18+
! the Free Software Foundation; either version 1, or (at your option)
19+
! any later version.
20+
!
21+
! This program is distributed in the hope that it will be useful,
22+
! but WITHOUT ANY WARRANTY; without even the implied warranty of
23+
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24+
! GNU General Public License for more details.
25+
!
26+
! For the GNU General Public License, see <http://www.gnu.org/licenses/>
27+
!
28+
129
module dftd3_sizes
230
implicit none
331

prg/extras.f90

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,29 @@
22
! and atomic numbers as described in
33
!
44
! S. Grimme, J. Antony, S. Ehrlich and H. Krieg
5-
! A consistent and accurate ab initio parameterization of density functi
6-
! (DFT-D) for the 94 elements H-Pu
75
! J. Chem. Phys, 132 (2010), 154104
86
!
9-
! if BJ-damping is used
107
! S. Grimme, S. Ehrlich and L. Goerigk, J. Comput. Chem, 32 (2011), 1456
8+
! (for BJ-damping)
119
!
12-
! should be cited as well.
10+
! Copyright (C) 2009 - 2011 Stefan Grimme, University of Muenster, Germany
1311
!
14-
! Copyright (C) 2009 - 2011 Stefan Grimme, University of Muenster, Germa
12+
! Repackaging of the original code without any change in the functionality:
13+
!
14+
! Copyright (C) 2016, Bálint Aradi
1515
!
1616
! This program is free software; you can redistribute it and/or modify
1717
! it under the terms of the GNU General Public License as published by
1818
! the Free Software Foundation; either version 1, or (at your option)
1919
! any later version.
20-
20+
!
2121
! This program is distributed in the hope that it will be useful,
2222
! but WITHOUT ANY WARRANTY; without even the implied warranty of
2323
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2424
! GNU General Public License for more details.
25-
25+
!
2626
! For the GNU General Public License, see <http://www.gnu.org/licenses/>
27+
!
2728

2829
module dftd3_extras
2930
use dftd3_common

prg/main.f90

+19-15
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
1-
! dftd3 program for computing the dispersion energy and forces from cartesian
2-
! atomic coordinates and atomic numbers as described in
1+
! dftd3 program for computing the dispersion energy and forces from cart
2+
! and atomic numbers as described in
33
!
44
! S. Grimme, J. Antony, S. Ehrlich and H. Krieg
5-
! A consistent and accurate ab initio parameterization of density functional
6-
! dispersion correction (DFT-D) for the 94 elements H-Pu
75
! J. Chem. Phys, 132 (2010), 154104
8-
!
9-
! if BJ-damping is used
10-
! S. Grimme, S. Ehrlich and L. Goerigk, J. Comput. Chem, 32 (2011), 1456-1465.
116
!
12-
! should be cited as well.
7+
! S. Grimme, S. Ehrlich and L. Goerigk, J. Comput. Chem, 32 (2011), 1456
8+
! (for BJ-damping)
139
!
1410
! Copyright (C) 2009 - 2011 Stefan Grimme, University of Muenster, Germany
1511
!
16-
! This program is free software; you can redistribute it and/or modify it under
17-
! the terms of the GNU General Public License as published by the Free Software
18-
! Foundation; either version 1, or (at your option) any later version.
12+
! Repackaging of the original code without any change in the functionality:
1913
!
20-
! This program is distributed in the hope that it will be useful, but WITHOUT
21-
! ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
22-
! FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
23-
! details.
14+
! Copyright (C) 2016, Bálint Aradi
2415
!
16+
! This program is free software; you can redistribute it and/or modify
17+
! it under the terms of the GNU General Public License as published by
18+
! the Free Software Foundation; either version 1, or (at your option)
19+
! any later version.
20+
!
21+
! This program is distributed in the hope that it will be useful,
22+
! but WITHOUT ANY WARRANTY; without even the implied warranty of
23+
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24+
! GNU General Public License for more details.
25+
!
26+
! For the GNU General Public License, see <http://www.gnu.org/licenses/>
27+
!
28+
2529
program dftd3_main
2630
use dftd3_common
2731
use dftd3_core

test/testapi.f90

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
! Simple demonstration of how to use dftd3 as a library.
2+
!
3+
! Copyright (C) 2016, Bálint Aradi
4+
!
5+
! This program is free software; you can redistribute it and/or modify
6+
! it under the terms of the GNU General Public License as published by
7+
! the Free Software Foundation; either version 1, or (at your option)
8+
! any later version.
9+
!
10+
! This program is distributed in the hope that it will be useful,
11+
! but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
! GNU General Public License for more details.
14+
!
15+
! For the GNU General Public License, see <http://www.gnu.org/licenses/>
16+
!
17+
118
! Tests the dftd3 API by calculating the dispersion for a small DNA fragment.
219
!
320
program testapi

0 commit comments

Comments
 (0)