-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample-qw-qwdope.py
47 lines (38 loc) · 1.34 KB
/
sample-qw-qwdope.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# ------------------------------------------------------------------------
# Input File Description: Quantum well doped AlGaAs/GaAs heterostructure.
# ------------------------------------------------------------------------
# ----------------
# GENERAL SETTINGS
# ----------------
# TEMPERATURE
T = 300.0 #Kelvin
# COMPUTATIONAL SCHEME
# 0: Schrodinger
# 2: Schrodinger-Poisson
computation_scheme = 2
# QUANTUM
# Total subband number to be calculated for electrons
subnumber_e = 2
# APPLIED ELECTRIC FIELD
Fapplied = 0.0 # (V/m)
# --------------------------------
# REGIONAL SETTINGS FOR SIMULATION
# --------------------------------
# GRID
# For 1D, z-axis is choosen
gridfactor = 0.1 #nm
maxgridpoints = 200000 #for controlling the size
# REGIONS
# Region input is a two-dimensional list input.
# An example:
# Si p-n diode. Firstly lets picturize the regional input.
# | Thickness (nm) | Material | Alloy fraction | Doping(cm^-3) | n or p type |
# Layer 0 | 250.0 | Si | 0 | 1e16 | n |
# Layer 1 | 250.0 | Si | 0 | 1e16 | p |
#
# To input this list in Gallium, we use lists as:
material =[[ 20.0, 'AlGaAs', 0.2, 0, 'n'],
[10.0, 'GaAs', 0, 2e18, 'n'],
[20.0, 'AlGaAs', 0.2, 0, 'n']]