params_brag_numdiss_m Module

Parameters for the BRAGINSKII model related with numerical dissipation



Contents


Variables

Type Visibility Attributes Name Initial
logical, protected :: perpdiss_exclude_buffer

If true, applies an envelope function that excludes the buffer region from the dissipation operator

integer, protected :: perpdiss_order_ne = 1

Order of (Hyper)diffusion acting on electron density

real(kind=GP), protected :: perpdiss_coeff_ne = 0.0_GP

Perpendicular (Hyper)viscosity coefficent acting on electron density

integer, protected :: perpdiss_order_vort = 1

Order of (Hyper)diffusion acting on vorticity

real(kind=GP), protected :: perpdiss_coeff_vort = 0.0_GP

Perpendicular (Hyper)viscosity coefficent acting on vorticity

integer, protected :: perpdiss_order_te = 1

Order of (Hyper)diffusion acting on electron temperature

real(kind=GP), protected :: perpdiss_coeff_te = 0.0_GP

Perpendicular (Hyper)viscosity coefficent acting on electron temperature

integer, protected :: perpdiss_order_pe = 1

Order of (Hyper)diffusion acting on electron pressure

real(kind=GP), protected :: perpdiss_coeff_pe = 0.0_GP

Perpendicular (Hyper)viscosity coefficent acting on electron pressure

integer, protected :: perpdiss_order_ti = 1

Order of (Hyper)diffusion acting on ion temperature

real(kind=GP), protected :: perpdiss_coeff_ti = 0.0_GP

Perpendicular (Hyper)viscosity coefficent acting on ion temperature

integer, protected :: perpdiss_order_pi = 1

Order of (Hyper)diffusion acting on ion pressure

real(kind=GP), protected :: perpdiss_coeff_pi = 0.0_GP

Perpendicular (Hyper)viscosity coefficent acting on ion pressure

integer, protected :: perpdiss_order_upar = 1

Order of (Hyper)diffusion acting on parallel velocity

real(kind=GP), protected :: perpdiss_coeff_upar = 0.0_GP

Perpendicular (Hyper)viscosity coefficent acting on parallel velocity

integer, protected :: perpdiss_order_ohm = 1

Order of (Hyper)diffusion acting in Ohm's law

real(kind=GP), protected :: perpdiss_coeff_ohm = 0.0_GP

Perpendicular (Hyper)viscosity coefficent acting on Ohm's law

real(kind=GP), protected :: pardiss_coeff_ne = 0.0_GP

Parallel (numerical) diffusion coefficent acting on electron density

real(kind=GP), protected :: pardiss_coeff_vort = 0.0_GP

Parallel (numerical) diffusion coefficent acting on vorticity

real(kind=GP), protected :: pardiss_coeff_ohm = 0.0_GP

Parallel (numerical) diffusion coefficent acting in Ohm's law


Subroutines

public subroutine read_params_brag_numdiss(filename)

Reads parameters related with brag_numdiss

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

Filename, to read from

public subroutine write_params_brag_numdiss(filename)

Reads parameters related with brag_numdiss

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in), optional :: filename

If present, filename where params are written to, if not present, writes to screen