V3FIT
Modules | Functions/Subroutines | Variables
restart_mod.f90 File Reference

Contains module restart_mod. More...

Go to the source code of this file.

Modules

module  restart_mod
 Contains routines for writting the restart file.
 

Functions/Subroutines

integer function restart_mod::restart_read (restart_ext, wout_file, mpolin, ntorin, nfpi
 Reads the restart file. More...
 
subroutine restart_mod::restart_write (restart_ext, wout_file)
 Write the restart file. More...
 
subroutine restart_mod::interpit (aold, anew, ns_old, ns_new, mpol_old, mpol_new, ntor_old, ntor_new, nfp_old, nfp_new, lhalf)
 Interpolate fourier quantites from the restart file. More...
 
subroutine restart_mod::restart_denormalize (xmn, factor)
 Denormalize a quantity so the value written to the restart file can be summed directly. More...
 

Variables

integer, parameter restart_mod::restart_version = 0
 Version number.
 
integer, parameter restart_mod::restart_lasym = 31
 Bit position for the lasym flag.
 
integer, parameter restart_mod::restart_lrecon = 30
 Bit position for the lrecon flag.
 
character(len= *), dimension(1), parameter restart_mod::radial_dim = (/ 'radius' /)
 Radial Dimension names.
 
character(len= *), dimension(3), parameter restart_mod::restart_dims = (/ 'm-mode', 'n-mode', radial_dim(1) /)
 Fourier Dimension names.
 
character(len= *), parameter restart_mod::vn_nsin = 'nrad'
 Name for the restart file number of radial points.
 
character(len= *), parameter restart_mod::vn_mpolin = 'mpol'
 Name for the restart file number of poloidal modes.
 
character(len= *), parameter restart_mod::vn_ntorin = 'ntor'
 Name for the restart file number of toroidal modes.
 
character(len= *), parameter restart_mod::vn_nfpin = 'nfp'
 Name for the restart file number of field periods.
 
character(len= *), parameter restart_mod::vn_wout = 'wout_file'
 Name for the restart file number of wout file modes.
 
character(len= *), parameter restart_mod::vn_flags = 'state_flags'
 Name for the restart file number of state flags modes.
 
character(len= *), parameter restart_mod::vn_jbsupss = 'JBsupssh(m,n,r)'
 Name for the restart file jbsupss.
 
character(len= *), parameter restart_mod::vn_jbsupuc = 'JBsupuch(m,n,r)'
 Name for the restart file jbsupuc.
 
character(len= *), parameter restart_mod::vn_jbsupvc = 'JBsupvch(m,n,r)'
 Name for the restart file jbsupvc.
 
character(len= *), parameter restart_mod::vn_jbsupsc = 'JBsupsch(m,n,r)'
 Name for the restart file jbsupsc.
 
character(len= *), parameter restart_mod::vn_jbsupus = 'JBsupush(m,n,r)'
 Name for the restart file jbsupus.
 
character(len= *), parameter restart_mod::vn_jbsupvs = 'JBsupvsh(m,n,r)'
 Name for the restart file jbsupus.
 
character(len= *), parameter restart_mod::vn_jpresc = 'jpresch(m,n,r)'
 Name for the restart file jpresc.
 
character(len= *), parameter restart_mod::vn_jpress = 'jpressh(m,n,r)'
 Name for the restart file jpress.
 
character(len= *), parameter restart_mod::vn_rmnc = 'rmnc(m,n,r)'
 Name for the restart file rmnc.
 
character(len= *), parameter restart_mod::vn_rmns = 'rmns(m,n,r)'
 Name for the restart file rmns.
 
character(len= *), parameter restart_mod::vn_zmnc = 'zmnc(m,n,r)'
 Name for the restart file zmnc.
 
character(len= *), parameter restart_mod::vn_zmns = 'zmns(m,n,r)'
 Name for the restart file zmns.
 
character(len= *), parameter restart_mod::vn_chipf = 'chipf(r)'
 Name for the restart file chipf.
 
character(len= *), parameter restart_mod::vn_phipf = 'phipf(r)'
 Name for the restart file phipf.
 
character(len= *), parameter restart_mod::vn_bsupsmns = 'bsupsmnsh(m,n,r)'
 Name for the restart file bsupsmns.
 
character(len= *), parameter restart_mod::vn_bsupsmnc = 'bsupsmnch(m,n,r)'
 Name for the restart file bsupsmnc.
 
character(len= *), parameter restart_mod::vn_bsupumns = 'bsupumnsh(m,n,r)'
 Name for the restart file bsupumns.
 
character(len= *), parameter restart_mod::vn_bsupumnc = 'bsupumnch(m,n,r)'
 Name for the restart file bsupumnc.
 
character(len= *), parameter restart_mod::vn_bsupvmns = 'bsupvmnsh(m,n,r)'
 Name for the restart file bsupvmns.
 
character(len= *), parameter restart_mod::vn_bsupvmnc = 'bsupvmnch(m,n,r)'
 Name for the restart file bsupvmnc.
 
character(len= *), parameter restart_mod::vn_bsubsmns = 'bsubsmnsh(m,n,r)'
 Name for the restart file bsubsmns.
 
character(len= *), parameter restart_mod::vn_bsubsmnc = 'bsubsmnch(m,n,r)'
 Name for the restart file bsubsmnc.
 
character(len= *), parameter restart_mod::vn_bsubumns = 'bsubumnsh(m,n,r)'
 Name for the restart file bsubumns.
 
character(len= *), parameter restart_mod::vn_bsubumnc = 'bsubumnch(m,n,r)'
 Name for the restart file bsubumnc.
 
character(len= *), parameter restart_mod::vn_bsubvmns = 'bsubvmnsh(m,n,r)'
 Name for the restart file bsubvmns.
 
character(len= *), parameter restart_mod::vn_bsubvmnc = 'bsubvmnch(m,n,r)'
 Name for the restart file bsubvmnc.
 
character(len= *), parameter restart_mod::vn_pmns = 'pmnsh(m,n,r)'
 Name for the restart file pmns.
 
character(len= *), parameter restart_mod::vn_pmnc = 'pmnch(m,n,r)'
 Name for the restart file pmnc.
 
character(len= *), parameter restart_mod::vn_jksupsmns = 'jksupsmnsf(m,n,r)'
 Name for the restart file jksupsmns.
 
character(len= *), parameter restart_mod::vn_jksupsmnc = 'jksupsmncf(m,n,r)'
 Name for the restart file jksupsmnc.
 
character(len= *), parameter restart_mod::vn_jksupumns = 'jksupumnsf(m,n,r)'
 Name for the restart file jksupumns.
 
character(len= *), parameter restart_mod::vn_jksupumnc = 'jksupumncf(m,n,r)'
 Name for the restart file jksupumnc.
 
character(len= *), parameter restart_mod::vn_jksupvmns = 'jksupvmnsf(m,n,r)'
 Name for the restart file jksupvmns.
 
character(len= *), parameter restart_mod::vn_jksupvmnc = 'jksupvmncf(m,n,r)'
 Name for the restart file jksupvmnc.
 
character(len= *), parameter restart_mod::vn_p_factor = 'p_factor'
 Name for the restart file p_factor.
 
character(len= *), parameter restart_mod::vn_b_factor = 'b_factor'
 Name for the restart file b_factor.
 
character(len= *), parameter restart_mod::vn_wb = 'wb'
 Name for the restart file wb.
 
character(len= *), parameter restart_mod::vn_wp = 'wp'
 Name for the restart file wb.
 
character(len= *), parameter restart_mod::vn_rmajor = 'rmajor'
 Name for the restart file rmajor.
 
character(len= *), parameter restart_mod::vn_curtor = 'curtor'
 Name for the restart file total toroidal current.
 
character(len= *), parameter restart_mod::vn_p_max = 'p_max'
 Name for the restart file p_max.
 
character(len= *), parameter restart_mod::vn_p_min = 'p_min'
 Name for the restart file p_min.
 

Detailed Description

Contains module restart_mod.

Definition in file restart_mod.f90.