init_mesh_cart Interface

interface
public module subroutine init_mesh_cart(self, equi, phi, lvl, spacing_f, size_neighbor, size_ghost_layer, extend_beyond_wall, dbgout)

Arguments

Type IntentOptional Attributes Name
class(mesh_cart_t), intent(out) :: self

Instance of the type

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

Equilibrium

real(kind=FP), intent(in) :: phi

Toroidal angle

integer, intent(in) :: lvl

Coarseness level

real(kind=FP), intent(inout) :: spacing_f

Grid spacing on finest level

integer, intent(in) :: size_neighbor

Number of neighbor points determined in each direction

integer, intent(in) :: size_ghost_layer

Depth of ghost point layer

logical, intent(in) :: extend_beyond_wall

If true, mesh is extended beyond the wall

integer, intent(in), optional :: dbgout

Debug output level

Description

Builds complete mesh