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
85d0f098
Commit
85d0f098
authored
11 years ago
by
Christoph Groth
Browse files
Options
Downloads
Patches
Plain Diff
rename builder.SelfEnergy to SelfEnergyLead
parent
2a87421f
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/reference/kwant.builder.rst
+1
-1
1 addition, 1 deletion
doc/source/reference/kwant.builder.rst
kwant/builder.py
+2
-2
2 additions, 2 deletions
kwant/builder.py
with
3 additions
and
3 deletions
doc/source/reference/kwant.builder.rst
+
1
−
1
View file @
85d0f098
...
@@ -13,7 +13,7 @@ Types
...
@@ -13,7 +13,7 @@ Types
HoppingKind
HoppingKind
SimpleSiteFamily
SimpleSiteFamily
BuilderLead
BuilderLead
SelfEnergy
SelfEnergy
Lead
ModesLead
ModesLead
Abstract base classes
Abstract base classes
...
...
This diff is collapsed.
Click to expand it.
kwant/builder.py
+
2
−
2
View file @
85d0f098
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
from
__future__
import
division
from
__future__
import
division
__all__
=
[
'
Builder
'
,
'
Site
'
,
'
SiteFamily
'
,
'
SimpleSiteFamily
'
,
'
Symmetry
'
,
__all__
=
[
'
Builder
'
,
'
Site
'
,
'
SiteFamily
'
,
'
SimpleSiteFamily
'
,
'
Symmetry
'
,
'
HoppingKind
'
,
'
Lead
'
,
'
BuilderLead
'
,
'
SelfEnergy
'
,
'
ModesLead
'
]
'
HoppingKind
'
,
'
Lead
'
,
'
BuilderLead
'
,
'
SelfEnergy
Lead
'
,
'
ModesLead
'
]
import
abc
import
abc
import
sys
import
sys
...
@@ -443,7 +443,7 @@ class BuilderLead(Lead):
...
@@ -443,7 +443,7 @@ class BuilderLead(Lead):
return
self
.
builder
.
_finalized_infinite
(
self
.
interface
)
return
self
.
builder
.
_finalized_infinite
(
self
.
interface
)
class
SelfEnergy
(
Lead
):
class
SelfEnergy
Lead
(
Lead
):
"""
A general lead defined by its self energy.
"""
A general lead defined by its self energy.
Parameters
Parameters
...
...
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