next up previous contents
Next: -fdtd/-voltages: Voltage sources between Up: Solver sections: Eigenvalues and Previous: -fdtd/-clouds: Properties of nonrelativistic   Contents

-fdtd/-linitialfields: Specifies the initial fields

This section enables the loading of initial fields for a time domain computation. If no initial fields are specified, the initial fields will be assumed to be zero.
 ##############################################################################
 # Flags: nomenu, noprompt, nomessage,                                        #
 ##############################################################################
 # section: -linitialfields                                                   #
 ##############################################################################
 # infile   = ./previous_outfile                                              #
 #    symbol   = e_1                                                          #
 #    quantity = e                                                            #
 #    solution = 1                                                            #
 #    factor   = 1.0                                                          #
 #    static   = no                                                           #
 #    brz      = no                                                           #
 # abstatic = 0.0                                                             #
 # nbstatic = ( 0.0, 0.0, 1.0 )                                               #
 ##############################################################################
 # doit, ?, return, end, help                                                 #
 ##############################################################################


Example The following specifies that we want to use the grid of a previous computation, that we want to load the electric field of the first mode of some previous computation with a factor of '1'. In addition, we want to load the magnetic field of the same mode with an amplitude of '-1'. If the two fields come from a resonant field computation, this has the effect of loading the mode with a phase of -45 degrees.
 #
 # As we need the filename in two places better be the same,
 # We define the files name as a variable.
 #
 sdefine( INFILE, /tmp/UserName/resonant-computation )
  -lgeometry
     infile= INFILE
  -linitialfields
     infile= INFILE
     symbol= e_1, factor=  1, doit
     symbol= h_1, factor= -1, doit


next up previous contents
Next: -fdtd/-voltages: Voltage sources between Up: Solver sections: Eigenvalues and Previous: -fdtd/-clouds: Properties of nonrelativistic   Contents