-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yanze Wu
committed
Nov 5, 2020
1 parent
8e468c3
commit 2681296
Showing
3 changed files
with
43 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
|
||
# Parameters you may specify: | ||
# E: Incoming energy | ||
# A, eps, epsc, r, omega: Parameter of potential | ||
# A, mu, lambda, eps, epsc, r, omega: Parameter of potential | ||
|
||
A=0.02 | ||
mu=0.0002 | ||
lambda=0.001 | ||
eps=2.5 | ||
epsc=2.5 | ||
r=2 | ||
omega=0.01 | ||
E=0.007 # This is just one point. To repeat full Fig.1 you need to iterate E from 0.006 to 0.06. | ||
|
||
# Requires a single core and 6.2 MB memory. Takes several minutes. | ||
|
||
# Put scatter into your environment, or just move the script to project root. | ||
|
||
scatter -N 128 -L 8 --n_stencil=5 --n_ext=5 -m 1000 -E $E --in_el=0 --n_bs=20 --potential 2statelx --startpos down --output up-E$E --param $A,$mu,$lambda,$eps,$epsc,$omega,$r,1000,10 > out-E$E.txt | ||
|
||
# Will output three files: | ||
# Will output four files: | ||
# out-*: STDOUT; | ||
# prob-*: Probability file. Describes the (normalized) scattering probability in each bound states and (unnormalized) scattering amplitude in each bound states. | ||
# bound-*: Wavefunction of bound states. | ||
# state-*: Wavefunction of the solution. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters