IMPACT T
Data Types | Functions/Subroutines
beamlineelemclass Module Reference

This class defines the base beam line element class for different lattice element class. More...

Data Types

interface  assign_beamlineelem
 
type  beamlineelem
 
interface  getparam_beamlineelem
 
interface  setparam_beamlineelem
 

Functions/Subroutines

type(beamlineelem) function assign_quad (tquad)
 
type(beamlineelem) function assign_drift (tdrift)
 
type(beamlineelem) function assign_ccl (tccl)
 
type(beamlineelem) function assign_ccdtl (tccdtl)
 
type(beamlineelem) function assign_dtl (tdtl)
 
type(beamlineelem) function assign_sc (tsc)
 
type(beamlineelem) function assign_bpm (tbpm)
 
type(beamlineelem) function assign_cf (tcf)
 
type(beamlineelem) function assign_slrf (tslrf)
 
type(beamlineelem) function assign_sl (tsl)
 
type(beamlineelem) function assign_dipole (tdipole)
 
type(beamlineelem) function assign_emfld (temfld)
 
type(beamlineelem) function assign_emfldana (temfldana)
 
type(beamlineelem) function assign_emfldcart (temfldcart)
 
type(beamlineelem) function assign_emfldcyl (temfldcyl)
 
type(beamlineelem) function assign_mult (tmult)
 
subroutine getparam1_beamlineelem (this, i, blparam)
 
subroutine getparam2_beamlineelem (this, blparams)
 
subroutine getparam3_beamlineelem (this, blength, bnseg, bmapstp, btype)
 
subroutine getradius_beamlineelem (this, piperadius)
 
subroutine geterr_beamlineelem (this, xerr, yerr, anglerrx, anglerry,
 
subroutine setparam1_beamlineelem (this, i, blparam)
 
subroutine setparam2_beamlineelem (this, blparams)
 
subroutine setparam3_beamlineelem (this, blength, bnseg, bmapstp, btype)
 
subroutine getfld_beamlineelem (this, pos, extfld)
 
subroutine getflderr_beamlineelem (this, pos, extfld, dx, dy, anglex, angley, anglez)
 get external field with displacement and rotation errors. More...
 
subroutine getaxflde_beamlineelem (this, z, ez1, ezp1, ezpp1)
 
subroutine getfldt_beamlineelem (this, pos, extfld, fldata)
 
subroutine getflderrt_beamlineelem (this, pos, extfld, fldata)
 

Detailed Description

This class defines the base beam line element class for different lattice element class.

Author
Ji Qiang

Data Type Documentation

◆ beamlineelemclass::beamlineelem

type beamlineelemclass::beamlineelem
Data Fields
type(bpm), pointer pbpm
type(ccdtl), pointer pccdtl
type(ccl), pointer pccl
type(constfoc), pointer pcf
type(dipole), pointer pdipole
type(drifttube), pointer pdrift
type(dtl), pointer pdtl
type(emfld), pointer pemfld
type(emfldana), pointer pemfldana
type(emfldcart), pointer pemfldcart
type(emfldcyl), pointer pemfldcyl
type(multipole), pointer pmult
type(quadrupole), pointer pquad
type(sc), pointer psc
type(sol), pointer psl
type(solrf), pointer pslrf

Function/Subroutine Documentation

◆ assign_bpm()

type (beamlineelem) function beamlineelemclass::assign_bpm ( type (bpm), intent(in), target  tbpm)

◆ assign_ccdtl()

type (beamlineelem) function beamlineelemclass::assign_ccdtl ( type (ccdtl), intent(in), target  tccdtl)

◆ assign_ccl()

type (beamlineelem) function beamlineelemclass::assign_ccl ( type (ccl), intent(in), target  tccl)

◆ assign_cf()

type (beamlineelem) function beamlineelemclass::assign_cf ( type (constfoc), intent(in), target  tcf)

◆ assign_dipole()

type (beamlineelem) function beamlineelemclass::assign_dipole ( type (dipole), intent(in), target  tdipole)

◆ assign_drift()

type (beamlineelem) function beamlineelemclass::assign_drift ( type (drifttube), intent(in), target  tdrift)

◆ assign_dtl()

type (beamlineelem) function beamlineelemclass::assign_dtl ( type (dtl), intent(in), target  tdtl)

◆ assign_emfld()

type (beamlineelem) function beamlineelemclass::assign_emfld ( type (emfld), intent(in), target  temfld)

◆ assign_emfldana()

type (beamlineelem) function beamlineelemclass::assign_emfldana ( type (emfldana), intent(in), target  temfldana)

◆ assign_emfldcart()

type (beamlineelem) function beamlineelemclass::assign_emfldcart ( type (emfldcart), intent(in), target  temfldcart)

◆ assign_emfldcyl()

type (beamlineelem) function beamlineelemclass::assign_emfldcyl ( type (emfldcyl), intent(in), target  temfldcyl)

◆ assign_mult()

type (beamlineelem) function beamlineelemclass::assign_mult ( type (multipole), intent(in), target  tmult)

◆ assign_quad()

type (beamlineelem) function beamlineelemclass::assign_quad ( type (quadrupole), intent(in), target  tquad)

◆ assign_sc()

type (beamlineelem) function beamlineelemclass::assign_sc ( type (sc), intent(in), target  tsc)

◆ assign_sl()

type (beamlineelem) function beamlineelemclass::assign_sl ( type (sol), intent(in), target  tsl)

◆ assign_slrf()

type (beamlineelem) function beamlineelemclass::assign_slrf ( type (solrf), intent(in), target  tslrf)

◆ getaxflde_beamlineelem()

subroutine beamlineelemclass::getaxflde_beamlineelem ( type (beamlineelem), intent(in)  this,
double precision, intent(in)  z,
double precision, intent(out)  ez1,
double precision, intent(out)  ezp1,
double precision, intent(out)  ezpp1 
)
Here is the call graph for this function:

◆ geterr_beamlineelem()

subroutine beamlineelemclass::geterr_beamlineelem ( type (beamlineelem), intent(in)  this,
double precision, intent(out)  xerr,
double precision, intent(out)  yerr,
double precision, intent(out)  anglerrx,
double precision, intent(out)  anglerry 
)

◆ getfld_beamlineelem()

subroutine beamlineelemclass::getfld_beamlineelem ( type (beamlineelem), intent(in)  this,
double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld 
)
Here is the call graph for this function:

◆ getflderr_beamlineelem()

subroutine beamlineelemclass::getflderr_beamlineelem ( type (beamlineelem), intent(in)  this,
double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
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 call graph for this function:

◆ getflderrt_beamlineelem()

subroutine beamlineelemclass::getflderrt_beamlineelem ( type (beamlineelem), intent(in)  this,
double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (fielddata), intent(in)  fldata 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getfldt_beamlineelem()

subroutine beamlineelemclass::getfldt_beamlineelem ( type (beamlineelem), intent(in)  this,
double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (fielddata), intent(in)  fldata 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getparam1_beamlineelem()

subroutine beamlineelemclass::getparam1_beamlineelem ( type (beamlineelem), intent(in)  this,
integer, intent(in)  i,
double precision, intent(out)  blparam 
)

◆ getparam2_beamlineelem()

subroutine beamlineelemclass::getparam2_beamlineelem ( type (beamlineelem), intent(in)  this,
double precision, dimension(:), intent(out)  blparams 
)

◆ getparam3_beamlineelem()

subroutine beamlineelemclass::getparam3_beamlineelem ( type (beamlineelem), intent(in)  this,
double precision, intent(out)  blength,
integer, intent(out)  bnseg,
integer, intent(out)  bmapstp,
integer, intent(out)  btype 
)

◆ getradius_beamlineelem()

subroutine beamlineelemclass::getradius_beamlineelem ( type (beamlineelem), intent(in)  this,
double precision, intent(out)  piperadius 
)

◆ setparam1_beamlineelem()

subroutine beamlineelemclass::setparam1_beamlineelem ( type (beamlineelem), intent(inout)  this,
integer, intent(in)  i,
double precision, intent(in)  blparam 
)

◆ setparam2_beamlineelem()

subroutine beamlineelemclass::setparam2_beamlineelem ( type (beamlineelem), intent(inout)  this,
double precision, dimension(:), intent(in)  blparams 
)

◆ setparam3_beamlineelem()

subroutine beamlineelemclass::setparam3_beamlineelem ( type (beamlineelem), intent(inout)  this,
double precision, intent(in)  blength,
integer, intent(in)  bnseg,
integer, intent(in)  bmapstp,
integer, intent(in)  btype 
)