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
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Michael Wimmer
kwant
Commits
dff6c40b
Commit
dff6c40b
authored
11 years ago
by
Michael Wimmer
Committed by
Christoph Groth
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
clarify shape function for leads in tutorial
parent
cf91125b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/source/tutorial/tutorial2.rst
+6
-2
6 additions, 2 deletions
doc/source/tutorial/tutorial2.rst
with
6 additions
and
2 deletions
doc/source/tutorial/tutorial2.rst
+
6
−
2
View file @
dff6c40b
...
...
@@ -276,8 +276,10 @@ For the leads, we can also use the ``lat.shape``-functionality:
:start-after: #HIDDEN_BEGIN_qwgr
:end-before: #HIDDEN_END_qwgr
Here, the shape must cover *at least* one unit cell of the lead
(it does not hurt if it covers more unit cells).
Here, the shape must be compatible with the translational symmetry
of the lead ``sym_lead``. In particular, this means that it should extend to
infinity along the translational symmetry direction (note how there is
no restriction on ``x`` in ``lead_shape``) [#]_.
Attaching the leads is done as before:
...
...
@@ -350,3 +352,5 @@ period of one flux quantum.
.. [#] The corresponding vector potential is :math:`A_x(x,y)=\Phi \delta(x)
\Theta(-y)` which yields the correct magnetic field :math:`B(x,y)=\Phi
\delta(x)\delta(y)`.
.. [#] Despite the "infinite" shape, the unit cell will still be finite; the
`~kwant.lattice.TranslationalSymmetry` takes care of that.
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