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

This class defines the linear transfer map and field for the 3d constant focusing beam line elment. More...

Data Types

type  constfoc
 
interface  getparam_constfoc
 
interface  setparam_constfoc
 

Functions/Subroutines

subroutine construct_constfoc (this, numseg, nmpstp, type, blength)
 
subroutine setparam1_constfoc (this, i, value)
 
subroutine setparam2_constfoc (this, values)
 
subroutine setparam3_constfoc (this, numseg, nmpstp, type, blength)
 
subroutine getparam1_constfoc (this, i, blparam)
 
subroutine getparam2_constfoc (this, blparams)
 
subroutine getparam3_constfoc (this, blength, bnseg, bmapstp, btype)
 
subroutine getfldz_constfoc (pos, extfld, this)
 
subroutine getfld_constfoc (pos, extfld, this)
 

Variables

integer, parameter, private nparam = 5
 

Detailed Description

This class defines the linear transfer map and field for the 3d constant focusing beam line elment.

Author
Ji Qiang

Data Type Documentation

◆ constfocclass::constfoc

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

Function/Subroutine Documentation

◆ construct_constfoc()

subroutine constfocclass::construct_constfoc ( type (constfoc), intent(out)  this,
integer, intent(in)  numseg,
integer, intent(in)  nmpstp,
integer, intent(in)  type,
double precision, intent(in)  blength 
)

◆ getfld_constfoc()

subroutine constfocclass::getfld_constfoc ( double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (constfoc), intent(in)  this 
)
Here is the caller graph for this function:

◆ getfldz_constfoc()

subroutine constfocclass::getfldz_constfoc ( double precision, dimension(4), intent(in)  pos,
double precision, dimension(6), intent(out)  extfld,
type (constfoc), intent(in)  this 
)

◆ getparam1_constfoc()

subroutine constfocclass::getparam1_constfoc ( type (constfoc), intent(in)  this,
integer, intent(in)  i,
double precision, intent(out)  blparam 
)

◆ getparam2_constfoc()

subroutine constfocclass::getparam2_constfoc ( type (constfoc), intent(in)  this,
double precision, dimension(:), intent(out)  blparams 
)

◆ getparam3_constfoc()

subroutine constfocclass::getparam3_constfoc ( type (constfoc), intent(in)  this,
double precision, intent(out)  blength,
integer, intent(out)  bnseg,
integer, intent(out)  bmapstp,
integer, intent(out)  btype 
)

◆ setparam1_constfoc()

subroutine constfocclass::setparam1_constfoc ( type (constfoc), intent(inout)  this,
integer, intent(in)  i,
double precision, intent(in)  value 
)

◆ setparam2_constfoc()

subroutine constfocclass::setparam2_constfoc ( type (constfoc), intent(inout)  this,
double precision, dimension(:), intent(in)  values 
)

◆ setparam3_constfoc()

subroutine constfocclass::setparam3_constfoc ( type (constfoc), 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 constfocclass::nparam = 5
private