MODgvec_ReadState Module

Module Read in of State file


Uses

  • module~~modgvec_readstate~~UsesGraph module~modgvec_readstate MODgvec_ReadState module~modgvec_globals MODgvec_Globals module~modgvec_readstate->module~modgvec_globals iso_fortran_env iso_fortran_env module~modgvec_globals->iso_fortran_env

Used by

  • module~~modgvec_readstate~~UsedByGraph module~modgvec_readstate MODgvec_ReadState proc~finalize_gvec_to_jorek finalize_gvec_to_jorek proc~finalize_gvec_to_jorek->module~modgvec_readstate proc~init_gvec_to_jorek init_gvec_to_jorek proc~init_gvec_to_jorek->module~modgvec_readstate proc~restartfromstate RestartFromState proc~restartfromstate->module~modgvec_readstate

Interfaces

public interface ReadState

  • private subroutine ReadStateFileFromASCII(fileString, hmap_in)

    read an input solution and initialize U(0) (X1,X2,LA) of size X1/X2/LA_base , from an ascii .dat file if size of grid/X1/X2/LA not equal X1/X2/X3_base interpolate readin solution to the current base of Uin

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: fileString
    class(c_hmap), optional, ALLOCATABLE :: hmap_in

    type containing subroutines for evaluating the map h (Omega_p x S^1) --> Omega

private interface Finalize_ReadState

private interface eval_phi_r

private interface eval_phiPrime_r

private interface eval_iota_r

private interface eval_pres_r


Functions

public function eval_phi_r(spos)

Evaluate phi profile from restart data

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: spos

Return Value real(kind=wp)

public function eval_phiPrime_r(spos)

Evaluate phiPrime profile from restart data

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: spos

Return Value real(kind=wp)

public function eval_iota_r(spos)

Evaluate iota profile from restart data

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: spos

Return Value real(kind=wp)

public function eval_pres_r(spos)

Evaluate pressure profile from restart data

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: spos

Return Value real(kind=wp)

private function eval_prof_r(spos, iprof, deriv)

Evaluate profile/profile derivative given by index "iprof" from restart data

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: spos
integer, intent(in) :: iprof
integer, intent(in) :: deriv

Return Value real(kind=wp)


Subroutines

private subroutine ReadStateFileFromASCII(fileString, hmap_in)

read an input solution and initialize U(0) (X1,X2,LA) of size X1/X2/LA_base , from an ascii .dat file if size of grid/X1/X2/LA not equal X1/X2/X3_base interpolate readin solution to the current base of Uin

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fileString
class(c_hmap), optional, ALLOCATABLE :: hmap_in

type containing subroutines for evaluating the map h (Omega_p x S^1) --> Omega

public subroutine Finalize_ReadState()

Finalize Module

Arguments

None