######### COMPILE-TIME PARAMETERS ########## ##### ARCHITECTURE arch= # bg for BlueGene, none for Linux ##### OPTIMIZATIONS make dg version # debug, production: enable optimizations opts= # ##### FDTD COMPILE DATA N=2 # dimensionality of the problem (2,3) problem_type=fdtd # fdtd (fdtd run), dispersive (add dispersion), bloch (to be implemented) ##### I/O output=raw # (raw) vtk to be implemented ##### SOURCES spatial=point+Ex # + # point + fields (Ex, Ey and Ez) # tfsf + field (Ey or Ex) + opts [single (single plane at z0)] ##### MEASUREMENT measurements=probes+Ex+farfield+energy # probes (Ei and Hi) + farfield (only in 3D) + energy + poynting ########## RUN-TIME PARAMETERS ########## ##### MPI OPTIONS procs=1 9 1 ##### FDTD GEOMETRY number_of_cells=200 200 60 # x y z number of unit cells box_size=2 2 2 # physical size of simulation box along x y zs media_filename=geometry.in # original filename geometry.in ##### TIME & I/O base_dir=./res # directory where to save results CFL=2. # CFL Condition, assume a Courant number of 2 total_steps=10000 # steps used for performing final averages (total steps = equilibration + measure), usually 10000 io_screen=1000 # I/O on screen chkpoint_every=10000 # checkpoint step chk_load=0 # 1 true, 0 false chk_numb=0 # chkpoint number: 0 or 1 ##### SOURCES waveform=cw+1+3+100 # + # gaussian + wavelength + waist + peak time position # gaussian2 + wavelength + waist in wl # spl + wavelength + starting time # cw + wavelength + m-duration + n-duration # TFSF SOURCE SPECIFIERS tfsf_box=1 49 0.6 14.6 0.5 0.5 # xsta xend ysta yend zsta zend separated by just one space # POINT SOURCE SPECIFIERS Ex_origin=1 1 1 # Ex source points lists x y z separated by a single space Ey_origin=1.1 1 1 # Ey source points lists x y z separated by a single space Ez_origin=1 1 1 # Ez source points lists x y z separated by a single space ##### MEASUREMENTS # FAR FIELD farfield_box=0.2 1.8 0.2 1.8 0.5 0.5 # 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=0.5+0.5 # 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=10000 # 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