Oleg E. Peil
9bbd71afb9
Fixed a bug in 'inpconf.py'
...
The problem was that when one shell was specified without an explicit
group the created automatic group was lacking the default values for
parameters 'normalize' and 'normion'. The current design, however,
assumes that they must always be set.
2015-10-11 13:55:04 +02:00
Oleg E. Peil
5c3b3d0b8d
Added several tests
...
Tests for 'select_bands()' and class 'ProjectorShell' have been added.
The function and class methods have been fixed accordingly to pass
the tests.
2015-10-11 13:55:04 +02:00
Oleg E. Peil
90c93c4693
Fixed a bug in 'inpconf.py', added a corresponding test
2015-10-11 13:55:04 +02:00
Oleg E. Peil
b05d176f39
Fixed 'vaspio.py' to pass the tests'
2015-10-11 13:55:04 +02:00
Oleg E. Peil
82cc06d41e
Added a test suite for module 'vaspio'
2015-10-11 13:55:04 +02:00
Oleg E. Peil
36aadf6ff4
Removed redundant index reassignments in 'c_plocar_io.c'
2015-10-11 13:55:04 +02:00
Oleg E. Peil
46474c0b3e
Modified 'c_plocar_io.c' to conform Numpy 1.7 API
2015-10-11 13:55:04 +02:00
Oleg E. Peil
7e894d98f6
Added a small test suite for 'c_plocar_io' module
2015-10-11 13:55:04 +02:00
Oleg E. Peil
19a30034f5
* Replaced direct compilation in Makefile by 'setup.py' from 'distutils'
...
* NO_DEPRECATED_API flag was added and now 'c_plocar_io.c' does not compile
2015-10-11 13:55:04 +02:00
Oleg E. Peil
f0ae1c9927
Added untested 'ProjectorGroup' class (including orthogonalization routine)
2015-10-11 13:55:04 +02:00
Oleg E. Peil
ba015d4b62
Added untested version of 'ProjectorShell' class
2015-10-11 13:55:04 +02:00
Oleg E. Peil
74ef3ca93e
Added defulats to optional group parameters
2015-10-11 13:55:04 +02:00
Oleg E. Peil
9d4fb22572
Rearranged test cases for 'inpconf.py'.
...
A single-file test suite for 'inpconf.py' is split into several files,
each containing a separate TestCase class. In addition, all test cases
are derived from class ArrayTestCase (in turn derived from TestCase)
which contains a numpy-array equality method.
2015-10-11 13:55:04 +02:00
Oleg E. Peil
a58ec59c9c
Added Scenario 5 to 'test_parse_input()' and fixed 'inpconf.py' to pass it
2015-10-11 13:55:04 +02:00
Oleg E. Peil
74a1ad280d
Added Scenario 4 to 'test_parse_input()' (test10.cfg)
2015-10-11 13:55:04 +02:00
Oleg E. Peil
bcc20a0399
* Added Scenario 3 to 'test_parse_input()' (test9.cfg)
...
* Fixed 'parse_input()' to pass the test
2015-10-11 13:55:04 +02:00
Oleg E. Peil
8928fa3118
* Added Scenario 2 to 'test_input()' (test8.cfg)
...
* Removed group parameter 'shells' from a dict of required parameters
for a single [Shell] section
2015-10-11 13:55:04 +02:00
Oleg E. Peil
8b60a91e49
Completed 'test_parse_groups()'
2015-10-11 13:55:04 +02:00
Oleg E. Peil
3516ebd285
* Replaced 'test_groups_shells_consistency()' with 'test_parse_input()'
...
* Fixed Scenario 1 of 'test_parse_input()'
* Fixed Scenario 1 of 'test_parse_groups()'
2015-10-11 13:55:04 +02:00
Oleg E. Peil
d2fe6d50e8
* Fixed tests for the modified version of 'parse_shells()'
...
* Removed redundant prints in 'parse_shells()'
2015-10-11 13:55:04 +02:00
Oleg Peil
76d0b4a6bb
Small syntax fix in inpconf.py
2015-10-11 13:55:04 +02:00
Oleg Peil
0816d45d59
* Added (empty) function 'parse_general()' * Completed 'parse_input()'
2015-10-11 13:55:03 +02:00
Oleg Peil
9ab6116b28
* Completed group parser
...
* Added a consistency check for groups and shells
* Added scenario descriptions to the test suite
2015-10-11 13:55:03 +02:00
Oleg Peil
0d1ef0ac97
Small fixes in config.rst
2015-10-11 13:55:03 +02:00
Oleg Peil
f393168d16
* Added a test 'parse_groups()'
...
* Added to docs for config-file a description of all features that
are implemented or under active development
2015-10-11 13:55:03 +02:00
Oleg Peil
bd6198d264
* Restructured the directory structure * Added some half-day long development including tests
2015-10-11 13:55:03 +02:00
Oleg Peil
e85d3b4f2b
Initial commit
2015-10-11 13:55:03 +02:00
Manuel Zingl
29d2bf8d50
sigma_from_file changed to read function of gf
...
build_sigma_from_txt.py deleted as reading a gf
from a file is now implemented in gf.local.tools
2015-09-17 10:03:07 +02:00
Manuel Zingl
cf7628065b
Some changes in the usage of build_sigma_from_txt.
2015-08-24 14:47:08 +02:00
Manuel Zingl
61747745f4
New test added for build_sigma_from_txt.py
2015-08-21 12:24:54 +02:00
Manuel Zingl
00a775a93d
analysis.rst done. Minor change in transport.rst
...
I also described how one can read a self energy form a data
file. However, this needs to be tested and also included
in the reference manual. Maybe the function should move
back into sumk_dft_tools!?
2015-08-20 15:46:14 +02:00
Manuel Zingl
929b459681
Removes work around for issue #41
2015-08-10 16:14:51 +02:00
Manuel Zingl
b6e33ecc23
Add more integrators for the transport integral
...
It is now possible to use trapz, simps and quadl (with cubic
spline) to perform the omega integration needed in the transport code.
2015-07-28 17:21:13 +02:00
Manuel Zingl
6ecbf6720d
Fix converter bug occuring in sp case.
...
max(n_orbitals) changed to numpy.max(n_orbitals)
2015-07-16 12:27:01 +02:00
Manuel Zingl
ea7d0b1e81
Workaround for issue #41
2015-07-14 09:26:04 +02:00
Priyanka Seth
335dee2042
Fixes a bug when reading case.oubwin
...
Code does not crash anymore if number of k-points differ
in case.oubwin and case.klist. Added a warning.
2015-07-07 15:26:04 +02:00
Manuel Zingl
60c6466ace
Some changes wien2k_converter
...
convert_bands_input and convert_parproj_input can now be called
without calling convert_dft_input directly before.
2015-07-07 15:08:53 +02:00
Priyanka Seth
b24a836372
[sumk] import itertools for product
2015-07-02 15:17:33 +02:00
pdelange
6eef3bd172
fixed analyze_block_structure in sumk
...
was buggy when the number of off-diagonal elements was larger than the number of orbitals
2015-06-26 18:59:39 +02:00
Priyanka Seth
86b1461c52
Moved U_matrix to TRIQS library
2015-06-17 18:19:30 +02:00
Manuel Zingl
8bfc950cb1
[transport] Replacing Im(G) by 1/(2i)*(G-G^dag)
2015-05-27 10:43:40 +02:00
Oleg.Peil
0aed9c681f
Fixed a small mistake in the calculation of cell volume
...
There was an obious typo in the formula for cell volume
vol_c = a * b * c * numpy.sqrt(1 + 2 * c_al * c_be * c_ga - c_al ** 2 - c_be ** 2 - c_ga ** 2),
where instead of 'c_be ** 2' there was 'c_be * 82'.
2015-05-02 13:16:24 +02:00
Manuel Zingl
aef5072cad
Fixes a little bug in wien2k_converter.py
2015-04-30 19:05:24 +02:00
Priyanka Seth
79b4b426a8
Modify HDFArchive calls to 'r' where possible to handle corrupt files
2015-04-27 13:12:28 +02:00
Priyanka Seth
8dc42b08ae
[doc] New documentation
...
* restructuring
* added user reference
* started working on user guide
* added schematic to structure
2015-04-21 14:31:15 +02:00
Manuel Zingl
3d577c294e
Fix for previous bugfix
2015-04-15 15:35:03 +02:00
Priyanka Seth
a2dae173cf
Fixed bug in lattice gf that appeared when dc was not used
2015-04-15 09:48:31 +02:00
Priyanka Seth
87523ef231
Fixed bug in cal_density_correction
2015-04-14 18:19:59 +02:00
Manuel Zingl
b42a51fe17
Correcting another bug in dos_*_basis
...
om_mesh was wrongly determined to zero (due to integer division...)
if no Sigma was given.
2015-04-14 15:44:07 +02:00
Manuel Zingl
8d0bc912af
Corrects bug in dos_wannier_basis
2015-04-14 14:45:32 +02:00