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

This class defines the linear transfer map and field for the drift space beam line elment. More...

Data Types

type  drifttube
 
interface  getparam_drifttube
 
interface  setparam_drifttube
 

Functions/Subroutines

subroutine construct_drifttube (this, numseg, nmpstp, type, blength)
 
subroutine setparam1_drifttube (this, i, value)
 
subroutine setparam2_drifttube (this, values)
 
subroutine setparam3_drifttube (this, numseg, nmpstp, type, blength)
 
subroutine getparam1_drifttube (this, i, blparam)
 
subroutine getparam2_drifttube (this, blparams)
 
subroutine getparam3_drifttube (this, blength, bnseg, bmapstp, btype)
 
subroutine getfld_drifttube (pos, extfld, this)
 

Variables

integer, parameter, private nparam = 2
 

Detailed Description

This class defines the linear transfer map and field for the drift space beam line elment.

Author
Ji Qiang

Data Type Documentation

◆ drifttubeclass::drifttube

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

Function/Subroutine Documentation

◆ construct_drifttube()

subroutine drifttubeclass::construct_drifttube ( type (drifttube), intent(out)  this,
integer, intent(in)  numseg,
integer, intent(in)  nmpstp,
integer, intent(in)  type,
double precision, intent(in)  blength 
)

◆ getfld_drifttube()

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

◆ getparam1_drifttube()

subroutine drifttubeclass::getparam1_drifttube ( type (drifttube), intent(in)  this,
integer, intent(in)  i,
double precision, intent(out)  blparam 
)

◆ getparam2_drifttube()

subroutine drifttubeclass::getparam2_drifttube ( type (drifttube), intent(in)  this,
double precision, dimension(:), intent(out)  blparams 
)

◆ getparam3_drifttube()

subroutine drifttubeclass::getparam3_drifttube ( type (drifttube), intent(in)  this,
double precision, intent(out)  blength,
integer, intent(out)  bnseg,
integer, intent(out)  bmapstp,
integer, intent(out)  btype 
)

◆ setparam1_drifttube()

subroutine drifttubeclass::setparam1_drifttube ( type (drifttube), intent(inout)  this,
integer, intent(in)  i,
double precision, intent(in)  value 
)

◆ setparam2_drifttube()

subroutine drifttubeclass::setparam2_drifttube ( type (drifttube), intent(inout)  this,
double precision, dimension(:), intent(in)  values 
)

◆ setparam3_drifttube()

subroutine drifttubeclass::setparam3_drifttube ( type (drifttube), 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 drifttubeclass::nparam = 2
private