IMPACT T
Data Types | Modules | Functions/Subroutines | Variables
EMfld.f90 File Reference

Data Types

type  emfldclass::emfld
 
interface  emfldclass::getparam_emfld
 
interface  emfldclass::setparam_emfld
 

Modules

module  emfldclass
 This class contains discrete EM field data (as a function of x,y,z) or (r,z) and analytical representation of EM field data (user can supply the function form). The linear transfer map is also computed base on the field on the axis.
 

Functions/Subroutines

subroutine emfldclass::construct_emfld (this, numseg, nmpstp, type, blength)
 
subroutine emfldclass::setparam1_emfld (this, i, value)
 
subroutine emfldclass::setparam2_emfld (this, values)
 
subroutine emfldclass::setparam3_emfld (this, numseg, nmpstp, type, blength)
 
subroutine emfldclass::getparam1_emfld (this, i, blparam)
 
subroutine emfldclass::getparam2_emfld (this, blparams)
 
subroutine emfldclass::getparam3_emfld (this, blength, bnseg, bmapstp, btype)
 
subroutine emfldclass::maplinear_emfld (t, tau, xm, this, refpt, Bchg, Bmass)
 
subroutine emfldclass::rk6i_emfld (h, ns, t, y, nvar, this, Bchg, Bmass)
 
subroutine emfldclass::intfunc1_emfld (t, y, f, this, Bchg, Bmass)
 
subroutine emfldclass::getaxflde_emfld (z, this, ez1, ezp1, ezpp1)
 interpolate the field from the EMfld rf cavity onto bunch location. More...
 
subroutine emfldclass::getaxfldefc_emfld (z, this, ez1, ezp1, ezpp1)
 get external RF field on axis from analytical function Here, we have used a Fouier expansion representation of external field. Users should supply the field function as they want. More...
 
subroutine emfldclass::getfld_emfld (pos, extfld, this)
 get external field Ex, Ey, Ez, Bx, Bx, Bz at given position x, y, z, t from analytical function. Here we have used Fourier expansion of function. The user should supply his own analytical function if needed. More...
 
subroutine emfldclass::getflderrold_emfld (pos, extfld, this)
 get external field with displacement and rotation errors. More...
 
subroutine emfldclass::getflderr_emfld (pos, extfld, this, dx, dy, anglex, angley,
 get external field with displacement and rotation errors. More...
 
subroutine emfldclass::getfld6_emfld (this, z, extfld6)
 get the discrete Er,Etheta,Ez, Br, Btheta, Bz as a function or "r" at given "z". More...
 
subroutine emfldclass::getfld6err_emfld (this, pos, extfld, dx, dy, anglex, angley,
 
subroutine emfldclass::getfld6xyz_emfld (this, z, extfld6xyz)
 get the discrete Ex,Ey,Ez, Bx, By, Bz as a function of x and y at given "z". More...
 
subroutine emfldclass::getfld6xyzerr_emfld (this, pos, extfld, dx, dy, anglex, angl
 

Variables

integer, parameter, private emfldclass::nparam = 13
 

Data Type Documentation

◆ emfldclass::emfld

type emfldclass::emfld
Data Fields
integer itype
double precision length
integer mapstp
integer nseg
double precision, dimension(nparam) param