Construction of the time-dependent external field $a(t)$.
The vector potential $\mathbf{A}(t)$ is defined in atomic units as:
where $E_0$ is the field strength, related to the intensity $I$ by:
with $c$ being the SPEED_OF_LIGHT.
Various shapes for $a(t)$ are implemented:
- SIN: $a(t) = \sin(\omega t)$
- GAUSS: $a(t) = \exp(-(t-t_0)^2/(2\sigma^2))$
- QSSIN: $a(t) = \exp(-(t-t_0)^2/(2\sigma^2)) \sin(\omega t)$
- PHHG: $\sin^2(\pi(t-t_0)/\sigma)\cos(\omega t)$
- DELTA: $E(t) = E_0 \delta(t-t_0)$, results in $a(t)=1$ for order=0.
The routine returns different orders:
- order=0: Vector potential $a(t)$
- order=1: Electric field $e(t) = \frac{1}{c} \frac{dA}{dt}$
- order=2: Time derivative of the electric field
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=SP), | intent(in) | :: | T | |||
| real(kind=SP), | intent(in) | :: | dt | |||
| type(ext_field), | intent(inout) | :: | E_field | |||
| integer, | intent(in) | :: | order | |||
| logical, | intent(in), | optional | :: | envelop_only |