######### COMPILE-TIME PARAMETERS ########## ##### ARCHITECTURE arch= # bg for BlueGene, none for Linux ##### OPTIMIZATIONS make debug version # debug, production: enable optimizations opts= # ##### FDTD COMPILE DATA N=2 # dimensionality of the problem (2,3) problem_type=fdtd+maxbloch # fdtd (fdtd run), dispersive (add dispersion), all (allows 2D TE+TM runs at the same time, e.g., for casimir), rates (enables four level atomic media), maxbloch (enable four level maxwell bloch system plus noise) ##### I/O output=raw # (raw) vtk to be implemented ##### SOURCES spatial=tfsf+Ex # + # point + field (Ex, Ey and Ez) # tfsf + field (Ey or Ex) + opts [single (single plane at z0)] # field (Ex or Ey) alone selects just the polarization ##### MEASUREMENT measurements=probes+Ex+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-06 2e-06 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=500000 # steps used for performing final averages (total steps = equilibration + measure) io_screen=10000 # 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=spl+500e-9+0.#cw+0.437e-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=3e-07 1.7e-06 3e-07 1.7e-06 3e-7 1.7e-6 # xsta xend ysta yend zsta zend separated by just one space tfsf_power=1e4 # 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=1.15e-06 1.05e-06 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 noise_std=1e-2; #standard deviation of the noise of the electric field ##### 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=1.4e-06+1.1e-06 # 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=20000 # 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