######### COMPILE-TIME PARAMETERS ########## ##### ARCHITECTURE arch= # bg for BlueGene, none for Linux ##### OPTIMIZATIONS make debg version # debug, production: enable optimizations opts= # ##### FDTD COMPILE DATA N=2 # dimensionality of the problem (2,3) problem_type=fdtd+dispersive#maxbloch # fdtd (fdtd run), dispersive (add dispersion), all (allows 2D TE+TM runs at the same time, e.g., for casimir), maxbloch (enable four level maxwell bloch system plus noise) ##### I/O output=raw # (raw) vtk to be implemented ##### SOURCES spatial=tfsf+Ey+single # + # point + field (Ex, Ey and Ez) # tfsf + field (Ey or Ex) + opts [single (single plane at z0)]; the tfsf assumes a nondispersive background # field (Ex or Ey) alone selects just the polarization ##### MEASUREMENT measurements=probes+Ey+energy #+poynting # probes (Ei, Hi, Ni) + farfield (+ bscatt to omit the plane at z1) + energy + poynting ########## RUN-TIME PARAMETERS ########## ##### MPI OPTIONS procs=1 9 1 ##### FDTD GEOMETRY number_of_cells=200 200 65 # x y z number of unit cells box_size=2e-6 2e-6 2e-6 # physical size of simulation box along x y z media_filename=geometry.in ##### TIME & I/O base_dir=./res # directory where to save results CFL=2. # CFL Condition total_steps=20000 # steps used for performing final averages (total steps = equilibration + measure) io_screen=1000 # I/O on screen chkpoint_every=9000000 # checkpoint step chk_load=0 # 1 true, 0 false chk_numb=0 # chkpoint number: 0 or 1 ##### SOURCES waveform=cw+0.4e-6+3+1e6#spl+500e-9+0.#cw+2.54e-07+3+100000 # cw + wavelength + m-duration + n-duration # gaussian + wavelength + waist + peak time position # gaussian2 + wavelength + waist in wl # spl + wavelength + starting time # cw + wavelength + m-duration + n-duration # fcb + wl0 + wl1 + N + m-duration + n-duration (fill wl0, wl1 with N mnm cw) # TFSF SOURCE SPECIFIERS tfsf_box=0.2e-6 1.8e-6 0.4e-06 5.5e-06 0.3e-6 1.7e-6 # xsta xend ysta yend zsta zend separated by just one space tfsf_power=1e-3 # average power of the source [W] at central frequency # POINT SOURCE SPECIFIERS Ex_origin=1.15e-06 1.05e-06 1 # Ex source points lists x y z separated by a single space Ey_origin=1e-6 1e-6 1 # Ey source points lists x y z separated by a single space Ez_origin=1.15e-06 1.05e-06 1 # Ez source points lists x y z separated by a single space ##### MAXWELL-BLOCH NOISE envir_temp=300; #temperature of the environment in Kelvin ##### MEASUREMENTS # FAR FIELD farfield_box=3.7 25.7 3.7 25.7 0.9 1.1 # far field box xsta xend ysta yend zsta zend separated by just one space n_angles=100 # number of angles (theta,phi) to process ff_file=angles.in # binary filename containing angles [theta,phi, theta,phi, ...] # PROBES probe_list=4e-6+1e-6+4e-6+4e-6+4e-6+7e-6 # probe point list (x y z) separated by +; probe are saved as p1_.bin,p2_.bin,... # probes owned by one processor are grouped in p_<0>_<1>_...__.bin and saved in [0-t0,1-t0,...,N-t0; # 0-t1,1-t1,...,N-t1, # ..................] # ENERGY & POYNTING erg_io=50000 # frequency of io save ##### UPML rmax=-16 # reflection error, designated as R(0) in Equation 7.62 orderbc=4 # order of the polynomial grading, designated as m in Equation 7.60a,b upml=10 10 10 # number of UPML layer along x y and z