Commit Graph

46 Commits

Author SHA1 Message Date
Paolo Giannozzi aebe92d7ce [skip-CI] Another one 2023-04-13 15:57:53 +02:00
Pietro Delugas 7061582a10 feat: [xml] completing the read-in of dft3 variables from xml file
new read variables dftd3_version , dftd3_threebody
2022-11-23 14:56:45 +01:00
Pietro Delugas 4d9ba4b12c [XML] add reading of hubbard_occ 2022-10-24 18:47:45 +02:00
Pietro Delugas 849fc22f60 fix previous commit
read backgroung manyfold number from hubbard_v elements
2022-07-08 17:36:22 +02:00
Pietro Delugas 4a62e97a7a read backgroung manyfold number from hubbard_v elements 2022-07-08 17:15:08 +02:00
Pietro Delugas c8d7f583c2 reading all Vs from XML ... not only 1 2022-07-08 14:59:29 +02:00
Pietro Delugas 3daa23fb43 Merge remote-tracking branch mr_rism' into develop 2022-05-31 16:31:45 +02:00
Iurii Timrov 5364f14c26 Passing Hubbard-related quantities to the XML schema 2022-05-27 16:59:22 +00:00
Pietro Delugas 5c1e65933e Merge remote-tracking branch 'official_qe/develop' into rism-devel 2022-05-25 16:03:00 +02:00
Paolo Giannozzi 087497cb4c Uninitialized variables noticed by Cray compiler 2022-03-20 10:51:02 +01:00
Iurii Timrov 39a77cecc0 New input hubbard 2022-02-17 21:28:26 +00:00
Minoru Otani 2d4d3ccb24 fix qexsd files (by N. Watanabe) 2021-12-29 16:09:06 +09:00
Satomichi Nishihara 0d7d749371 merge RISM-code 2021-12-29 16:07:10 +09:00
Pietro Delugas 6b68fbfb7f fix two more post_xml initializations
* electric_field variables
* cutoff_2D
2021-12-13 12:09:59 +01:00
Pietro Delugas f6acf722f3 fixes spin related flags init in the nonmag case
on restart and post-processing the flags are read from
the magnetization element of output that,
in the non magnetic case, was not printed anymore.
2021-12-13 10:47:39 +01:00
fabrizio22 c999f3a882 Ford-modules part 8 2021-03-17 13:17:20 +01:00
Paolo Giannozzi 3997e8951f Reading the space-group index costs really nothing 2020-12-18 21:22:35 +00:00
Paolo Giannozzi acf4f77314 Missing initialization of "backall" could lead to an out-of-bound error in HP
with debug options on, or if a compiler does not set initial values to zero
2020-07-06 16:01:08 +00:00
Pietro Delugas 2ce195dda0 zeroing Hubbard parameters before reading them ...
... the from the xml file
2020-04-21 22:52:47 +02:00
Iurii Timrov be5b409b39 More changes 2020-04-21 18:38:05 +02:00
Pietro Delugas 8cb5d3cc9b fixing cp.x compilation
added dummy variables to the call of qexsd_copy
2020-04-21 17:28:44 +02:00
Pietro Delugas 0e14e5413d reading and writing background stuff 2020-04-21 17:25:29 +02:00
Iurii Timrov fa231199a7 More changes 2020-04-20 17:32:56 +02:00
Pietro Delugas 5c256eb191 fixing issues with the wrong schema file 2020-04-20 12:01:05 +02:00
Iurii Timrov a184a77aaf Changes in XML to support changes in DFT+U 2020-04-20 09:56:53 +02:00
Pietro Delugas bdded9fec0 Fix typo in Modules/qexsd.f9o 2020-03-17 19:19:04 +00:00
T. Thonhauser 7ae21fc668 Calculate vdW kernel on the fly: fourth commit
In this commit, the entire Quantum Espresso environment is updated so
that "make all" succeeds and produces functional codes. The resulting
codes were tested with the test-suite and all related tests passed. In
addition, I did some more extensive testing with van der Waals systems,
using the option "verbosity = 'high'" so that the non-local corr. energy
is written out explicitly; in all cases, results were identical to
qe-6.4.1 (also tested in parallel).

Overall, I updated 21 Fortran source files, mostly related to the
handling of the kernel file name(s). Modules/xc_rVV10.f90 saw more
substantial changes and now also computes the kernel on the fly. The
two routines PW/src/generate_rVV10_kernel_table.f90 and
PW/src/generate_vdW_kernel_table.f90 are now removed.

In addition, I updated the developer manual and the PW user guide. I
edited two Makefiles and ran "make depend", resulting in 6 changed
make.depend files. I updated 5 scripts and one README file, mostly
related to examples.

Finally, some of the reference files in the test suite and in some
examples had a rather old format and a "diff" after running those cases
shows unnecessarily many differences. I thus created new reference data
for the vdW cases in the test suite (running "make create-reference-pw")
and I updated the PHonon/examples/example16 and
PW/examples/vdwDF_example references (23 files updated, 11 files
deleted, and 6 files added; the file and directory structure of the
delta-scf calculations needed some more substantial updating). I also
updated PP/examples/ACF_example/reference_vdw-df-cx/atoms.out.

At this point I will do some final testing and cleaning-up of the code.
The next commit fill be the final commit.
2019-09-23 14:50:52 -04:00
Pietro Delugas 2b61bc1bbc fixing printout of ibrav in xml data file
* The printout of ibrav in xml data file could be wrong if the
initializing routine had to be called multiple times because of the
missed  iinitialization of optional pointers to NULL pointer.

* to describe cases with  ibrav < 0 the  new boolean attribute
  use_alternative_axes has been  added to the atomic_structure element
  in the xml schema, ibrav < 0 corresponds to bravais_index = abs(ibrav)
  and use_alternative_axes = .true.

* more pointers to optional arguments are now initialized run time for
  the same reason
2019-08-02 18:20:53 +00:00
Paolo Giannozzi efb97211c4 Unexpected side effects of removal of "input_parameters" in phonon:
it is used in an obscure and nonlocal way. Reverted for the time being.
Some more cleanupo here and there
2019-07-17 16:55:45 +02:00
Paolo Giannozzi e1f2c84ea1 More I/O cleanup: occupancies 2019-07-12 21:37:26 +02:00
Paolo Giannozzi a4e833eb7f More I/O cleanup: fermi energy 2019-07-12 11:35:04 +02:00
Paolo Giannozzi 2207c16db9 More I/O cleanup: starting k-points 2019-07-11 22:32:55 +02:00
Paolo Giannozzi 16757dd674 More I/O cleanup
k-points are read together with weights
2019-07-11 14:28:32 +02:00
Paolo Giannozzi 5d91f395e9 Some more I/O cleanup 2019-07-10 13:49:28 +02:00
Paolo Giannozzi 10a31a51c9 More I/O cleanup: no need any longer to read dimensions first, allocate
and read arrays later.
2019-06-29 08:25:51 +02:00
Paolo Giannozzi d02de70a26 Yet another small step towards XML I/O cleanup: reading of band
structure in PW merged with available module routine; removal of
some replicated (and in one case, wrong) reading
2019-06-26 19:46:48 +02:00
Paolo Giannozzi 9bda6a81a3 More I/O cleanup, fix to previous commit 2019-06-22 12:06:58 +02:00
Paolo Giannozzi 71b828d306 Some more I/O cleanup 2019-06-22 10:15:22 +02:00
Paolo Giannozzi b88ade188f Some more cleanup: read what is written, that is, vdw_corr, instead of
logical variables (that may be code-dependent=; use a same small routine
to set those logical variables everywhere
2019-06-21 19:54:26 +02:00
Paolo Giannozzi 6316e9aee1 More I/O merge and some cleanup: exchange-correlation (beware: this
mught be dangerous, given the large amount of variables involved)
2019-06-20 22:27:10 +02:00
giannozz ecc1dcd38c Stupid mistake in recent commit 2019-06-18 22:46:41 +02:00
Paolo Giannozzi c15d38cc3b More I/O merge and cleanup 2019-06-18 08:03:33 +02:00
Paolo Giannozzi e40f7319b2 Symmetry data are read from file using the same logic
as for atomic species and atomic structure and cell
2019-06-16 18:59:53 +02:00
Paolo Giannozzi 8cda70f15a More merge of PW and CP xml file reading: atoms and cell. BEWARE:
2pi/a and its square are no longer computed in PW when the file is read
but later - should be harmless but beware restart with variable cell
2019-06-15 19:24:57 +02:00
Paolo Giannozzi 54155a1b42 Reading of dimensions from xml file reduced to the strict minimum
and moved into general modules (it was PW-specific)
2019-06-14 18:36:40 +02:00
Paolo Giannozzi d9bbc5e1bf I/O cleanup: routines used to copy xml into QE variables moved to
Modules. They should replace all "readschema" routines in PW.
make.depend updated
2019-06-10 21:35:55 +02:00