stat_type Derived Type

type, public :: stat_type


Contents

Source Code


Components

Type Visibility Attributes Name Initial
real(kind=rk), public :: loc_min(2)

min/max of x and y

real(kind=rk), public :: loc_max(2)

min/max of x and y


Type-Bound Procedures

procedure, public, :: update

  • public subroutine update(self, loc)

    Arguments

    Type IntentOptional Attributes Name
    class(stat_type), intent(inout) :: self
    real(kind=rk), intent(in) :: loc(:,:)

Source Code

    type stat_type
        real(rk) :: loc_min(2), loc_max(2)  !! min/max of x and y
    contains
        procedure :: update
    end type stat_type