fields Module


Uses


Variables

Type Visibility Attributes Name Initial
integer, public :: n_ext_fields = 0
type(ext_field), public, save :: Efield(n_ext_fields_max)
real(kind=SP), public, allocatable :: field_from_file(:,:,:)
character(len=schlen), public :: field_from_file_fname(n_ext_fields_max)
real(kind=SP), public :: field_from_file_dt
integer, public :: field_from_file_steps
type(gauge_field), public :: A_tot
type(gauge_field), public :: A_ext
type(gauge_field), public :: A_ind

Derived Types

type, public ::  ext_field

Components

Type Visibility Attributes Name Initial
character(len=schlen), public :: ef_name
character(len=schlen), public :: ef_pol
real(kind=SP), public :: To = 0._SP
real(kind=SP), public :: t_initial
integer, public :: t_initial_indx
real(kind=SP), public :: t_final
integer, public :: t_final_indx
real(kind=SP), public :: frequency
real(kind=SP), public :: width
real(kind=SP), public :: chirp
real(kind=SP), public :: FWHM
real(kind=SP), public :: fluence
real(kind=SP), public :: pi_kind
real(kind=SP), public :: intensity
real(kind=SP), public :: amplitude
real(kind=SP), public :: versor(3)
real(kind=SP), public :: versor_circ(3)

type, public ::  gauge_field

Components

Type Visibility Attributes Name Initial
complex(kind=SP), public :: vecpot(3)
complex(kind=SP), public :: vecpot_vel(3)
complex(kind=SP), public :: vecpot_acc(3)
real(kind=SP), public :: envelop
real(kind=SP), public :: intensity
real(kind=SP), public :: fluence

Functions

public function field_is_ok(E_field)

Arguments

Type IntentOptional Attributes Name
type(ext_field), intent(in) :: E_field

Return Value logical

public function EtoT(E, T)

Arguments

Type IntentOptional Attributes Name
real(kind=SP), optional :: E
real(kind=SP), optional :: T

Return Value real(kind=sp)

public function get_field_file_index(filename)

Arguments

Type IntentOptional Attributes Name
character(len=*) :: filename

Return Value integer

public function Divide_by_Field(Field, order)

Arguments

Type IntentOptional Attributes Name
type(ext_field) :: Field
integer :: order

Return Value complex(kind=sp)

public function Efield_strength(Intensity, unit_system)

Extraction of the Electric Field strength $E_0$ from the intensity $I$.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=SP) :: Intensity
character(len=*) :: unit_system

Return Value real(kind=sp)


Subroutines

public subroutine Efield_duplicate(E1, E2)

Arguments

Type IntentOptional Attributes Name
type(ext_field) :: E1
type(ext_field) :: E2

public subroutine Efield_reset(E)

Arguments

Type IntentOptional Attributes Name
type(ext_field) :: E

public subroutine A_vecpot_reset(A)

Arguments

Type IntentOptional Attributes Name
type(gauge_field) :: A

public subroutine compute_intensity(A)

Arguments

Type IntentOptional Attributes Name
type(gauge_field) :: A

public subroutine compute_envelop(A)

Arguments

Type IntentOptional Attributes Name
type(gauge_field) :: A


📚 Documentation Pages
⏱️ Real-Time
🔗 Code API