Laser information
Description
This blocks is used to introduce a laser into the simulation domain from boundary.
Options
Parameter | Description |
---|---|
useLaser | A boolean value that determines whether or not to use a laser for the simulation. |
boundary | A string value that specifies the boundary position for the laser. |
ex | A string value that represents the x-component of the electric field. |
bx | A string value that represents the y-component of the electric field. |
ez | A string value that represents the z-component of the electric field. |
by | A string value that represents the y-component of the magnetic field. |
ey | A string value that represents the x-component of the magnetic field. |
bz | A string value that represents the z-component of the magnetic field. |
template
[[laserInfo]]
useLaser = false
boundary = "XMin"
ex = "0"
bx = "0"
#ey = "0.0"
#bz = "0.0"
ez = "5.0 * sin(2.0 * (t - 0 * 0.024 * t^2) - 20.0) * exp(-((t - 23.0) / 10.0)^4 - ((y - 0.0) / 5.0)^2)"
by = "-5.0 * sin(2.0 * (t - 0 * 0.024 * t^2) - 20.0) * exp(-((t - 23.0) / 10.0)^4 - ((y - 0.0) / 5.0)^2)"
ey = "5.0 * cos(2.0 * (t - 0 * 0.024 * t^2) - 20.0) * exp(-((t - 23.0) / 10.0)^4 - ((y - 0.0) / 5.0)^2)"
bz = "5.0 * cos(2.0 * (t - 0 * 0.024 * t^2) - 20.0) * exp(-((t - 23.0) / 10.0)^4 - ((y - 0.0) / 5.0)^2)"