MaxwellStates
Name MaxwellIncidentWaves
Section MaxwellStates
Type block
The initial electromagnetic fields can be set by the user
with the MaxwellIncidentWaves block variable.
The electromagnetic fields have to fulfill the
Maxwells equations in vacuum.
Example:
%MaxwellIncidentWaves
plane_wave_parser | "k1x" | "k1y" | "k1z" | "E1x" | "E1z" | "E1x"
plane_wave_parser | "k2x" | "k2y" | "k2z" | "E2x" | "E2y" | "E2z"
plane_wave_gauss | "k3x" | "k3y" | "k3z" | "E3x" | "E3y" | "E3z" | "width" | "shift"
plane_wave_mx_function | "E4x" | "E4y" | "E4z" | mx_envelope_name
%
Description about MaxwellIncidentWaves follows
Options:
- plane_wave_parser:
Parser input modus
- plane_wave_mx_function:
The incident wave envelope is defined by an mx_function
Name PropagateSpatialMaxwellField
Section MaxwellStates
Type logical
Default yes
Allow for numerical propagation of Maxwells equations of spatially constant field.
If set to no, do only analytic evaluation of the field inside the box.
Name UserDefinedConstantSpatialMaxwellField
Section MaxwellStates
Type block
Define parameters of spatially constant field.
Example:
%UserDefinedConstantSpatialMaxwellFields
plane_wave_parser | E_x | E_y | E_z | B_x | B_y | B_z | "tdf_function"
%
This block defines three components of E field, three components of B field, and reference to the TD function.
Name UserDefinedInitialMaxwellStates
Section MaxwellStates
Type block
The initial electromagnetic fields can be set by the user
with the UserDefinedMaxwellStates block variable.
The electromagnetic fields have to fulfill the
Maxwells equations in vacuum.
Example:
%UserDefinedMaxwellStates
formula | 2 | "magnetic_field" | "-1/P_c * sin(x)"
formula | 3 | "electric_field" | " sin(x) "
%
The second column specifies the component of the dimension of the electric field and magnetic field. The first column indicates that column four should be interpreted as a formula for the corresponding state. P_c is the speed of light constant.
Alternatively, if column one states file the electric field and magnetic field will be read from the files given in column four.
%UserDefinedMaxwellStates
file | 3 | electric_field | "/path/to/file_electric_field_of_dimension_3"
file | 2 | magnetic_field | "/path/to/file_magnetic_field_of_dimension_2"
%
The third option to define the initial state inside the box is to extend the plane waves used as incident waves in the MaxwellIncidentWaves block, as follows:
%UserDefinedMaxwellStates
use_incident_waves
%
Options:
- file:
Read initial orbital from file.
Accepted file formats: obf, ncdf and csv.
- formula:
Calculate initial orbital by given analytic expression.
- use_incident_waves:
Extend the plane waves given in the MaxwellIncidentWaves block inside the box.
- electric_field:
This row defines the electric field component of the corresponding dimension
- magnetic_field:
This row defines the magnetic field component of the corresponding dimension
Name UserDefinedMaxwellExternalCurrent
Section MaxwellStates
Type block
Example:
%UserDefinedMaxwellExternalCurrent
current_parser | "expression_x_dir1" | "expression_y_dir1" | "expression_z_dir1"
current_parser | "expression_x_dir2" | "expression_y_dir2" | "expression_z_dir2"
current_td_function | "amplitude_j0_x" | "amplitude_j0_y" | "amplitude_j0_z" | omega | envelope_td_function_name | phase
%
Description about UserDefinedMaxwellExternalCurrent follows
Options:
- current_parser:
description follows
- current_td_function:
description follows