- May 11, 2017
-
-
Anton Akhmerov authored
-
Joseph Weston authored
The semantics for default parameters are as follows. If a value function has a parameter that takes a default value, then an exception is raised if the user ever tries to assign a value to this parameter via 'params'. These semantics are chosen to eliminate the possibility that "forgotten" default parameters are not silently overwritten.
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
The semantics for default parameters are as follows. If a value function has a parameter that takes a default value, then an exception is raised if the user ever tries to assign a value to this parameter via 'params'. These semantics are chosen to eliminate the possibility that "forgotten" default parameters are not silently overwritten.
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Christoph Groth authored
-
Joseph Weston authored
We now use a polynomial with finite support for our smoothing function: f(r) = (1 - r**2)**2 Θ(1 - r**2).
-
Christoph Groth authored
This method has been prototyped by Adrien Sorgniard with contributions by Michal Nowak. The prototype has been cleaned-up, debugged, optimized, and integrated into Kwant by Christoph Groth.
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
It is now impossible to reduce the number of random vectors or moments. It is also no longer possible to set the number of energy points used by the method -- this can be supplied by providing a sequence of energies when calling the KPM object. We replace the 'increase_energy_resolution' and 'increase_accuracy' methods by 'add_moments' and 'add_vectors'. The tests have also been updated to reflect these changes.
-
Joseph Weston authored
num_rand_vecs → num_vectors num_sampling_points → num_energies ham → hamiltonian epsilon → eps
-
Joseph Weston authored
e → expr discrete_coordinates → discrete_coords substitutions → subs
-
Christoph Groth authored
The optimized routine now replicates the graph faithfully, exactly preserving the hopping "directions" and values.
-
Christoph Groth authored
Filling now works directly on the graph dictionary, thus avoiding many unnecessary intermediate steps. Since filling is essentially graph replication, the time gains are considerable. The optimized fill is also more faithful to the template graph.
-
Christoph Groth authored
The new fill() sets each hoppings only once. The filling starts now at (one or multiple) sites, not at a domain. This is more consistent, since the flood fill works on the graph of sites. Other changes: * max_sites is now the maximal number of sites that is still OK * fill() no longer raises an exception when no sites were added, it warns now.
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
- May 09, 2017
-
-
Previously, only onsite matrix elements were tested, whereas the test should have also tested the hopping elements.
-
- May 07, 2017
-
-
Viacheslav Ostroukh authored
-
- May 05, 2017
-
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
Additionally, make sure to test the LLL code accordingly.
-
Calling "kwant.continuum.discretize('A * k_x', substitutions={'A': 'A + B'})" ends with performing substitutions twice. Fixed by removing redundant second substitution. Fixes issue #121.
-
- May 04, 2017
-
-
Bas Nijholt authored
-
- Apr 28, 2017
-
-
Joseph Weston authored
Previously 'Builder.fill' did not respect the symmetry of the target Builder. This change also adds a test to check that target system symmetry is respected. Fixes #119
-
- Apr 27, 2017
-
-
Christoph Groth authored
-
Christoph Groth authored
-
- Apr 26, 2017
-
-
Current implementation uses ``kwant.physics.Bands``. This example fails when one substitute ``k_x**2`` with for example ``k_x**4`` due to farther then nearest neighbours hoppings. Using wraparound provides also easier way to extend it to multidimensional band structures (except of plotting).
-
Joseph Weston authored
Closes #109.
-
- Apr 25, 2017
-
-
Christoph Groth authored
-
Christoph Groth authored
-
- Apr 24, 2017
-
-
Joseph Weston authored
The Mathjax CDN is shutting down: https://www.mathjax.org/cdn-shutting-down/ Closes #116.
-