gimme-alpha 0.1

bands.h

Go to the documentation of this file.
00001 /*
00002 ** bands.h
00003 ** 
00004 ** Made by Johnny Q. Hacker
00005 ** Login   <solarion@borkborkbork>
00006 ** 
00007 
00008     Copyright (C) 2009 Joseph Pingenot
00009 
00010     This program is free software: you can redistribute it and/or modify
00011     it under the terms of the GNU Affero General Public License as published by
00012     the Free Software Foundation, either version 3 of the License, or
00013     (at your option) any later version.
00014 
00015     This program is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018     GNU Affero General Public License for more details.
00019 
00020     You should have received a copy of the GNU Affero General Public License
00021     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00022 
00023 ** Started on  Wed Mar 25 18:02:59 2009 Johnny Q. Hacker
00024 ** Last update Wed Mar 25 18:02:59 2009 Johnny Q. Hacker
00025 */
00026 
00027 #ifndef     BANDS_H_
00028 #define     BANDS_H_
00029 
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033 
00034 /*
00035   internal band information; better than #defines.
00036    CB -> Conduction Band
00037    HH -> Heavy Hole
00038    LH -> Light Hole
00039    SO -> Split Off
00040   CHH -> Conduction Heavy Hole (not really a hole; just gamma 8)
00041   CLH -> Conduction Light Hole (not really a hole; just gamma 8)
00042   CSO -> Conduction Split Off (not really a hole; just gamma 7)
00043  */
00044 enum bands {
00045   CB,
00046   HH,
00047   LH,
00048   SO,
00049   CHH,
00050   CLH,
00051   CSO,
00052   CB_X,  //For NextNano effective mass calcs
00053   CB_L   //For NextNano effective mass calcs
00054 };
00055 
00056 /*Boundary condition types
00057  *  NEU -> Neumann
00058  *  DIR -> Dirichlet
00059  */
00060 enum boundary_types {
00061   NEU,
00062   DIR
00063 };
00064 
00065 #ifdef __cplusplus
00066 }
00067 #endif
00068 
00069 #endif      /* !BANDS_H_ */
 All Classes Files Functions Variables Enumerations Enumerator Defines