Commit Graph

26 Commits

Author SHA1 Message Date
Lorenzo Paulatto (naquite) c84280bd3a When doing cell_dofree='ibrav' if the new atomic positions are written in alat units
it is very boring to manually rescale them to the new alat value afterwards.
This patch does it automatically.
2021-01-06 11:54:24 +01:00
Paolo Giannozzi 51cb186d27 matdyn bug for ibrav=0
"latgen" should not issue a warning and should compute the volume as well
when called with ibrav=0 and supplying the lattice vectors
2020-09-10 18:46:16 +02:00
Paolo Giannozzi 3bc5ec7088 Variables at (lattice vectors) were set to zero too early 2020-06-15 17:13:28 +02:00
Paolo Giannozzi ccdb212127 The guessing of the Bravais lattice wasn't working in at least one case 2020-06-08 18:56:13 +02:00
Paolo Giannozzi ab3ccd6a7a Error message was truncated 2020-06-06 21:37:45 +02:00
Lorenzo Paulatto 3796879853 latgen subroutin changed to latgen_lib subroutinw which does not stop on
error (it returns zero, an error code and message)
New wrapper routine "latgen" behaves exactly like the old "latgen"

scan_ibrav modified

added copyright note to powell
2020-05-19 12:06:36 +02:00
giannozz 962a723a9d Axis for case ibrav=-13 aligned to what is typically found in the literature 2019-08-26 12:34:26 +02:00
Paolo Giannozzi deaf26f62e Bug in at2celldm for ibrav=91 spotted by Tone 2019-08-05 19:44:25 +02:00
Lorenzo Paulatto (naquite) 4cf16190c8 Nothing 2019-04-09 13:48:05 +02:00
Paolo Giannozzi 9c4216c087 Align (re-)calculation of celldm to latest commit 2019-01-11 18:03:29 +01:00
Lorenzo Paulatto (naquite) aaae9936cf Fixed a bug (or inconsistency) in at2ibrav that would print celldm(1) in units of alat (aka itself) except when ibrav=0, wourk-around in remake_cell rolled back 2019-01-11 09:43:46 +01:00
Lorenzo Paulatto (naquite) b213016580 latgen and copany taken back to level with 98d6147e that somehow got lost, also fixedremake_cell accordingly as celldm(1) seems to be now returned by at2ibrav in units of alat. 2019-01-11 09:32:42 +01:00
Lorenzo Paulatto (naquite) 3ac3385a4c New cell_dofree option to keep ibrav representation of lattice during vc-relax 2019-01-10 15:03:50 +01:00
Paolo Giannozzi 98d6147e92 Some time ago I modified routine at2celldm so that it computed the value of
ibrav even if it was set to 0 and lattice defined by at vectors. It wasn't
such a great idea: may break the phonon code, produces a different output
for scf and non-scf runs, does not account for the unlikely but not impossible
case of rotatted cell. This commit reverts to the previous behaviour, while
still allowing to guess an ibrav if desired.
2018-12-03 21:39:32 +01:00
Paolo Giannozzi 9883728c54 Threshold for recognizing a Bravais lattice slightly increased 2018-06-13 22:37:39 +02:00
Paolo Giannozzi 3d39fdbc61 Updated and hopefully robust routines extracting celldm/abc parameters and
ibrav index of Bravais lattice from input lattice vectors
2018-06-01 14:19:46 +02:00
Paolo Giannozzi dc9c0e4289 Cleanup of various conversion routines between the different celldm, abc, etc.
Incorrect routines removed, some corner cases fixed
2018-05-28 18:31:53 +02:00
Paolo Giannozzi e2be7f6c33 Documentation updates 2018-01-29 11:33:25 +01:00
Paolo Giannozzi d41bbae102 ibrav=-13 did not recognize cosBC parameter (noticed by Jose' Conesa) 2018-01-26 19:30:46 +01:00
giannozz 8451ed71ca Utilities for conversion from crystallographic to celldm parameters and to
lattice vectors and vice versa; misc cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13556 c92efa57-630b-4861-b058-cf58834340f0
2017-06-08 18:48:23 +00:00
giannozz ed9ce5ec0c Conversion from lattice vectors to celldm parameters moved into a separate
subroutine and closer to routine "latgen" performing the opposite operation.

NOTE: postprocessing codes that use ibrav and celldm, shouldn't!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13555 c92efa57-630b-4861-b058-cf58834340f0
2017-06-07 17:36:20 +00:00
giannozz 4c592fd500 The calculation of unit cell volume was still done using an algorithm
that would have looked obsolete already on ENIAC


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13553 c92efa57-630b-4861-b058-cf58834340f0
2017-06-07 12:06:04 +00:00
giannozz a9e7697aac Added case ibrav=-3, like ibrav=3 (bcc) but with more symmetric axis
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13488 c92efa57-630b-4861-b058-cf58834340f0
2017-05-03 17:49:23 +00:00
giannozz 4043569d3e Various small changes, updated acknowledgments and make.depend:
- error message in latgen also for negative ibrav
- double grid warning for NCPP only if no core charge (Hyungjun Lee)
- PGI problem with new xml format: do not pass unallocated arrays
- more updates to (still unfinished) cp_restart_new



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13459 c92efa57-630b-4861-b058-cf58834340f0
2017-04-08 06:24:01 +00:00
paulatto 0c6aa7ed23 Constraint on celldm(4) were not correctly enforced for ibrav=-5
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13418 c92efa57-630b-4861-b058-cf58834340f0
2017-03-21 18:25:51 +00:00
giannozz 1fea499fae Since we are in the process of moving stuff around, I think it is a good
moment to get rid of flib/, whose usefulness is far from obvious. The content
of flib/ is now in Modules/. Many makefiles updated and little more. 

Packages using QE routines should just remove links to flib/flib.a.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12072 c92efa57-630b-4861-b058-cf58834340f0
2016-01-26 12:51:02 +00:00