hyper Module


Variables

Type Visibility Attributes Name Initial
logical, private :: use_physical_ksqr
logical, private :: scale_to_outboard
real, public :: D_hyper
real, public :: D_zed
real, public :: D_vpa
logical, public :: hyp_vpa
logical, public :: hyp_zed
real, private :: tfac
real, public :: k2max

Subroutines

public subroutine read_parameters_hyper()

Arguments

None

public subroutine init_hyper()

avoid spatially dependent kperp (through the geometric coefficients) still allowed to vary along zed with global magnetic shear useful for full_flux_surface and radial_variation runs

Read more…

Arguments

None

public subroutine advance_hyper_dissipation(g)

avoid spatially dependent kperp add in hyper-dissipation of form dg/dt = -D(k/kmax)^4g add in hyper-dissipation of form dg/dt = -D(k/kmax)^4g

Arguments

Type IntentOptional Attributes Name
complex, intent(inout), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: g

public subroutine advance_hyper_vpa(g, dgdvpa)

computes the fourth derivative of g in vpa and returns this in dgdvpa multiplied by the vpa diffusion coefficient

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: g
complex, intent(out), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: dgdvpa

private subroutine get_dgdvpa_fourth_order(g, gout)

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:, :, kxkyz_lo%llim_proc:) :: g
complex, intent(inout), dimension(:, :, kxkyz_lo%llim_proc:) :: gout

public subroutine advance_hyper_zed(g, dgdz)

computes the fourth derivative of g in z and returns this in dgdz multiplied by the z hyper diffusion coefficient

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: g
complex, intent(out), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: dgdz

private subroutine get_dgdz_fourth_order(g, dgdz)

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: g
complex, intent(inout), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: dgdz