build_initial_state Subroutine

public subroutine build_initial_state(comm_handler, equi, mesh, map, init_select, filename, snaps, isnaps, tau, var)

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

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

Type of initial state (BLOB, CONTINUE, MMS)

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

Filename, where parameters are possibly read from

type(snapshot_t), intent(in) :: snaps

Snapshot

integer, intent(out) :: isnaps

Snapshot number

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

Time of initial state

type(variable_t), intent(inout), target :: var

Variable with initial state


Contents