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

Data Types

type  emfldcartclass::emfldcart
 
interface  emfldcartclass::getparam_emfldcart
 
interface  emfldcartclass::setparam_emfldcart
 

Modules

module  emfldcartclass
 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 emfldcartclass::construct_emfldcart (this, numseg, nmpstp, type, blength)
 
subroutine emfldcartclass::setparam1_emfldcart (this, i, value)
 
subroutine emfldcartclass::setparam2_emfldcart (this, values)
 
subroutine emfldcartclass::setparam3_emfldcart (this, numseg, nmpstp, type, blength)
 
subroutine emfldcartclass::getparam1_emfldcart (this, i, blparam)
 
subroutine emfldcartclass::getparam2_emfldcart (this, blparams)
 
subroutine emfldcartclass::getparam3_emfldcart (this, blength, bnseg, bmapstp, btype)
 
subroutine emfldcartclass::maplinear_emfldcart (t, tau, xm, this, refpt, Bchg, Bmass)
 
subroutine emfldcartclass::rk6i_emfldcart (h, ns, t, y, nvar, this, Bchg, Bmass)
 
subroutine emfldcartclass::intfunc1_emfldcart (t, y, f, this, Bchg, Bmass)
 
subroutine emfldcartclass::getaxflde_emfldcart (z, this, ez1, ezp1, ezpp1)
 interpolate the field from the EMfldCart rf cavity onto bunch location. More...
 
subroutine emfldcartclass::getaxfldefc_emfldcart (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 emfldcartclass::getfld_emfldcart (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 emfldcartclass::getflderrold_emfldcart (pos, extfld, this)
 get external field with displacement and rotation errors. More...
 
subroutine emfldcartclass::getflderr_emfldcart (pos, extfld, this, dx, dy, anglex, ang
 get external field with displacement and rotation errors. More...
 
subroutine emfldcartclass::getfld6_emfldcart (this, z, extfld6)
 get the discrete Er,Etheta,Ez, Br, Btheta, Bz as a function or "r" at given "z". More...
 
subroutine emfldcartclass::getfld6err_emfldcart (this, pos, extfld, dx, dy, anglex, ang
 
subroutine emfldcartclass::getfld6xyz_emfldcart (this, z, extfld6xyz)
 get the discrete Ex,Ey,Ez, Bx, By, Bz as a function of x and y at given "z". More...
 
subroutine emfldcartclass::getfld6xyzerr_emfldcart (this, pos, extfld, dx, dy, anglex,
 
subroutine emfldcartclass::getfldt_emfldcart (pos, extfld, this, fldata)
 get the discrete Ex,Ey,Ez, Bx, By, Bz at given x, y, z, t. More...
 

Variables

integer, parameter, private emfldcartclass::nparam = 11
 

Data Type Documentation

◆ emfldcartclass::emfldcart

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