RealMinMax Derived Type

type, public :: RealMinMax


Inherited by

type~~realminmax~~InheritedByGraph type~realminmax RealMinMax type~gridcase GridCase type~gridcase->type~realminmax lon_range, lat_range type~gridcase~2 GridCase type~gridcase~2->type~realminmax lon_range, lat_range type~latlongridfactory LatLonGridFactory type~latlongridfactory->type~realminmax lon_range, lat_range type~test_latloncorners Test_LatLonCorners type~test_latloncorners->type~latlongridfactory factory type~test_latlongridfactory Test_LatLonGridFactory type~test_latlongridfactory->type~latlongridfactory factory

Components

Type Visibility Attributes Name Initial
real(kind=REAL32), public :: max
real(kind=REAL32), public :: min

Type-Bound Procedures

procedure, public :: equal_real

  • private function equal_real(a, b)

    Arguments

    Type IntentOptional Attributes Name
    class(RealMinMax), intent(in) :: a
    type(RealMinMax), intent(in) :: b

    Return Value logical

procedure, public :: not_equal_real

  • private function not_equal_real(a, b)

    Arguments

    Type IntentOptional Attributes Name
    class(RealMinMax), intent(in) :: a
    type(RealMinMax), intent(in) :: b

    Return Value logical

generic, public :: operator(/=) => not_equal_real

  • private function not_equal_real(a, b)

    Arguments

    Type IntentOptional Attributes Name
    class(RealMinMax), intent(in) :: a
    type(RealMinMax), intent(in) :: b

    Return Value logical

generic, public :: operator(==) => equal_real

  • private function equal_real(a, b)

    Arguments

    Type IntentOptional Attributes Name
    class(RealMinMax), intent(in) :: a
    type(RealMinMax), intent(in) :: b

    Return Value logical

Source Code

   type RealMinMax
      real(kind=REAL32) :: min
      real(kind=REAL32) :: max
   contains
      procedure :: equal_real
      procedure :: not_equal_real
      generic :: operator(==) => equal_real
      generic :: operator(/=) => not_equal_real
    end type RealMinMax