Skip to content

Commit ed60071

Browse files
authored
Minor fix (#13)
1 parent d818101 commit ed60071

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

README.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,21 @@ to C++ and provides the D4(EEQ)-ATM method.
1111
This project is build with `meson`, to setup and perform a build run:
1212

1313
```bash
14-
meson setup build
15-
ninja -C build
14+
meson setup _build
15+
meson compile -C _build
16+
```
17+
18+
Run the test suite with:
19+
20+
```bash
21+
meson test -C _build --print-errorlogs
1622
```
1723

1824
## Citations
1925

20-
- E. Caldeweyher, C. Bannwarth and S. Grimme, *J. Chem. Phys.*, **2017**, 147, 034112.
21-
DOI: [10.1063/1.4993215](https://dx.doi.org/10.1063/1.4993215)
22-
- E. Caldeweyher, S. Ehlert, A. Hansen, H. Neugebauer, S. Spicher, C. Bannwarth and S. Grimme, *J. Chem. Phys.*,
23-
**2019**, 150, 154122. DOI: [10.1063/1.5090222](https://dx.doi.org/10.1063/1.5090222)
26+
- E. Caldeweyher, C. Bannwarth and S. Grimme, _J. Chem. Phys._, **2017**, 147, 034112. DOI: [10.1063/1.4993215](https://dx.doi.org/10.1063/1.4993215)
27+
- E. Caldeweyher, S. Ehlert, A. Hansen, H. Neugebauer, S. Spicher, C. Bannwarth and S. Grimme, _J. Chem. Phys._, **2019**, 150, 154122. DOI: [10.1063/1.5090222](https://dx.doi.org/10.1063/1.5090222)
28+
- E. Caldeweyher, J.-M. Mewes, S. Ehlert and S. Grimme, _Phys. Chem. Chem. Phys._, **2020**, 22, 8499-8512. DOI: [10.1039/D0CP00502A](https://doi.org/10.1039/D0CP00502A)
2429

2530
## License
2631

@@ -31,5 +36,5 @@ the Free Software Foundation, either version 3 of the License, or
3136

3237
DFT-D4 is distributed in the hope that it will be useful,
3338
but without any warranty; without even the implied warranty of
34-
merchantability or fitness for a particular purpose. See the
39+
merchantability or fitness for a particular purpose. See the
3540
GNU Lesser General Public License for more details.

src/program_dftd.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,7 @@ int main(int argc, char **argv) {
147147
// initialize default cutoffs
148148
dftd4::TCutoff cutoff;
149149

150-
// molecular information
151-
dftd4::TMolInfo dat = dftd4::TMolInfo(charge);
152-
153-
info = dftd4::get_dispersion(dat, mol, par, cutoff, energy, nullptr);
150+
info = dftd4::get_dispersion(mol, charge, par, cutoff, energy, nullptr);
154151
if (info != 0) return EXIT_FAILURE;
155152

156153
std::cout << "Dispersion energy: " << energy << " Eh\n";

0 commit comments

Comments
 (0)