ORB5  4.00
Loading...
Searching...
No Matches
antenna_mod Module Reference

Module for applying external charge and current density perturbations, or electrostatic and magnetic potentials. More...

Functions/Subroutines

subroutine, public init_module
 Initialize module.
subroutine, public init_field
 Initialize antenna's potential.
subroutine, public update_field (t)
 Update antenna's potential to a given time.

Variables

type(field_type), public phi
 Antenna's electrostatic potential.
real(kind=r8), dimension(:,:,:), allocatable field_t0_bspl
 Antenna's field at \(t=0\).
real(kind=r8), dimension(:,:,:), allocatable field_tquarter_bspl
 Antenna's field at \(t=\pi/(2\omega_\mathrm{ant})\).

Detailed Description

Module for applying external charge and current density perturbations, or electrostatic and magnetic potentials.

Author
N. Ohana
Date
07.2018

Function/Subroutine Documentation

◆ init_field()

subroutine, public antenna_mod::init_field

Initialize antenna's potential.

  1. Allocate temporary field
  1. Select solver matrix
  1. Read profile if necessary
  1. Prepare diagnostics
  1. Loop over times when field must be built
  1. Build right-hand-side in Fourier space
  1. Change basis and impose boundary conditions
  1. Backsolve
  1. Go back to original basis
  1. Diagnose
  1. Broadcast to clones
  1. Fourier transform solution to real space
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_module()

subroutine, public antenna_mod::init_module

Initialize module.

  1. Initialize data structure
  1. Set which field should be evaluated at marker positions
  1. Set number of modes
  1. Allocate fields
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_field()

subroutine, public antenna_mod::update_field ( real(kind=r8), intent(in) t)

Update antenna's potential to a given time.

See also
Time separation
Parameters
[in]tCurrent time

Variable Documentation

◆ field_t0_bspl

real(kind=r8), dimension(:,:,:), allocatable antenna_mod::field_t0_bspl
private

Antenna's field at \(t=0\).

◆ field_tquarter_bspl

real(kind=r8), dimension(:,:,:), allocatable antenna_mod::field_tquarter_bspl
private

Antenna's field at \(t=\pi/(2\omega_\mathrm{ant})\).

◆ phi

type(field_type), public antenna_mod::phi

Antenna's electrostatic potential.