mms_zhdanov_m Module

Method of Manufactured Solutions for Zhdanov model Note: Usage of camel case conventiuon for consistency in naming with mathematica


Uses


Contents


Functions

public function MmsSolDens(equi, species, x, y, z, t)

MMS solution of density for specific species

Arguments

Type IntentOptional Attributes Name
class(equilibrium_t) :: equi

Equilibrium

integer, intent(in) :: species

Species number

real(kind=GP), intent(in) :: x

x-coordinate

real(kind=GP), intent(in) :: y

y-coordinate

real(kind=GP), intent(in) :: z

Axial coordinate z (represented by toroidal coordinate)

real(kind=GP), intent(in) :: t

Time

Return Value real(kind=gp)

public function MmsSourceDens(equi, species, x, y, z, t, params_species)

MMS solution of density for specific species

Arguments

Type IntentOptional Attributes Name
class(equilibrium_t) :: equi

Equilibrium

integer, intent(in) :: species

Species number

real(kind=GP), intent(in) :: x

x-coordinate

real(kind=GP), intent(in) :: y

y-coordinate

real(kind=GP), intent(in) :: z

Axial coordinate z (represented by toroidal coordinate)

real(kind=GP), intent(in) :: t

Time

type(params_zhdanov_species_t) :: params_species

Species parameters

Return Value real(kind=gp)


Subroutines

public subroutine mms_diagnostics_zhdanov(comm_handler, equi, mesh, tau, dens_species)

Prints information on numerical errors of numerical solution

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(in) :: mesh

Mesh within poloidal plane

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

Time

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

Density of species