XGCa
Data Types | Modules | Functions/Subroutines | Variables
module_ts.F90 File Reference
#include "petsc_version_defs.h"
#include <petsc/finclude/petsc.h>
Include dependency graph for module_ts.F90:

Data Types

type  xgc_ts_module::xgc_ts
 

Modules

module  xgc_ts_module
 
module  diffusion_module
 Module for computing anomalous transport by solving a simple Fick's law transport equation.
 

Functions/Subroutines

subroutine xgc_ts_module::ts_create (this)
 
subroutine xgc_ts_module::ts_delete (this, ierr)
 

Variables

type(xgc_ts) xgc_ts_module::diff_timestepper
 Time stepping object for XGCa anomalous diffusion. More...
 
logical diffusion_module::diff_on =.false.
 Switch for anomalous diffusion. More...
 
logical diffusion_module::diff_nonlinear =.false.
 Switch for including nonlinear terms. More...
 
integer diffusion_module::diff_bd_option =0
 Boundary damping option: (0) Damp the diffusivities, (1) damp the entire RHS. More...
 
real(kind=8) diffusion_module::diff_bd_in =0D0
 inner boundary for anomalous diffusion More...
 
real(kind=8) diffusion_module::diff_bd_out =1D0
 outer boundary for anomalous diffusion More...
 
real(kind=8) diffusion_module::diff_bd_shift_in =0.05D0
 Shift relative to sml_diffusion_bd_in where diff. coeff starts to decay. More...
 
real(kind=8) diffusion_module::diff_bd_shift_out =0.05D0
 Shift relative to sml_diffusion_bd_out where diff. coeff starts to decay. More...
 
real(kind=8) diffusion_module::diff_bd_width_in =0.02D0
 Decay length of diffusion coefficients in rgn 1 and 2 (inner bd) More...
 
real(kind=8) diffusion_module::diff_bd_width_out =0.02D0
 Decay length of diffusion coefficients in rgn 1 and 2 (outer bd) More...
 
real(kind=8) diffusion_module::diff_bd_width_priv =0.02D0
 Decay length of diffusion coefficients in private region. More...
 
logical diffusion_module::diff_pol_peak =.false.
 Whether the diffusion coefficient is constant or varies on a flux-surface (with Gaussian) More...
 
real(kind=8) diffusion_module::diff_pol_peak_amp =0.2D0
 Mimimum of the poloidal scaling function of the diffusion operator. More...
 
real(kind=8) diffusion_module::diff_pol_peak_angle =0D0
 Geometric poloidal angle at which the diffusion coefficient is peaked (rad/pi) More...
 
real(kind=8) diffusion_module::diff_pol_peak_width =0.5D0
 Width of the peak of the diffusion coefficients (rad/pi) More...