Code covered by the BSD License
-
H=genmatrix1D(pot,y,mass)
GENMATRIX1D compute matrix for Schroedinger solution in 1D
-
H=genmatrix2D(pot,x,y,massx,m...
GENMATRIX2D compute matrix for Schroedinger solution in 2D
-
[E,psi]=schrsolv1D(pot,x,y,ma...
SCHRSOLV1D solve Schroedinger equation in 1D
-
[E,psi]=schrsolv2D(pot,x,y,ma...
SCHRSOLV2D solve Schroedinger equation in 2D
-
[E,psi]=schrtrack1D(pot,x,y,m...
SCHRTRACK1D refine eigenvalues in 1D
-
[E,psi]=schrtrack2D(pot,x,y,m...
SCHRTRACK2D refine eigenvalues in 2D
-
a=gaasmaterial(x,prop)
GAASMATERIAL material database for GaAs/AlGaAs mertial system
-
add_bias(xyminmax,bias)
ADD_BIAS new biased region
-
add_boundary(varargin)
ADD_BOUNDARY set boundary condition
-
b=extend1D(a,x)
EXTEND1D extrapolate field in 1D
-
b=extend2D(a)
EXTEND2D extrapolate field in 2D
-
buildstructure;
BUILDSTRUCTURE set up structure
-
charge=addqcharge(charge,delt...
ADDQCHARGE add QBOX charge
-
charge=gencharge(phi,tp,varar...
GENCHARGE compute charge density
-
charge=genqcharge(nr,tp,sub,v...
GENQCHARGE compute quantum charge density
-
charge=sumcharge(phi,varargin...
SUMCHARGE collect charge
-
genmatrixpoi
GENMATRIXPOI compute matrix for Poisson solution in 2D and 1D
-
integral=integrate(field,posb...
INTEGRATE integrate a field
-
ret=fermi(order,x);
FERMI complete Fermi integrals
-
rhs=genrhspoi(charge,varargin...
GENRHSPOI form right hand side of Poisson equation
-
runstructure
RUNSTRUCTURE performs computation
-
schrsolve(potential,fl)
SCHRSOLVE solve Schroedinger equation
-
startpotential(startpot)
STARTPOTENTIAL use non-zero startpotential
-
Contents.m
-
bugs.m
-
constants.m
-
howto.m
-
initaquila.m
-
lowdens.m
-
mdsi.m
-
qwrsubst.m
-
readme.m
-
sl.m
-
structures.m
-
wire.m
-
View all files
from
2D Schroedinger Poisson solver AQUILA
by Martin Rother
AQUILA is a 2D Schroedinger Poisson solver for GaAs / AlGaAs semiconductor nanostructures.
|
| initaquila.m |
%INITAQUILA setup for AQUILA
%
%script, that sets up the global variables for AQUILA
%
%These variables are grouped in for global structures:
%'aquila_control' contains flags and tuning parameters to control a program run.
%'aquila_subbands' contains wave functions and energies computed by the Schroedinger solver.
%'aquila_material' contains all material related parameters.
%'aquila_structure' contains all structural information.
%The most important members of these structures are predefined in this script.
%In addition a global variable 'phi' is defined here, later to be used to hold
%the electrostatic potential.
%
%Note: For a more detailed description of the structures see file 'structures'.
%Copyright 1999 Martin Rother
%
%This file is part of AQUILA.
%
%AQUILA is free software; you can redistribute it and/or modify
%it under the terms of the BSD License as published by
%the Open Source Initiative according to the License Policy
%on MATLAB(R)CENTRAL.
%
%AQUILA is distributed in the hope that it will be useful,
%but WITHOUT ANY WARRANTY; without even the implied warranty of
%MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
%BSD License for more details.
%clear up the workspace, remove old stuff
clear global aquila_control aquila_subbands aquila_material aquila_structure ...
phi fermi_3_save poimatrix
global aquila_control aquila_subbands aquila_material aquila_structure phi
constants
format short e
%the mode: 1D or 2D
aquila_control.mode=1;
%no periodicity
aquila_control.periodic=0;
%verbosity level of output
aquila_control.verbose=0;
%predefine temperature, Fermi energy and carrier types
aquila_control.T=4.2;
aquila_control.Efermi=-0.5*(1.519-5.405e-4*aquila_control.T^2 /(aquila_control.T+204));
aquila_control.carriers=GE;
%parameters for eigenvalue tracking
aquila_control.inviter1.maxiter=30;
aquila_control.inviter1.tol=1e-5;
aquila_control.inviter2.maxiter=30;
aquila_control.inviter2.tol=1e-5;
aquila_control.tracklimit=0;
%parameters for eigenvalue solving
aquila_control.eigen.tol=1e-5;
aquila_control.eigen.maxiter=300;
%parameters for self-consistent solution
aquila_control.poisson.phitol=1e-4;
aquila_control.poisson.ftol=1e-5;
aquila_control.poisson.maxiter=50;
aquila_control.schrenable=0.02;
aquila_control.phitol=2e-6;
aquila_control.maxiter=100;
%fully ionized doping per default
aquila_control.fix_doping=1;
%check correct progress
aquila_control.progress_check=1;
%for storing of structural data and boundary conditions
aquila_structure.qbox=[];
aquila_structure.mbox=[];
aquila_structure.bcond=[];
%for storing the progress indicator
aquila_structure.pbox=[];
%for storing the biased regions
aquila_structure.bias=[];
aquila_material.bias=[];
%x-content
aquila_material.xcontent=[];
aquila_material.xcontentx=[];
%position information
aquila_structure.xpos=[];
aquila_structure.hx=[];
aquila_structure.ypos=[];
aquila_structure.hy=[];
aquila_structure.boxvol=[];
%doping concentration
aquila_material.doping=[];
%for saving of wavefunctions and energies of the quantum structures
aquila_subbands.ge=[];
aquila_subbands.xe=[];
aquila_subbands.le=[];
aquila_subbands.so=[];
aquila_subbands.hh=[];
aquila_subbands.lh=[];
aquila_subbands.structure=[];
%electric potential
phi=[];
|
|
Contact us at files@mathworks.com