Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kwant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joseph Weston
kwant
Commits
6845a706
Commit
6845a706
authored
11 years ago
by
Christoph Groth
Browse files
Options
Downloads
Patches
Plain Diff
small documentation fixes
parent
2e5c447f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
TODO
+0
-3
0 additions, 3 deletions
TODO
doc/source/whatsnew/1.0.rst
+1
-3
1 addition, 3 deletions
doc/source/whatsnew/1.0.rst
kwant/physics/leads.py
+6
-6
6 additions, 6 deletions
kwant/physics/leads.py
kwant/solvers/common.py
+1
-1
1 addition, 1 deletion
kwant/solvers/common.py
with
8 additions
and
13 deletions
TODO
+
0
−
3
View file @
6845a706
...
...
@@ -6,9 +6,6 @@ Roughly in order of importance. -*-org-*-
* Add calculation of current density
* Consider making the b parameter of _solve_linear_sys a matrix instead of a
list of matrices
* Re-design the interface of low level systems
considering the following
- We want support for multiple symmetry directions
...
...
This diff is collapsed.
Click to expand it.
doc/source/whatsnew/1.0.rst
+
1
−
3
View file @
6845a706
...
...
@@ -161,7 +161,7 @@ lead parameters.
Change of the modes and lead_info format
----------------------------------------
The `~kwant.physics.modes` now returns two objects:
The
function
`~kwant.physics.modes` now returns two objects:
`~kwant.physics.PropagatingModes` and `~kwant.physics.StabilizedModes`. The
first one contains the wave functions of all the propagating modes in real
space, as well as their velocities and momenta. All these quantities were
...
...
@@ -172,7 +172,6 @@ the `lead_info` attribute of `~kwant.solvers.default.BlockResult` contains the
real space information about the modes in the leads (a list of
`~kwant.physics.PropagatingModes` objects).
Inclusion of contributed modules
--------------------------------
kwant now contains a sub-package :mod:`kwant.contrib` that contains various
...
...
@@ -184,4 +183,3 @@ The plotting functionality has been extended. By default, symbols and lines in
plots are now relative to the system coordinates, i.e. will scale accordingly
if different zoom-levels are used. Different styles for representing sites and
hoppings are now possible. 3D plotting has been made more efficient.
This diff is collapsed.
Click to expand it.
kwant/physics/leads.py
+
6
−
6
View file @
6845a706
...
...
@@ -44,11 +44,11 @@ class PropagatingModes(object):
modes with negative velocity are ordered from larger to lower momenta, the
modes with positive velocity vice versa.
The first dimension of
the
`wave_functions` corresponds to
sites in a unit
cell, the second one to the number of the mode. Each
mode is normalized to
carry unit current. If several modes have the same
momentum and velocity,
an arbitrary orthonormal basis in the subspace of
these modes is
chosen.
The first dimension of `wave_functions` corresponds to
the orbitals of all
the sites in a unit
cell, the second one to the number of the mode. Each
mode is normalized to
carry unit current. If several modes have the same
momentum and velocity,
an arbitrary orthonormal basis in the subspace of
these modes is
chosen.
"""
def
__init__
(
self
,
wave_functions
,
velocities
,
momenta
):
kwargs
=
locals
()
...
...
@@ -118,7 +118,7 @@ def setup_linsys(h_cell, h_hop, tol=1e6, stabilization=None):
Numbers are considered zero when they are smaller than `tol` times
the machine precision.
stabilization : list of 2 booleans or None
Which steps of the eigenvalue prolem stabilization to perform. If the
Which steps of the eigenvalue pro
b
lem stabilization to perform. If the
value is `None`, then kwant chooses the fastest (and least stable)
algorithm that is expected to be sufficient. For any other value,
kwant forms the eigenvalue problem in the basis of the hopping singular
...
...
This diff is collapsed.
Click to expand it.
kwant/solvers/common.py
+
1
−
1
View file @
6845a706
...
...
@@ -79,7 +79,7 @@ class SparseSolver(object):
factorized : object
The result of calling `_factorized` for the matrix a.
b : sparse matrix
The right hand side. Its format mu
ch
match `rhsformat`.
The right hand side. Its format mu
st
match `rhsformat`.
kept_vars : slice object or sequence of integers
A sequence of numbers of variables to keep in the solution
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment