c_sgrid Derived Type

type, public, ABSTRACT :: c_sgrid


Inherited by

type~~c_sgrid~~InheritedByGraph type~c_sgrid c_sgrid type~t_sgrid t_sGrid type~t_sgrid->type~c_sgrid type~t_sbase t_sBase type~t_sbase->type~t_sgrid grid type~t_transform_sfl t_transform_sfl type~t_transform_sfl->type~t_sgrid sgrid_sfl type~t_base t_base type~t_transform_sfl->type~t_base X1sfl_base, X2sfl_base, GZ_base, GZsfl_base type~t_base->type~t_sbase s type~t_sbase_disc t_sBase_disc type~t_sbase_disc->type~t_sbase type~t_sbase_spl t_sBase_spl type~t_sbase_spl->type~t_sbase

Type-Bound Procedures

procedure(i_sub_sgrid_init), public, deferred :: init

  • subroutine i_sub_sgrid_init(sf, nElems_in, grid_type_in, sp_in) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(c_sgrid), intent(inout) :: sf
    integer, intent(in) :: nElems_in
    integer, intent(in) :: grid_type_in
    real(kind=wp), intent(in), optional :: sp_in(0:nElems_in)

procedure(i_sub_sgrid_free), public, deferred :: free

  • subroutine i_sub_sgrid_free(sf) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(c_sgrid), intent(inout) :: sf

procedure(i_sub_sgrid_copy), public, deferred :: copy

  • subroutine i_sub_sgrid_copy(sf, tocopy) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(c_sgrid), intent(inout) :: sf
    class(c_sgrid), intent(in) :: tocopy

procedure(i_sub_sgrid_compare), public, deferred :: compare

  • subroutine i_sub_sgrid_compare(sf, tocompare, is_same) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(c_sgrid), intent(in) :: sf
    class(c_sgrid), intent(in) :: tocompare
    logical, intent(out) :: is_same

procedure(i_fun_sgrid_find_elem), public, deferred :: find_elem

  • function i_fun_sgrid_find_elem(sf, x) result(iElem) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(c_sgrid), intent(in) :: sf
    real(kind=wp), intent(in) :: x

    Return Value integer

Source Code

TYPE, ABSTRACT :: c_sgrid
  CONTAINS
    PROCEDURE(i_sub_sgrid_init     ),DEFERRED :: init
    PROCEDURE(i_sub_sgrid_free     ),DEFERRED :: free
    PROCEDURE(i_sub_sgrid_copy     ),DEFERRED :: copy
    PROCEDURE(i_sub_sgrid_compare  ),DEFERRED :: compare
    PROCEDURE(i_fun_sgrid_find_elem),DEFERRED :: find_elem

END TYPE c_sgrid