boundaries_braginskii_t Derived Type

type, public :: boundaries_braginskii_t

Datatype for boundary types and values of braginskii model


Contents


Components

Type Visibility Attributes Name Initial
type(bndgen_t), public :: ne

For density

type(bndgen_t), public :: pot

For electrostatic potential

type(bndgen_t), public :: vort

For generalised vorticity

type(bndgen_t), public :: apar

For parallel electromagnetic potential

type(bndgen_t), public :: jpar

For parallel current

type(bndgen_t), public :: upar

For generalised vorticity

type(bndgen_t), public :: te

For electron temperature

type(bndgen_t), public :: ti

For ion temperature

type(bndgen_t), public :: qe

For parallel electron heat flux

type(bndgen_t), public :: qi

For parallel ion heat flux


Finalization Procedures

final :: destructor

  • public subroutine destructor(self)

    Frees memory associated with boundaries_braginskii

    Arguments

    Type IntentOptional Attributes Name
    type(boundaries_braginskii_t), intent(inout) :: self

    Instance of the type


Type-Bound Procedures

procedure, public :: init => init_boundaries_braginskii

  • public subroutine init_boundaries_braginskii(self, mesh_cano, mesh_stag)

    Sets boundary types and values according to parameters

    Arguments

    Type IntentOptional Attributes Name
    class(boundaries_braginskii_t), intent(inout) :: self

    Instance of the type

    type(mesh_cart_t), intent(in) :: mesh_cano

    Mesh (canonical)

    type(mesh_cart_t), intent(in) :: mesh_stag

    Mesh (staggered)