|
18 | 18 | __copyright__ = ('Copyright (c), 2017, Forschungszentrum Jülich GmbH,'
|
19 | 19 | 'IAS-1/PGI-1, Germany. All rights reserved.')
|
20 | 20 | __license__ = 'MIT license, see LICENSE.txt file'
|
21 |
| -__version__ = '1.8.7' |
| 21 | +__version__ = '1.8.8' |
22 | 22 | __contributors__ = 'Philipp Rüßmann'
|
23 | 23 |
|
24 | 24 | # This defines the default parameters for KKR used in the aiida plugin:
|
@@ -448,6 +448,8 @@ def __init__(self, **kwargs):
|
448 | 448 | None, '%f', False,
|
449 | 449 | 'Superconductivity: Scaling factor for lambda_BdG (e.g. used to deactivate BdG coupling in some layers by setting the value to 0)'
|
450 | 450 | ]),
|
| 451 | + ('<PHASE_BDG>', |
| 452 | + [None, '%f', False, 'Superconductivity: Atom dependent phase factor for superconducting coupling.']), |
451 | 453 | ('<MIXFAC_BDG>', [
|
452 | 454 | None, '%f', False,
|
453 | 455 | 'Superconductivity: Mixing factor used in the mixing of the BdG Delta (defaults to 0.1)'
|
@@ -489,6 +491,7 @@ def __init__(self, **kwargs):
|
489 | 491 | None, '%f', False,
|
490 | 492 | 'Renormalization factor for energy integration weights (can be used to shift the Fermi level around).'
|
491 | 493 | ]),
|
| 494 | + ('NQDOSMAXPOINTS', [None, '%i', False, 'Max number of q-points per batch.']), |
492 | 495 | # array dimensions
|
493 | 496 | ('NSHELD', [None, '%i', False, 'Array dimension: number of shells (default: 300)']),
|
494 | 497 | ('IEMXD', [None, '%i', False, 'Array dimension: number of energy points (default: 101)']),
|
@@ -556,6 +559,8 @@ def __init__(self, **kwargs):
|
556 | 559 | None, '%l', False,
|
557 | 560 | "Run option: do not add some energy terms (coulomb, XC, eff. pot.) to total energy (former: 'NoMadel')"
|
558 | 561 | ]),
|
| 562 | + ('<NONCOBFIELD>', [None, '%l', False, |
| 563 | + 'Run option: use non-collinear exteranl fields read from bfield.dat']), |
559 | 564 | ('<PRINT_GIJ>',
|
560 | 565 | [None, '%l', False, "Run option: print cluster G_ij matrices to outfile (former: 'Gmatij')"]),
|
561 | 566 | ('<PRINT_GMAT>', [None, '%l', False, "Run option: print Gmat to outfile (former: 'Gmat')"]),
|
@@ -1256,16 +1261,23 @@ def _check_input_consistency(self, set_lists_only=False, verbose=False):
|
1256 | 1261 |
|
1257 | 1262 | #yapf: disable
|
1258 | 1263 | listargs = dict([
|
1259 |
| - ['<RBASIS>', naez], ['<RBLEFT>', nlbasis], ['<RBRIGHT>', nrbasis], ['<SHAPE>', natyp], |
1260 |
| - ['<ZATOM>', natyp], ['<SOCSCL>', natyp], ['<SITE>', natyp], ['<CPA-CONC>', natyp], |
1261 |
| - ['<KAOEZL>', nlbasis], ['<KAOEZR>', nrbasis], ['XINIPOL', natyp], ['<RMTREF>', natyp], |
1262 |
| - ['<RMTREFL>', nlbasis], ['<RMTREFR>', nrbasis], ['<FPRADIUS>', natyp], ['BZDIVIDE', 3], |
1263 |
| - ['<RBLEFT>', nlbasis], ['ZPERIODL', 3], ['<RBRIGHT>', nrbasis], ['ZPERIODR', 3], |
1264 |
| - ['LDAU_PARA', 5], ['CPAINFO', 2], ['<DELTAE>', 2], ['FILES', 2], ['DECIFILES', 2], |
1265 |
| - ['<RMTCORE>', naez], ['<MTWAU>', naez], ['<RTMTWAU>',nrbasis ], ['<LFMTWAU>', nlbasis], |
1266 |
| - ['<MTWAL>', naez], ['<RTMTWAL>',nrbasis ], ['<LFMTWAL>', nlbasis], |
1267 |
| - ['<AT_SCALE_BDG>', natyp], ['<LM_SCALE_BDG>', (lmax + 1)**2], |
| 1264 | + ['BZDIVIDE', 3], ['ZPERIODL', 3], ['ZPERIODR', 3], ['LDAU_PARA', 5], |
| 1265 | + ['CPAINFO', 2], ['<DELTAE>', 2], ['FILES', 2], ['DECIFILES', 2], |
1268 | 1266 | ])
|
| 1267 | + if naez is not None: |
| 1268 | + for key in ['<RBASIS>', '<RMTCORE>', '<MTWAU>', '<MTWAL>']: |
| 1269 | + listargs[key] = naez |
| 1270 | + if natyp is not None: |
| 1271 | + for key in ['<SHAPE>', '<ZATOM>', '<SOCSCL>', '<SITE>', '<CPA-CONC>', 'XINIPOL', '<RMTREF>', '<FPRADIUS>', '<AT_SCALE_BDG>', '<PHASE_BDG>']: |
| 1272 | + listargs[key] = natyp |
| 1273 | + if nlbasis is not None: |
| 1274 | + for key in ['<RBLEFT>', '<KAOEZL>', '<RMTREFL>', '<RBLEFT>', '<LFMTWAU>', '<LFMTWAL>']: |
| 1275 | + listargs[key] = nlbasis |
| 1276 | + if nrbasis is not None: |
| 1277 | + for key in ['<RBRIGHT>', '<KAOEZR>', '<RMTREFR>', '<RBRIGHT>', '<RTMTWAU>', '<RTMTWAL>']: |
| 1278 | + listargs[key] = nrbasis |
| 1279 | + if lmax is not None: |
| 1280 | + listargs['<LM_SCALE_BDG>'] = (lmax + 1)**2 |
1269 | 1281 | #yapf: enable
|
1270 | 1282 |
|
1271 | 1283 | # deal with special stuff for voronoi:
|
@@ -1799,7 +1811,9 @@ def read_keywords_from_inputcard(self, inputcard='inputcard', verbose=False):
|
1799 | 1811 | rbr = self.get_value('<RBRIGHT>')
|
1800 | 1812 | zper_l = self.get_value('ZPERIODL')
|
1801 | 1813 | zper_r = self.get_value('ZPERIODR')
|
1802 |
| - alat2ang = self.get_value('ALATBASIS') * get_aBohr2Ang() |
| 1814 | + alat2ang = self.get_value('ALATBASIS') |
| 1815 | + if alat2ang is not None: |
| 1816 | + alat2ang *= get_aBohr2Ang() |
1803 | 1817 | if rbl is not None:
|
1804 | 1818 | self.set_value('<RBLEFT>', array(rbl) * alat2ang)
|
1805 | 1819 | if rbr is not None:
|
|
0 commit comments