|
IMPACT T
|
This class stores the rf cavity data Ez, Ez', Ez'' on the axis; Fourier coefficients of Ez on the axis; Ez(r,z), Er(r,z), Htheta(r,z) on the r-z grid plane; and Ex(x,y,z), Ey(x,y,z), Ez(x,y,z), Bx(x,y,z), By(x,y,z), Bz(x,y,z) on uniform x, y, z grid, and Br(r,z) and Bz(r,z) on the r-z grid. More...
Data Types | |
| type | fielddata |
Functions/Subroutines | |
| subroutine | init_data () |
| Initialize the data storage arrays. More... | |
| subroutine | destruct_data () |
| subroutine | read1_data (ifile) |
| read in the discrete field data Ez(0,z), Ez'(0,z), Ez''(0,z) distribution along axis zdat from files "rfdatax or rfdataxx
or rfdataxxx". More... | |
| subroutine | read2_data (ifile) |
| read in discrete Ez(r,z), Er(r,z) and Btheta(r,z) rf data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7. Here, the grid is uniform in r and z. More... | |
| subroutine | read3_data (ifile) |
| readin the Fourier coefficients of the RF field from files "rfdatax or rfdataxx or rfdataxxx". More... | |
| subroutine | read4_data (ifile) |
| read in discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z), Bx(x,y,z), By(x,y,z), Bz(x,y,z) rf data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7. Here, the grid is uniform in x, y and z. More... | |
| subroutine | initt_data (this) |
| subroutine | destructt_data (this) |
| subroutine | read1t_data (this, ifile) |
| readin the Fourier coefficients of the RF field from files "rfdatax or rfdataxx or rfdataxxx". More... | |
| subroutine | read1tdata_data (this, ifile) |
| readin the Fourier coefficients of the RF field from files "rfdatax or rfdataxx or rfdataxxx". More... | |
| subroutine | read2t_data (this, ifile) |
| read in discrete Ez(r,z), Er(r,z) and Btheta(r,z) rf data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7. Here, the grid is uniform in r and z. More... | |
| subroutine | read4t_data (this, ifile) |
| read in analytical function coefficients of Ex(x,y,z), Ey(x,y,z), Ez(x,y,z), Bx(x,y,z), By(x,y,z), Bz(x,y,z) rf data from "rfdatax or rfdataxx or rfdataxxx". More... | |
| subroutine | read2tsol_data (this, ifile) |
| read in discrete Bz(r,z), Br(r,z) data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7 for solenoid. Here, the grid is uniform in r and z. More... | |
| subroutine | read3t_data (this, ifile) |
| read in discrete complex Ex(x,y,z), Ey(x,y,z), Ez(x,y,z), Bx(x,y,z), By(x,y,z), Bz(x,y,z) rf data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7. Here, the grid is uniform in x, y and z. This field can be used to model the traveling wave structure More... | |
Variables | |
| integer | ndata |
| practical number of grid data on the axis or Fourier coefficients. More... | |
using the x-y-z field data (Ex,Ey,Ez,Bx,By,Bz) directly. | |
| integer | nxintvrfg = 1 |
| number of grid points along x, y, and z direction. More... | |
| integer | nyintvrfg = 1 |
| number of grid points along x, y, and z direction. More... | |
| integer | nzintvrfg = 1 |
| number of grid points along x, y, and z direction. More... | |
| double precision | xmaxrfg |
| range in x, y, and zdirections. More... | |
| double precision | xminrfg |
| range in x, y, and zdirections. More... | |
| double precision | ymaxrfg |
| range in x, y, and zdirections. More... | |
| double precision | yminrfg |
| range in x, y, and zdirections. More... | |
| double precision | zmaxrfg |
| range in x, y, and zdirections. More... | |
| double precision | zmin |
| range in x, y, and zdirections. More... | |
| double precision, dimension(:,:,:), allocatable | exgrid |
| discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z. More... | |
| double precision, dimension(:,:,:), allocatable | eygrid |
| discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z. More... | |
| double precision, dimension(:,:,:), allocatable | ezgrid |
| discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z. More... | |
| double precision, dimension(:,:,:), allocatable | bxgrid |
| discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z. More... | |
| double precision, dimension(:,:,:), allocatable | bygrid |
| discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z. More... | |
| double precision, dimension(:,:,:), allocatable | bzgrid |
| discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z. More... | |
using the r-z field data (Er,Ez,Htheta) directly. | |
| integer | nrintvrf = 1 |
| number of grid points along r direction. More... | |
| integer | nzintvrf = 1 |
| number of grid points along z direction. More... | |
| double precision | rmaxrf |
| range in r and z directions. More... | |
| double precision | rminrf |
| range in r and z directions. More... | |
| double precision | zmaxrf |
| range in r and z directions. More... | |
| double precision | zminrf |
| range in r and z directions. More... | |
| double precision, dimension(:,:), allocatable | ezdata |
| discrete Ez(r,z), Er(r,z) and Htheta(r,z) rf data. Here, the grid is uniform in r and z. More... | |
| double precision, dimension(:,:), allocatable | erdata |
| discrete Ez(r,z), Er(r,z) and Htheta(r,z) rf data. Here, the grid is uniform in r and z. More... | |
| double precision, dimension(:,:), allocatable | btdata |
| discrete Ez(r,z), Er(r,z) and Htheta(r,z) rf data. Here, the grid is uniform in r and z. More... | |
using only on-axis field data and its derivities. | |
| integer, parameter | ndataini = 5000 |
| initial number of grid points on the axis. More... | |
| double precision, dimension(ndataini) | zdat |
| discrete Ez(0,z), Ez'(0,z), Ez''(0,z) rf data. More... | |
| double precision, dimension(ndataini) | edat |
| discrete Ez(0,z), Ez'(0,z), Ez''(0,z) rf data. More... | |
| double precision, dimension(ndataini) | epdat |
| discrete Ez(0,z), Ez'(0,z), Ez''(0,z) rf data. More... | |
| double precision, dimension(ndataini) | eppdat |
| discrete Ez(0,z), Ez'(0,z), Ez''(0,z) rf data. More... | |
using the Fourier coefficients | |
| double precision, dimension(ncoeff) | fcoef |
| integer, parameter | ncoeff = 401 |
| number of Fourier expansion coefficients. More... | |
This class stores the rf cavity data Ez, Ez', Ez'' on the axis; Fourier coefficients of Ez on the axis; Ez(r,z), Er(r,z), Htheta(r,z) on the r-z grid plane; and Ex(x,y,z), Ey(x,y,z), Ez(x,y,z), Bx(x,y,z), By(x,y,z), Bz(x,y,z) on uniform x, y, z grid, and Br(r,z) and Bz(r,z) on the r-z grid.
| type dataclass::fielddata |
| subroutine dataclass::destruct_data | ( | ) |
| subroutine dataclass::destructt_data | ( | type (fielddata), intent(inout) | this | ) |
| subroutine dataclass::init_data | ( | ) |
Initialize the data storage arrays.
| subroutine dataclass::initt_data | ( | type (fielddata), intent(inout) | this | ) |

| subroutine dataclass::read1_data | ( | integer, intent(in) | ifile | ) |
read in the discrete field data Ez(0,z), Ez'(0,z), Ez''(0,z) distribution along axis zdat from files "rfdatax or rfdataxx or rfdataxxx".

| subroutine dataclass::read1t_data | ( | type (fielddata), intent(inout) | this, |
| integer, intent(in) | ifile | ||
| ) |
readin the Fourier coefficients of the RF field from files "rfdatax or rfdataxx or rfdataxxx".


| subroutine dataclass::read1tdata_data | ( | type (fielddata), intent(inout) | this, |
| integer, intent(in) | ifile | ||
| ) |
readin the Fourier coefficients of the RF field from files "rfdatax or rfdataxx or rfdataxxx".

| subroutine dataclass::read2_data | ( | integer, intent(in) | ifile | ) |
read in discrete Ez(r,z), Er(r,z) and Btheta(r,z) rf data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7. Here, the grid is uniform in r and z.

| subroutine dataclass::read2t_data | ( | type (fielddata), intent(inout) | this, |
| integer, intent(in) | ifile | ||
| ) |
read in discrete Ez(r,z), Er(r,z) and Btheta(r,z) rf data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7. Here, the grid is uniform in r and z.


| subroutine dataclass::read2tsol_data | ( | type (fielddata), intent(inout) | this, |
| integer, intent(in) | ifile | ||
| ) |
read in discrete Bz(r,z), Br(r,z) data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7 for solenoid. Here, the grid is uniform in r and z.


| subroutine dataclass::read3_data | ( | integer, intent(in) | ifile | ) |
readin the Fourier coefficients of the RF field from files "rfdatax or rfdataxx or rfdataxxx".

| subroutine dataclass::read3t_data | ( | type (fielddata), intent(inout) | this, |
| integer, intent(in) | ifile | ||
| ) |
read in discrete complex Ex(x,y,z), Ey(x,y,z), Ez(x,y,z), Bx(x,y,z), By(x,y,z), Bz(x,y,z) rf data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7. Here, the grid is uniform in x, y and z. This field can be used to model the traveling wave structure


| subroutine dataclass::read4_data | ( | integer, intent(in) | ifile | ) |
read in discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z), Bx(x,y,z), By(x,y,z), Bz(x,y,z) rf data from files "1Tx.T7 or 1Txx.T7 or 1Txxx.T7. Here, the grid is uniform in x, y and z.

| subroutine dataclass::read4t_data | ( | type (fielddata), intent(inout) | this, |
| integer, intent(in) | ifile | ||
| ) |
read in analytical function coefficients of Ex(x,y,z), Ey(x,y,z), Ez(x,y,z), Bx(x,y,z), By(x,y,z), Bz(x,y,z) rf data from "rfdatax or rfdataxx or rfdataxxx".


| double precision, dimension(:,:), allocatable dataclass::btdata |
discrete Ez(r,z), Er(r,z) and Htheta(r,z) rf data. Here, the grid is uniform in r and z.
| double precision, dimension(:,:,:), allocatable dataclass::bxgrid |
discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z.
| double precision, dimension(:,:,:), allocatable dataclass::bygrid |
discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z.
| double precision, dimension(:,:,:), allocatable dataclass::bzgrid |
discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z.
| double precision, dimension(ndataini) dataclass::edat |
discrete Ez(0,z), Ez'(0,z), Ez''(0,z) rf data.
| double precision, dimension(ndataini) dataclass::epdat |
discrete Ez(0,z), Ez'(0,z), Ez''(0,z) rf data.
| double precision, dimension(ndataini) dataclass::eppdat |
discrete Ez(0,z), Ez'(0,z), Ez''(0,z) rf data.
| double precision, dimension(:,:), allocatable dataclass::erdata |
discrete Ez(r,z), Er(r,z) and Htheta(r,z) rf data. Here, the grid is uniform in r and z.
| double precision, dimension(:,:,:), allocatable dataclass::exgrid |
discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z.
| double precision, dimension(:,:,:), allocatable dataclass::eygrid |
discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z.
| double precision, dimension(:,:), allocatable dataclass::ezdata |
discrete Ez(r,z), Er(r,z) and Htheta(r,z) rf data. Here, the grid is uniform in r and z.
| double precision, dimension(:,:,:), allocatable dataclass::ezgrid |
discrete Ex(x,y,z), Ey(x,y,z), Ez(x,y,z) and Bx(x,y,z), By(x,y,z), and Bz(x,y,z) rf data. Here, the grid is uniform in x, y and z.
| double precision, dimension(ncoeff) dataclass::fcoef |
| integer, parameter dataclass::ncoeff = 401 |
number of Fourier expansion coefficients.
| integer dataclass::ndata |
practical number of grid data on the axis or Fourier coefficients.
| integer, parameter dataclass::ndataini = 5000 |
initial number of grid points on the axis.
| integer dataclass::nrintvrf = 1 |
number of grid points along r direction.
| integer dataclass::nxintvrfg = 1 |
number of grid points along x, y, and z direction.
| integer dataclass::nyintvrfg = 1 |
number of grid points along x, y, and z direction.
| integer dataclass::nzintvrf = 1 |
number of grid points along z direction.
| integer dataclass::nzintvrfg = 1 |
number of grid points along x, y, and z direction.
| double precision dataclass::rmaxrf |
range in r and z directions.
| double precision dataclass::rminrf |
range in r and z directions.
| double precision dataclass::xmaxrfg |
range in x, y, and zdirections.
| double precision dataclass::xminrfg |
range in x, y, and zdirections.
| double precision dataclass::ymaxrfg |
range in x, y, and zdirections.
| double precision dataclass::yminrfg |
range in x, y, and zdirections.
| double precision, dimension(ndataini) dataclass::zdat |
discrete Ez(0,z), Ez'(0,z), Ez''(0,z) rf data.
| double precision dataclass::zmaxrf |
range in r and z directions.
| double precision dataclass::zmaxrfg |
range in x, y, and zdirections.
| double precision dataclass::zmin |
range in x, y, and zdirections.
| double precision dataclass::zminrf |
range in r and z directions.
1.8.15