init_zhdanov_m Module

Sets initial state for ZHDANOV model


Used by


Contents


Interfaces

interface

  • public module subroutine init_zhdanov_state_profile(comm_handler, equi, mesh, map, penalisation, params_species, paramfile_zhdanov_species, dens_species)

    Builds profile state

    Arguments

    Type IntentOptional Attributes Name
    type(comm_handler_t), intent(in) :: comm_handler

    Communicators

    class(equilibrium_t), intent(inout) :: equi

    Equilibrium

    type(mesh_cart_t), intent(inout) :: mesh

    Mesh within poloidal plane

    type(parallel_map_t), intent(in) :: map

    Parallel map

    type(penalisation_t), intent(in) :: penalisation

    Penalisation

    type(params_zhdanov_species_t), intent(in) :: params_species

    Species paramters for the Zhdanov model

    character(len=*), intent(in) :: paramfile_zhdanov_species

    Filename, where parameters are read from

    type(variable_t), intent(inout) :: dens_species

    Species density


Subroutines

public subroutine build_zhdanov_initial_state(comm_handler, equi, mesh, map, penalisation, params_general, params_species, paramfile_zhdanov_species, tau, isnaps, dens_species)

Builds initial state

Arguments

Type IntentOptional Attributes Name
type(comm_handler_t), intent(in) :: comm_handler

Communicators

class(equilibrium_t), intent(inout) :: equi

Equilibrium

type(mesh_cart_t), intent(inout) :: mesh

Mesh within poloidal plane

type(parallel_map_t), intent(in) :: map

Parallel map

type(penalisation_t), intent(in) :: penalisation

Penalisation

type(params_zhdanov_general_t), intent(in) :: params_general

General parameters related with ZHDANOV model

type(params_zhdanov_species_t), intent(in) :: params_species

Species paramters for the Zhdanov model

character(len=*), intent(in) :: paramfile_zhdanov_species

Filename, where parameters are read from

real(kind=GP), intent(out) :: tau

Time of initial state

integer, intent(out) :: isnaps

Snapshot frame number

type(variable_t), intent(inout) :: dens_species

Species density

public subroutine initialise_timesteppers(comm_handler, equi, mesh, params_general, tstep_continuity)

Initialises the timesteppers

Arguments

Type IntentOptional Attributes Name
type(comm_handler_t), intent(in) :: comm_handler

Communicators

class(equilibrium_t), intent(inout) :: equi

Equilibrium

type(mesh_cart_t), intent(inout) :: mesh

Mesh within poloidal plane

type(params_zhdanov_general_t), intent(in) :: params_general

General parameters related with ZHDANOV model

type(karniadakis_t), intent(inout) :: tstep_continuity

Time integrator for continuity equation