discretization Derived Type

type, public :: discretization


Contents

Source Code


Components

TypeVisibility AttributesNameInitial
real(kind=psb_dpk_), private :: blend
integer, private :: id

Type-Bound Procedures

procedure, public :: id_

  • interface

    private module function id_(ds)

    Arguments

    Type IntentOptional AttributesName
    class(discretization), intent(in) :: ds

    Return Value integer

generic, public :: nemo_sizeof => nemo_discretization_sizeof

procedure, private :: nemo_discretization_sizeof

  • interface

    private module function nemo_discretization_sizeof(dsc)

    Arguments

    Type IntentOptional AttributesName
    class(discretization), intent(in) :: dsc

    Return Value integer(kind=nemo_int_long_)

Source Code

    TYPE discretization
        PRIVATE
        INTEGER :: id
        REAL(psb_dpk_) :: blend
    CONTAINS
        PROCEDURE :: id_            ! Getters
        PROCEDURE, PRIVATE :: nemo_discretization_sizeof
        GENERIC, PUBLIC :: nemo_sizeof => nemo_discretization_sizeof
    END TYPE discretization