IMPACT T
Functions/Subroutines
outputclass Module Reference

This class defines functions to print out the charged particle beam information in the accelerator. More...

Functions/Subroutines

subroutine diagnostic1_output (z, this)
 calculate <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance. More...
 
subroutine diagnostic1avg_output (z, this, Nbunch)
 calculate averaged <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance from multiple bunch/bin. More...
 
subroutine diagnostic1avgb_output (z, this, Nbunch)
 calculate averaged <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance from multiple bunch/bin. More...
 
subroutine diagnostic1avgz_output (z, this, Nbunch)
 calculate averaged <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance from multiple bunch/bin at fixed z (i.e. bunch center). More...
 
subroutine phase_output (nfile, this, samplePeriod)
 the 6D phase space output has (x(m), px/mc, y(m), py/mc, z(m), pz/mc). More...
 
subroutine dens2d_output (nstep, nfile, this, totnptcls, xmnin, xmxin,
 output 2D particle number density. More...
 
subroutine end_output (time)
 
subroutine inpoint_output (nfile, this, z, inb, jstp, nprocrow, nprocco
 
subroutine outpoint_output (nfile, this, z, inb, jstp, nprocrow, nprocc
 
subroutine sliceprocdep_output (pts, innp, npt, nslice, qchg, pmass, nfil
 This program calculate the current profile, slice emittance and uncorrelated energy spread using linear deposition. More...
 
subroutine diagnostic1avgztest_output (z, this, Nbunch)
 for 2 bunch diagnostic, only work on 1 PE. calculate averaged <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance from multiple bunch/bin at fixed z (i.e. bunch center). More...
 

Detailed Description

This class defines functions to print out the charged particle beam information in the accelerator.

Author
Ji Qiang

Function/Subroutine Documentation

◆ dens2d_output()

subroutine outputclass::dens2d_output ( integer, intent(in)  nstep,
integer, intent(in)  nfile,
type (beambunch), intent(in)  this,
integer, intent(in)  totnptcls,
double precision, intent(in)  xmnin,
double precision, intent(in)  xmxin 
)

output 2D particle number density.

◆ diagnostic1_output()

subroutine outputclass::diagnostic1_output ( double precision, intent(in)  z,
type (beambunch), intent(inout)  this 
)

calculate <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance.

Here is the call graph for this function:

◆ diagnostic1avg_output()

subroutine outputclass::diagnostic1avg_output ( double precision, intent(in)  z,
type (beambunch), dimension(:), intent(inout)  this,
integer, intent(in)  Nbunch 
)

calculate averaged <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance from multiple bunch/bin.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ diagnostic1avgb_output()

subroutine outputclass::diagnostic1avgb_output ( double precision, intent(in)  z,
type (beambunch), dimension(:), intent(inout)  this,
integer, intent(in)  Nbunch 
)

calculate averaged <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance from multiple bunch/bin.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ diagnostic1avgz_output()

subroutine outputclass::diagnostic1avgz_output ( double precision, intent(in)  z,
type (beambunch), dimension(:), intent(inout)  this,
integer, intent(in)  Nbunch 
)

calculate averaged <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance from multiple bunch/bin at fixed z (i.e. bunch center).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ diagnostic1avgztest_output()

subroutine outputclass::diagnostic1avgztest_output ( double precision, intent(in)  z,
type (beambunch), dimension(:), intent(inout)  this,
integer, intent(in)  Nbunch 
)

for 2 bunch diagnostic, only work on 1 PE. calculate averaged <x^2>,<xp>,<px^2>,x emittance, <y^2>,<ypy>, <py^2> and y emittance, <z^2>,<zp>,<pz^2>,z emittance from multiple bunch/bin at fixed z (i.e. bunch center).

Here is the caller graph for this function:

◆ end_output()

subroutine outputclass::end_output ( double precision, intent(inout)  time)
Here is the caller graph for this function:

◆ inpoint_output()

subroutine outputclass::inpoint_output ( integer, intent(in)  nfile,
type (beambunch), intent(inout)  this,
double precision, intent(inout)  z,
integer, intent(inout)  inb,
integer, intent(inout)  jstp,
integer, intent(in)  nprocrow,
  nprocco 
)
Here is the caller graph for this function:

◆ outpoint_output()

subroutine outputclass::outpoint_output ( integer, intent(in)  nfile,
type (beambunch), intent(in)  this,
double precision, intent(in)  z,
integer, intent(in)  inb,
integer, intent(in)  jstp,
integer, intent(in)  nprocrow,
  nprocc 
)
Here is the caller graph for this function:

◆ phase_output()

subroutine outputclass::phase_output ( integer, intent(in)  nfile,
type (beambunch), intent(in)  this,
integer  samplePeriod 
)

the 6D phase space output has (x(m), px/mc, y(m), py/mc, z(m), pz/mc).

Here is the caller graph for this function:

◆ sliceprocdep_output()

subroutine outputclass::sliceprocdep_output ( real*8, dimension(:,:), pointer  pts,
integer  innp,
integer  npt,
integer  nslice,
real*8  qchg,
real*8  pmass,
  nfil 
)

This program calculate the current profile, slice emittance and uncorrelated energy spread using linear deposition.

Author
Ji Qiang
Date
November 6, 2008
Here is the caller graph for this function: