Commit Graph

295 Commits

Author SHA1 Message Date
Ivan Carnimeo f0195d2f47 default values changed for ACE and SCDM 2018-02-15 16:47:45 +01:00
Paolo Giannozzi ed63ae87d5 Various improvements to EXX by Ivan (see release-notes) 2017-12-21 17:45:37 +01:00
paulatto 9e337f3ba9 New code to compute total energy and phonons in 2D materials by enforcing 2D periodic boundary conditions. Inter-layer Coulomb interaction is truncated. Vacuum space need to be larger than the layer size. Also check phonon example17 and input documentation.
Developed by Thibault Sohier, Matteo Calandra, Francesco Mauri



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13952 c92efa57-630b-4861-b058-cf58834340f0
2017-10-25 10:40:59 +00:00
marsamos 927b041734 input_parameters with grimme d3 input parameters.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13907 c92efa57-630b-4861-b058-cf58834340f0
2017-10-13 13:41:04 +00:00
giannozz 00ad722fda Unscreened hybrid vdW-DF (JCP 146, 234106 (2017), contributed by Per Hyldgaard
and Jeff Neaton. NOTE: while waiting for better ideas, the LSDA vdW stress with
balanced spin is activated by a precompilation option -D__SPIN_BALANCED


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13836 c92efa57-630b-4861-b058-cf58834340f0
2017-09-10 16:13:16 +00:00
giannozz 71ba133c70 Cleanup of the if_pos mess (there were 4 different names for 2 variables)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13805 c92efa57-630b-4861-b058-cf58834340f0
2017-08-30 13:52:54 +00:00
giannozz 0e3ec3449a Initial version of the localization algorithm for EXX by Ivan Carnimeo
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13780 c92efa57-630b-4861-b058-cf58834340f0
2017-08-25 14:36:01 +00:00
giannozz 946a1f8a0d Default ESM algorithm set to line minimization (mdiis still under development)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13755 c92efa57-630b-4861-b058-cf58834340f0
2017-08-21 15:02:15 +00:00
giannozz 1e2d541c27 Fixes and extensions to ESM, by Minoru. To be completed: compiles and works
but there is a case that doesn't work.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13727 c92efa57-630b-4861-b058-cf58834340f0
2017-08-19 12:59:26 +00:00
paulatto 7be27df89c Monofield renamed everywhere to gatefield, according to comment to the QE paper
Also, example reference regenerated (smearing type changed)



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13720 c92efa57-630b-4861-b058-cf58834340f0
2017-08-16 19:55:30 +00:00
giannozz 5376f72b5a Variables were missing from namelist in previous commit; minor format change
to prevent annoying compiler messages; release-notes updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13454 c92efa57-630b-4861-b058-cf58834340f0
2017-04-04 15:39:36 +00:00
giannozz 15dd829993 Added a few variables in input, for future (and also present) usage in EXX.
Tentative fix for buggy noncolinear EXX is also included.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13453 c92efa57-630b-4861-b058-cf58834340f0
2017-04-04 15:34:16 +00:00
giannozz 180dd599a1 Previously removed parameters have resurfaced. Removed again.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12776 c92efa57-630b-4861-b058-cf58834340f0
2016-08-17 19:56:08 +00:00
paulatto ea430d6ead First of 4 commits adding monopole compensation charge
this feature allows the calculation of charged surface
slabs or molecules without using a compensating jellium



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12766 c92efa57-630b-4861-b058-cf58834340f0
2016-08-17 09:02:22 +00:00
degironc f69123d35d option tbeta_smoothing similar to tq_smoothing added.
some cleanup a little semplification in the logics stemming from the fact that tpawp=.true. implies tvanp=.true.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12622 c92efa57-630b-4861-b058-cf58834340f0
2016-07-28 18:52:36 +00:00
degironc a1f19446e1 tq_smmothing variable (default=.false.) added.
tprint option in init_us_0.f90 fixed 
 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12618 c92efa57-630b-4861-b058-cf58834340f0
2016-07-27 15:45:08 +00:00
puma c7a874dd4c Eliminated unused lcalc_z2 z2_m_threshold z2_z_threshold
parameters.




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12588 c92efa57-630b-4861-b058-cf58834340f0
2016-07-20 09:07:56 +00:00
dceresoli 167a87c88e Added the possibility to enter the vdw radius for each
specie for the Grimme correction


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12186 c92efa57-630b-4861-b058-cf58834340f0
2016-03-02 15:30:33 +00:00
smogunov 2b431368af The calculation of the Magnetic anisotropy energy
is implemented (in the limit of small SOC) 
using the Force theorem (A. Smogunov)



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12110 c92efa57-630b-4861-b058-cf58834340f0
2016-02-09 16:02:26 +00:00
giannozz 0aad3cc84c Removal of unused variables (mostly duplicated CP variables)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11904 c92efa57-630b-4861-b058-cf58834340f0
2015-12-15 17:34:57 +00:00
degironc 1e68dc9e4c linear algebra parallelization made independend of its parent communicator by
introducing ortho_parent_comm to be used when addressing the whole group.
linear algebra is now distributed (in PW) inside the pool group (in CPV is left unchanged... are there pools in CPV?). 
mp_global sets ortho_comm as a sub-communicator of intra_pool_comm (used to be intra_bgrp_comm). It can be reverted 
to previous choice by commenting/uncommenting one line

tested on PW/example02 co.rx.in case (both Gamma and K=(000)) with 
  -np 8 -nd 4 -nb 2
that is using 2 bgrp (procs 0123 and 4567) and diagonalizing on 4 procs (0246).
tested also on 
  -np 4 -nd 4 -nb 2
that is using 2 bgrp (procs 01 and 34) and diagonalizing on 4 procs (0123).

some bgrp parallelization added to a few routines. global variables (evc,..) are NOT distributed but some local ones
are and more could be done.




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11863 c92efa57-630b-4861-b058-cf58834340f0
2015-11-23 00:50:43 +00:00
giannozz a7416c4185 Workaround for XML option -D__XSD with phonons (and likely for other cases
as well): variable "input_xml_schema_file" is by default set to an empty 
string; if not read in input by read_namelist, it is read from environment 
variable QEXML. Far from perfect, maybe "input_xml_schema_file" should be
written to and read from xml data file? 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11776 c92efa57-630b-4861-b058-cf58834340f0
2015-10-06 12:32:41 +00:00
gborghi 97d862cdf5 -D __XSD protected commit: sample code for writing a file data-file-schema.xml according to the new xml format
defined in qes.xsd schema, collaboration with Schroedinger company


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11763 c92efa57-630b-4861-b058-cf58834340f0
2015-09-24 16:52:50 +00:00
ccavazzoni 4dac3e7329 - changing default param for ortho_eps and ortho_max
to ensure a more strict convergence and reduce drift from BO surface



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11675 c92efa57-630b-4861-b058-cf58834340f0
2015-08-14 06:46:27 +00:00
giannozz cd0f8332d2 New version of ESM, courtesy of Minoru Otani
1. rewritten the core part of the ESM to improve readability and efficiency 
   of the code (esm.f90).
2. introduce a new function (exp_erfc(x,y) = exp(x) * erfc(y)) to avoid 
   getting “NaN” in particular case.
4. two dimensional (xy plane) average charge density and electrostatic
   potentials are printed out to ‘prefix.esm1’ instead of stdout
3. make ESM calculation compatible with the NEB (neb.x).
4. introduce the constant bias potential (constant-mu) 
   (PRL 109, 266101 (2012)) feature to both pw.x and neb.x.
5. write ESM information in the XML file (One can use post-processing program
   such as pp.x).
6. including various example calculations. 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11662 c92efa57-630b-4861-b058-cf58834340f0
2015-07-30 11:48:07 +00:00
kokalj c1ed0954ed adding the possibility for vdw_corr = 'Grimme-D2' to specify custom atomic C6 coefficients from the pw.x input
new input variable = london_c6(i), i=1,ntyp



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11593 c92efa57-630b-4861-b058-cf58834340f0
2015-06-19 19:09:03 +00:00
giannozz c01a46d76c Card ESR replaced by a signle variable "iesr" in &ions; documentation added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11217 c92efa57-630b-4861-b058-cf58834340f0
2014-10-02 16:59:00 +00:00
giannozz 506461be17 Undocumented and currently unusable card DIPOLE removed. I think that
CPV/src/berry_phase.f90 is also obsolete and no longer used


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11215 c92efa57-630b-4861-b058-cf58834340f0
2014-10-02 15:23:34 +00:00
giannozz f792fea170 Obsolete variable "phase_space" removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11214 c92efa57-630b-4861-b058-cf58834340f0
2014-10-02 09:28:16 +00:00
puma a38a057071 New input options for Berry's phase electric field.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11207 c92efa57-630b-4861-b058-cf58834340f0
2014-09-30 11:00:56 +00:00
hsinyu f87ec17699 migration from exx_wf lwfpbe0 to using funct variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11179 c92efa57-630b-4861-b058-cf58834340f0
2014-09-20 00:10:39 +00:00
giannozz 380b6a2112 Removal of unused SIC-related variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11174 c92efa57-630b-4861-b058-cf58834340f0
2014-09-18 07:34:34 +00:00
hsinyu 87f5c7fab7 EXX with Wannier functions in CPV and vc-cp calculations with reference cell in CPV added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11158 c92efa57-630b-4861-b058-cf58834340f0
2014-09-11 20:10:57 +00:00
giannozz 820374c16e Corrected various badly spelled "Angstrom"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11128 c92efa57-630b-4861-b058-cf58834340f0
2014-08-04 10:15:48 +00:00
dalcorso b785c27093 Added the possibility to give as input coordinates the space group and the
inequivalent atomic positions in crystal coordinates. (Federico Zadra and 
A. Dal Corso)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11126 c92efa57-630b-4861-b058-cf58834340f0
2014-08-04 09:59:04 +00:00
oliviero f742a3b5e1 removed last do_environ
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10977 c92efa57-630b-4861-b058-cf58834340f0
2014-05-16 15:50:55 +00:00
marsamos 2fba7c6d71 deleted do_environ from input_parameters and
read_namelist. now for pw.x
do pw.x -environ



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10962 c92efa57-630b-4861-b058-cf58834340f0
2014-05-15 09:31:45 +00:00
dceresoli 22736a5945 Adding calculation of Z2 topological invariant according to
PRB 83, 235401 (2011). The routine is coming soon.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10621 c92efa57-630b-4861-b058-cf58834340f0
2013-11-28 09:56:31 +00:00
giannozz 51ad80da37 mp_global replaced with more apropriate modules in Modules/
Corrections by Axel to last commit


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10534 c92efa57-630b-4861-b058-cf58834340f0
2013-10-13 13:36:46 +00:00
ccavazzoni eabe5f67fd - commit of the latest Axel patch
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10533 c92efa57-630b-4861-b058-cf58834340f0
2013-10-12 22:28:12 +00:00
giannozz 41c8b628f1 Minor fixes by Axel to reduce the number of compiler warnings - harmless but
too many of them may hide serious warnings


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10524 c92efa57-630b-4861-b058-cf58834340f0
2013-10-10 12:46:35 +00:00
giannozz 658331b284 branch espresso-paw-exx merged back into the trunk. Beware all kinds of
unexpected side effects!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10516 c92efa57-630b-4861-b058-cf58834340f0
2013-10-07 15:19:12 +00:00
aoterodelaroza d6c8f352ca Implemented XDM in PW. The new xdm_dispersion.f90 file (xdm_module
module) contains the energy_xdm function that is executed after the
SCF cycle. The XDM energy is added on top of the SCF energy, much like
in the DFT-D2 implementation. Forces and stresses are also
computed. 

Three new keywords now available in &system: xdm (logical), xdm_a1
(real) and xdm_a2 (real). Changes have been made accross the code to
make the kinetic energy density available to energy_xdm even if no
meta-gga is being used. The documentation has been updated.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10470 c92efa57-630b-4861-b058-cf58834340f0
2013-09-22 20:36:14 +00:00
dalcorso 4722bfe0eb Added partial support to the use of k points label in the Brillouin zone.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10465 c92efa57-630b-4861-b058-cf58834340f0
2013-09-21 09:34:21 +00:00
giannozz 0bb7bfe79d Cleanup of reading and initialization of Environ-related variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10430 c92efa57-630b-4861-b058-cf58834340f0
2013-08-09 09:03:44 +00:00
ustcscgyer d8fd331cd6 ion_dynamics=langevin-smc is added to the allow list.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10428 c92efa57-630b-4861-b058-cf58834340f0
2013-08-07 15:16:16 +00:00
giannozz a6a83aff18 Harmonization of Tkachenko-Scheffler VdW correction with existing Grimme
semiempirical correction and with general QE programming style (if any):
* there is a new variable "vdw_corr", in namelist &system (not &control)
  that can have 'TS', 'ts', 'Grimme-D2', etc values. I guess there will
  be soon 2n+1 different van der Waals semiempirical corrections, so it
  is wise to have a single variable for all of them. Related variables
  (options, cutoffs, etc) keep their current names, are read from &system.
* variables read on input are copied to internal variables, as in all
  other cases. It is clumsy and I am starting to doubt it will ever be
  useful, but it has to be done in a consistent way.
Note that this may introduce some incompatibilities, especially for users
of modified CP code. If anybody has better ideas, feel free to propose.
If something doesn't work as expected, please let me know.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10426 c92efa57-630b-4861-b058-cf58834340f0
2013-08-06 15:01:29 +00:00
giannozz a3edf93be9 Obsolete variables for &EE namelist removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10425 c92efa57-630b-4861-b058-cf58834340f0
2013-08-06 13:13:12 +00:00
giannozz 5701f9cb20 New option for Smart Monte Carlo with Langevin dynamics simplified:
now it is sufficient to specify ion_dynamics='langevin-smc'


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10420 c92efa57-630b-4861-b058-cf58834340f0
2013-08-05 06:14:53 +00:00
ustcscgyer ff4d2eeff7 Smart Monte Carlo algorithm is added to langevin dynamics.
User can use it by setting "if_SMC=.true." in the ION name card.
Algorithm is described in the reference: R.J.Rossky, JCP, 69, 4628(1978)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10410 c92efa57-630b-4861-b058-cf58834340f0
2013-08-01 12:27:23 +00:00