korc_fio Module


Uses

  • module~~korc_fio~~UsesGraph module~korc_fio korc_fio iso_c_binding iso_c_binding module~korc_fio->iso_c_binding module~korc_input korc_input module~korc_fio->module~korc_input module~korc_hdf5 korc_HDF5 module~korc_fio->module~korc_hdf5 mpi mpi module~korc_fio->mpi module~korc_types korc_types module~korc_fio->module~korc_types module~korc_input->module~korc_types module~korc_hpc korc_hpc module~korc_input->module~korc_hpc module~korc_hdf5->module~korc_types module~korc_constants korc_constants module~korc_hdf5->module~korc_constants module~korc_hdf5->module~korc_hpc HDF5 HDF5 module~korc_hdf5->HDF5 module~korc_types->iso_c_binding module~korc_constants->module~korc_types module~korc_hpc->mpi module~korc_hpc->module~korc_types omp_lib omp_lib module~korc_hpc->omp_lib

Used by

  • module~~korc_fio~~UsedByGraph module~korc_fio korc_fio program~main main program~main->module~korc_fio module~korc_collisions korc_collisions program~main->module~korc_collisions module~korc_interp korc_interp program~main->module~korc_interp module~korc_profiles korc_profiles program~main->module~korc_profiles module~korc_ppusher korc_ppusher program~main->module~korc_ppusher module~korc_fields korc_fields program~main->module~korc_fields module~korc_initialize korc_initialize program~main->module~korc_initialize module~korc_finalize korc_finalize program~main->module~korc_finalize module~korc_collisions->module~korc_fio module~korc_collisions->module~korc_interp module~korc_collisions->module~korc_profiles module~korc_collisions->module~korc_fields module~korc_interp->module~korc_fio module~korc_profiles->module~korc_interp module~korc_ppusher->module~korc_collisions module~korc_ppusher->module~korc_interp module~korc_ppusher->module~korc_profiles module~korc_ppusher->module~korc_fields module~korc_fields->module~korc_interp module~korc_experimental_pdf korc_experimental_pdf module~korc_experimental_pdf->module~korc_interp module~korc_experimental_pdf->module~korc_fields module~korc_initialize->module~korc_fields module~korc_spatial_distribution korc_spatial_distribution module~korc_initialize->module~korc_spatial_distribution module~korc_velocity_distribution korc_velocity_distribution module~korc_initialize->module~korc_velocity_distribution module~korc_avalanche korc_avalanche module~korc_avalanche->module~korc_profiles module~korc_avalanche->module~korc_fields module~korc_spatial_distribution->module~korc_profiles module~korc_spatial_distribution->module~korc_fields module~korc_spatial_distribution->module~korc_experimental_pdf module~korc_spatial_distribution->module~korc_avalanche module~korc_velocity_distribution->module~korc_fields module~korc_velocity_distribution->module~korc_experimental_pdf module~korc_velocity_distribution->module~korc_avalanche module~korc_finalize->module~korc_profiles module~korc_finalize->module~korc_fields

Contents


Variables

TypeVisibility AttributesNameInitial
integer(kind=C_INT), public, parameter:: FIO_SUCCESS =0
integer(kind=C_INT), public, parameter:: FIO_OUT_OF_BOUNDS =10002
integer(kind=C_INT), public, parameter:: FIO_NO_DATA =10006
integer(kind=C_INT), public, parameter:: FIO_M3DC1_SOURCE =3
integer(kind=C_INT), public, parameter:: FIO_NIMROD_SOURCE =5
integer(kind=C_INT), public, parameter:: FIO_TIMESLICE =1
integer(kind=C_INT), public, parameter:: FIO_SPECIES =3
integer(kind=C_INT), public, parameter:: FIO_ELECTRON =1
integer(kind=C_INT), public, parameter:: FIO_MAIN_ION =-1
integer(kind=C_INT), public, parameter:: FIO_DENSITY =102
integer(kind=C_INT), public, parameter:: FIO_TEMPERATURE =103
integer(kind=C_INT), public, parameter:: FIO_ELECTRIC_FIELD =1001
integer(kind=C_INT), public, parameter:: FIO_MAGNETIC_FIELD =1003
integer(kind=C_INT), public, parameter:: FIO_VECTOR_POTENTIAL =1002
integer(kind=C_INT), public, parameter:: FIO_TIME =7001

Interfaces

interface

  • public function fio_add_field(icfield, ifield, op, fac) bind(C, NAME='fio_add_field')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: icfield
    integer(kind=C_INT), intent(in), VALUE:: ifield
    integer(kind=C_INT), intent(in), VALUE:: op
    real(kind=C_DOUBLE), intent(in), VALUE:: fac

    Return Value integer(kind=C_INT)

interface

  • public function fio_allocate_search_hint(isrc, hint) bind(C, NAME='fio_allocate_search_hint')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: isrc
    type(C_PTR), intent(out) :: hint

    Return Value integer(kind=C_INT)

interface

  • public function fio_close_field(ifield) bind(C, NAME='fio_close_field')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: ifield

    Return Value integer(kind=C_INT)

interface

  • public function fio_close_series(iseries) bind(C, NAME='fio_close_series')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: iseries

    Return Value integer(kind=C_INT)

interface

  • public function fio_close_source(isrc) bind(C, NAME='fio_close_source')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: isrc

    Return Value integer(kind=C_INT)

interface

  • public function fio_create_compound_field(ifield) bind(C, NAME='fio_create_compound_field')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in) :: ifield

    Return Value integer(kind=C_INT)

interface

  • public function fio_deallocate_search_hint(isrc, hint) bind(C, NAME='fio_deallocate_search_hint')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: isrc
    type(C_PTR), intent(inout) :: hint

    Return Value integer(kind=C_INT)

interface

  • public function fio_eval_field(ifield, x, v, hint) bind(C, NAME='fio_eval_field')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: ifield
    real(kind=C_DOUBLE), intent(in) :: x
    real(kind=C_DOUBLE), intent(out) :: v
    type(C_PTR), intent(in), VALUE:: hint

    Return Value integer(kind=C_INT)

interface

  • public function fio_eval_field_deriv(ifield, x, v, hint) bind(C, NAME='fio_eval_field_deriv')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: ifield
    real(kind=C_DOUBLE), intent(in) :: x
    real(kind=C_DOUBLE), intent(out) :: v
    type(C_PTR), intent(in), VALUE:: hint

    Return Value integer(kind=C_INT)

interface

  • public function fio_eval_series(iseries, x, v) bind(C, NAME='fio_eval_series')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: iseries
    real(kind=C_DOUBLE), intent(in) :: x
    real(kind=C_DOUBLE), intent(out) :: v

    Return Value integer(kind=C_INT)

interface

  • public function fio_get_options(isrc) bind(C, NAME='fio_get_options')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: isrc

    Return Value integer(kind=C_INT)

interface

  • public function fio_get_available_fields(isrc, n, f) bind(C, NAME='fio_get_available_fields')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: isrc
    integer(kind=C_INT), intent(out) :: n
    integer(kind=C_INT), intent(out), DIMENSION(:):: f

    Return Value integer(kind=C_INT)

interface

  • public function fio_open_source(itype, filename, handle) bind(C, NAME='fio_open_source')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: itype
    character(kind=C_CHAR,len=1), intent(in) :: filename
    integer(kind=C_INT), intent(out) :: handle

    Return Value integer(kind=C_INT)

interface

  • public function fio_get_field(isrc, type, handle) bind(C, NAME='fio_get_field')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: isrc
    integer(kind=C_INT), intent(in), VALUE:: type
    integer(kind=C_INT), intent(inout) :: handle

    Return Value integer(kind=C_INT)

interface

  • public function fio_set_int_option(iopt, v) bind(C, NAME='fio_set_int_option')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=C_INT), intent(in), VALUE:: iopt
    integer(kind=C_INT), intent(in), VALUE:: v

    Return Value integer(kind=C_INT)

interface

  • public function fio_get_real_field_parameter(ifield, t, p) bind(C, NAME='fio_get_real_field_parameter')

    Arguments

    Type IntentOptional AttributesName
    integer(kind=c_int), intent(in), value:: ifield
    integer(kind=c_int), intent(in), value:: t
    real(kind=c_double) :: p

    Return Value integer(kind=C_INT)


Functions

public function FIO_MAKE_SPECIES(m, p, e)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: m
integer, intent(in) :: p
integer, intent(in) :: e

Return Value integer(kind=C_INT)


Subroutines

public subroutine initialize_m3d_c1(params, F, P, spp, init)

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(inout) :: params
type(FIELDS), intent(inout) :: F
type(PROFILES), intent(inout) :: P
type(SPECIES), intent(inout), DIMENSION(:):: spp
logical, intent(in) :: init

public subroutine initialize_nimrod(params, F, P, spp, init)

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(inout) :: params
type(FIELDS), intent(inout) :: F
type(PROFILES), intent(inout) :: P
type(SPECIES), intent(inout), DIMENSION(:):: spp
logical, intent(in) :: init

public subroutine initialize_m3d_c1_imp(params, F, P, num_imp, init)

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(in) :: params
type(FIELDS), intent(in) :: F
type(PROFILES), intent(inout) :: P
integer, intent(in) :: num_imp
logical, intent(in) :: init

public subroutine finalize_fio(params, F, P)

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(in) :: params
type(FIELDS), intent(in) :: F
type(PROFILES), intent(inout) :: P