descriptors_m Module

definition of descriptors, i.e. integer parameters



Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: BNDLOCATION_WALL = 31

point related with wall boundary condition

integer, public, parameter :: BNDLOCATION_CORE = 32

point related with core boundary condition

integer, public, parameter :: BNDLOCATION_OTHER = 33

point related with shadow boundary condition

integer, public, parameter :: DISTRICT_CORE = 813

point located in core (outside actual computational domain, rho<rhomin)

integer, public, parameter :: DISTRICT_CLOSED = 814

point located in closed field line region (within computational domain)

integer, public, parameter :: DISTRICT_SOL = 815

point located in scrape-off layer (within computational domain)

integer, public, parameter :: DISTRICT_PRIVFLUX = 816

point located in private flux region (within computational domain)

integer, public, parameter :: DISTRICT_WALL = 817

point located in wall (outside computational domain, rho>rhomax)

integer, public, parameter :: DISTRICT_DOME = 818

point located in divertor dome (outside computational domain, e.g. rho<rhomin_privflux)

integer, public, parameter :: DISTRICT_OUT = 819

point located outside additional masks, i.e. shadow region (outside computational domain)

integer, public, parameter :: BND_TYPE_DIRICHLET_ZERO = -3

Dirichlet boundary condition zeroth order

integer, public, parameter :: BND_TYPE_DIRICHLET = 0

Dirichlet boundary condition first order (NOT WORKING YET, DO NOT USE)

integer, public, parameter :: BND_TYPE_NEUMANN = 1

Neumann boundary condition first order

integer, public, parameter :: BND_TYPE_NONE = 312

nothing applied for boundary conditions

integer, public, parameter :: POINT_PGHOST_FIRST = 253

Point is ghost point, with connection (at least one next neighbor within grid) to grid

integer, public, parameter :: POINT_PGHOST_DEEP = 254

Point is deeper ghost point, without connection to grid

integer, public, parameter :: POINT_INNER_EDGE = 255

Point is grid point, with connection to pghost

integer, public, parameter :: POINT_INNER_FULL = 256

Point is grid point, with connection fully within grid

integer, public, parameter :: ERR_UNHANDLED = 11
integer, public, parameter :: ERR_PARAMETER_FILE = 21

Subroutines

public subroutine convert_descriptor_char_int(char_descr, int_descr)

converts character, e.g. as specified in parameter files, into actual (integer) descriptor

Arguments

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

character descriptor

integer, intent(out) :: int_descr

actual descriptor for code