next up previous contents
Next: -fdtd/-fexport: ASCII export of Up: Solver sections: Eigenvalues and Previous: -fdtd/-time: minimum / maximum   Contents

-fdtd/-storefieldsat: when to store

 ##############################################################################
 # Flags: nomenu, noprompt, nomessage,                                        #
 ##############################################################################
 # section: -storefieldsat                                                    #
 ##############################################################################
 # name  = noname-0001                                                        #
 # whattosave= both                     -- e-fields, h-fields, both, clouds   #
 # firstsaved   = undefined                                                   #
 # lastsaved    = undefined                                                   #
 # distancesaved= undefined                                                   #
 ##############################################################################
 # doit, list, ?, return, help                                                #
 ##############################################################################


Example The following specifies that we want to store both the electric and magnetic fields in the time span of 10 periods to 12 periods. The distance shall be 0.1 periods. In the timespan between 20 periods and 30 periods, we want to store only the electric field. The distance between the saved fields shall be a quarter period.
 define(FREQ, 1e9)

 -fdtd
    -storefieldsat
      name= a, what= both
         firstsaved= 10/FREQ
         lastsaved=  12/FREQ
         distance=   0.1/FREQ
      doit

      name= b, what= e-fields
         firstsaved= 20/FREQ
         lastsaved=  30/FREQ
         distance=   0.25/FREQ
      doit

Example The following specifies that we want to store the electric fields every 100 HF-periods. Every 100 HF-periods, the fields shall be stored with a time density of 1/8 period.
 define(FREQ, 1e9)

 -fdtd
    -storefieldsat
      do ii= 100, 1000, 100
         #
         # This 'name= a-ii' gets expanded to eg. 'name= a-100'
         #
         name= a-ii, what= e-fields
            firstsaved=  ii       /FREQ
            lastsaved=  (ii+1+1/8)/FREQ
            distance=   1/8/FREQ
         doit
      enddo


next up previous contents
Next: -fdtd/-fexport: ASCII export of Up: Solver sections: Eigenvalues and Previous: -fdtd/-time: minimum / maximum   Contents