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

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

Data Types

type  ccdtl
 
interface  getparam_ccdtl
 
interface  setparam_ccdtl
 

Functions/Subroutines

subroutine construct_ccdtl (this, numseg, nmpstp, type, blength)
 
subroutine setparam1_ccdtl (this, i, value)
 
subroutine setparam2_ccdtl (this, values)
 
subroutine setparam3_ccdtl (this, numseg, nmpstp, type, blength)
 
subroutine getparam1_ccdtl (this, i, blparam)
 
subroutine getparam2_ccdtl (this, blparams)
 
subroutine getparam3_ccdtl (this, blength, bnseg, bmapstp, btype)
 
subroutine getaxflde_ccdtl (z, this, ez1, ezp1, ezpp1)
 interpolate the field from the CCDTL rf cavity onto bunch location. More...
 
subroutine getflderr_ccdtl (pos, extfld, this, dx, dy, anglex, angley,
 get the external field with misalignment and rotation errors. More...
 
subroutine getfld_ccdtl (pos, extfld, this)
 get the external field without misalignment and rotation errors. More...
 
subroutine getfldt_ccdtl (pos, extfld, this, fldata)
 get the external field without misalignment and rotation errors. More...
 

Variables

integer, parameter, private nparam = 11
 

Detailed Description

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

Author
Ji Qiang

Data Type Documentation

◆ ccdtlclass::ccdtl

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

Function/Subroutine Documentation

◆ construct_ccdtl()

subroutine ccdtlclass::construct_ccdtl ( type (ccdtl), intent(out)  this,
integer, intent(in)  numseg,
integer, intent(in)  nmpstp,
integer, intent(in)  type,
double precision, intent(in)  blength 
)

◆ getaxflde_ccdtl()

subroutine ccdtlclass::getaxflde_ccdtl ( double precision, intent(in)  z,
type (ccdtl), intent(in)  this,
double precision, intent(out)  ez1,
double precision, intent(out)  ezp1,
double precision, intent(out)  ezpp1 
)

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

Here is the caller graph for this function:

◆ getfld_ccdtl()

subroutine ccdtlclass::getfld_ccdtl ( double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (ccdtl), intent(in)  this 
)

get the external field without misalignment and rotation errors.

Here is the caller graph for this function:

◆ getflderr_ccdtl()

subroutine ccdtlclass::getflderr_ccdtl ( double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (ccdtl), intent(in)  this,
double precision, intent(in)  dx,
double precision, intent(in)  dy,
double precision, intent(in)  anglex,
double precision, intent(in)  angley 
)

get the external field with misalignment and rotation errors.

Here is the caller graph for this function:

◆ getfldt_ccdtl()

subroutine ccdtlclass::getfldt_ccdtl ( double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (ccdtl), intent(in)  this,
type (fielddata), intent(in)  fldata 
)

get the external field without misalignment and rotation errors.

Here is the caller graph for this function:

◆ getparam1_ccdtl()

subroutine ccdtlclass::getparam1_ccdtl ( type (ccdtl), intent(in)  this,
integer, intent(in)  i,
double precision, intent(out)  blparam 
)

◆ getparam2_ccdtl()

subroutine ccdtlclass::getparam2_ccdtl ( type (ccdtl), intent(in)  this,
double precision, dimension(:), intent(out)  blparams 
)

◆ getparam3_ccdtl()

subroutine ccdtlclass::getparam3_ccdtl ( type (ccdtl), intent(in)  this,
double precision, intent(out)  blength,
integer, intent(out)  bnseg,
integer, intent(out)  bmapstp,
integer, intent(out)  btype 
)

◆ setparam1_ccdtl()

subroutine ccdtlclass::setparam1_ccdtl ( type (ccdtl), intent(inout)  this,
integer, intent(in)  i,
double precision, intent(in)  value 
)

◆ setparam2_ccdtl()

subroutine ccdtlclass::setparam2_ccdtl ( type (ccdtl), intent(inout)  this,
double precision, dimension(:), intent(in)  values 
)

◆ setparam3_ccdtl()

subroutine ccdtlclass::setparam3_ccdtl ( type (ccdtl), 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 ccdtlclass::nparam = 11
private