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
b81c7ab4
Commit
b81c7ab4
authored
12 years ago
by
Christoph Groth
Browse files
Options
Downloads
Patches
Plain Diff
eradicate last remains of default_site_group
parent
ded0e2c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/source/tutorial/tutorial2.rst
+0
-5
0 additions, 5 deletions
doc/source/tutorial/tutorial2.rst
kwant/solvers/tests/_test_sparse.py
+0
-1
0 additions, 1 deletion
kwant/solvers/tests/_test_sparse.py
with
0 additions
and
6 deletions
doc/source/tutorial/tutorial2.rst
+
0
−
5
View file @
b81c7ab4
...
...
@@ -318,11 +318,6 @@ period of one flux quantum.
.. specialnote:: Technical details
- Note that in this example, we did not need to set
``sys.default_site_group = lat``. All lattice points were
added using functionality from ``lat`` and thus were
proper sites already.
- Leads have to have proper periodicity. Furthermore, the kwant
format requires the hopping from the leads to the scattering
region to be identical to the hoppings between unit cells in
...
...
This diff is collapsed.
Click to expand it.
kwant/solvers/tests/_test_sparse.py
+
0
−
1
View file @
b81c7ab4
...
...
@@ -362,7 +362,6 @@ def test_ldos(ldos):
sys
=
kwant
.
Builder
()
gr
=
kwant
.
lattice
.
chain
()
lead
=
kwant
.
Builder
(
kwant
.
TranslationalSymmetry
(
gr
.
vec
((
1
,))))
sys
.
default_site_group
=
lead
.
default_site_group
=
gr
sys
[
gr
(
0
)]
=
sys
[
gr
(
1
)]
=
lead
[
gr
(
0
)]
=
0
sys
[
gr
(
0
),
gr
(
1
)]
=
lead
[
gr
(
0
),
gr
(
1
)]
=
1
sys
.
attach_lead
(
lead
)
...
...
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