def bs2d_test(): test_geom = wheel(1,1,5,0.3,0,Dielectric(11.8)\ ,priority='Occupancy') draw_geometry(test_geom,'test_2d') test_kspace = KSpaceRectangularGrid(x_steps=50,y_steps=50) sim = Simulation( 'test_2d', test_geom, test_kspace, numbands=5, resolution=16) sim.run_simulation() sim.post_process() sim.draw_bandstructure_2D(5, filled=False) return True
def bs2d_test(): test_geom = wheel(1,1,5,0.3,0,Dielectric('si')\ ,priority='Occupancy') draw_geometry(test_geom,'test_2d') test_kspace = KSpace(2,x_res=50,y_res=50) sim = Simulation('test_2d',test_geom,test_kspace,numbands=5, \ resolution=64) sim.runSimulation() sim.postProcess() draw_bandstructure('test_2d',test_kspace,5,filled=False) return True
def bs2d_test(): test_geom = wheel(1,1,5,0.3,0,Dielectric(11.8)\ ,priority='Occupancy') draw_geometry(test_geom, 'test_2d') test_kspace = KSpaceRectangularGrid(x_steps=50, y_steps=50) sim = Simulation('test_2d', test_geom, test_kspace, numbands=5, resolution=16) sim.run_simulation() sim.post_process() sim.draw_bandstructure_2D(5, filled=False) return True
def geometry_test(): test_geom = wheel(1,1,5,0.3,0,Dielectric(11.8)\ ,priority='Occupancy') format = 'pdf' draw_geometry(test_geom, 'geometry_test',format) return True
def geometry_test(): test_geom = wheel(1,1,5,0.3,0,Dielectric(11.8)\ ,priority='Occupancy') format = 'pdf' draw_geometry(test_geom, 'geometry_test', format) return True