IMPACT T
Data Types | Functions/Subroutines | Variables
scclass Module Reference

This class defines the linear transfer map and RF field for the SC beam line elment. More...

Data Types

interface  getparam_sc
 
type  sc
 
interface  setparam_sc
 

Functions/Subroutines

subroutine construct_sc (this, numseg, nmpstp, type, blength)
 
subroutine setparam1_sc (this, i, value)
 
subroutine setparam2_sc (this, values)
 
subroutine setparam3_sc (this, numseg, nmpstp, type, blength)
 
subroutine getparam1_sc (this, i, blparam)
 
subroutine getparam2_sc (this, blparams)
 
subroutine getparam3_sc (this, blength, bnseg, bmapstp, btype)
 
subroutine getaxflde_sc (z, this, ez1, ezp1, ezpp1)
 interpolate the field from the SC rf cavity onto bunch location. More...
 
subroutine getflderr_sc (pos, extfld, this, dx, dy, anglex, angley, anglez)
 get external field with displacement and rotation errors. More...
 
subroutine getfld_sc (pos, extfld, this)
 get external field without displacement and rotation errors More...
 
subroutine getfldt_sc (pos, extfld, this, fldata)
 get external field without displacement and rotation errors More...
 

Variables

integer, parameter, private nparam = 11
 

Detailed Description

This class defines the linear transfer map and RF field for the SC beam line elment.

Author
Ji Qiang

Data Type Documentation

◆ scclass::sc

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

Function/Subroutine Documentation

◆ construct_sc()

subroutine scclass::construct_sc ( type (sc), intent(out)  this,
integer, intent(in)  numseg,
integer, intent(in)  nmpstp,
integer, intent(in)  type,
double precision, intent(in)  blength 
)

◆ getaxflde_sc()

subroutine scclass::getaxflde_sc ( double precision, intent(in)  z,
type (sc), intent(in)  this,
double precision, intent(out)  ez1,
double precision, intent(out)  ezp1,
double precision, intent(out)  ezpp1 
)

interpolate the field from the SC rf cavity onto bunch location.

Here is the caller graph for this function:

◆ getfld_sc()

subroutine scclass::getfld_sc ( double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (sc), intent(in)  this 
)

get external field without displacement and rotation errors

Here is the caller graph for this function:

◆ getflderr_sc()

subroutine scclass::getflderr_sc ( double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (sc), intent(in)  this,
double precision, intent(in)  dx,
double precision, intent(in)  dy,
double precision, intent(in)  anglex,
double precision, intent(in)  angley,
double precision, intent(in)  anglez 
)

get external field with displacement and rotation errors.

Here is the caller graph for this function:

◆ getfldt_sc()

subroutine scclass::getfldt_sc ( double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (sc), intent(in)  this,
type (fielddata), intent(in)  fldata 
)

get external field without displacement and rotation errors

Here is the caller graph for this function:

◆ getparam1_sc()

subroutine scclass::getparam1_sc ( type (sc), intent(in)  this,
integer, intent(in)  i,
double precision, intent(out)  blparam 
)

◆ getparam2_sc()

subroutine scclass::getparam2_sc ( type (sc), intent(in)  this,
double precision, dimension(:), intent(out)  blparams 
)

◆ getparam3_sc()

subroutine scclass::getparam3_sc ( type (sc), intent(in)  this,
double precision, intent(out)  blength,
integer, intent(out)  bnseg,
integer, intent(out)  bmapstp,
integer, intent(out)  btype 
)

◆ setparam1_sc()

subroutine scclass::setparam1_sc ( type (sc), intent(inout)  this,
integer, intent(in)  i,
double precision, intent(in)  value 
)

◆ setparam2_sc()

subroutine scclass::setparam2_sc ( type (sc), intent(inout)  this,
double precision, dimension(:), intent(in)  values 
)

◆ setparam3_sc()

subroutine scclass::setparam3_sc ( type (sc), intent(inout)  this,
integer, intent(in)  numseg,
integer, intent(in)  nmpstp,
integer, intent(in)  type,
double precision, intent(in)  blength 
)

Variable Documentation

◆ nparam

integer, parameter, private scclass::nparam = 11
private