xy Derived Type

type, public :: xy

Base type for 2D points


Inherited by

type~~xy~~InheritedByGraph type~xy xy type~xy_site xy_site type~xy_site->type~xy type~xy_lattice xy_lattice type~xy_lattice->type~xy_site site

Components

Type Visibility Attributes Name Initial
real(kind=8), public :: x
real(kind=8), public :: y

Type-Bound Procedures

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

  • private pure elemental function eq_xy(A, B) result(isequal)

    tolerance equality for xy class [absolute tol hard-coded to 1d-12] -> probably to improve...

    Arguments

    Type IntentOptional Attributes Name
    class(xy), intent(in) :: A
    class(xy), intent(in) :: B

    Return Value logical

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

  • private pure elemental function neq_xy(A, B) result(notequal)

    tolerance inequality for xy class [absolute tol hard-coded to 1d-12] -> probably to improve...

    Arguments

    Type IntentOptional Attributes Name
    class(xy), intent(in) :: A
    class(xy), intent(in) :: B

    Return Value logical

procedure, private :: eq_xy

  • private pure elemental function eq_xy(A, B) result(isequal)

    tolerance equality for xy class [absolute tol hard-coded to 1d-12] -> probably to improve...

    Arguments

    Type IntentOptional Attributes Name
    class(xy), intent(in) :: A
    class(xy), intent(in) :: B

    Return Value logical

procedure, private :: neq_xy

  • private pure elemental function neq_xy(A, B) result(notequal)

    tolerance inequality for xy class [absolute tol hard-coded to 1d-12] -> probably to improve...

    Arguments

    Type IntentOptional Attributes Name
    class(xy), intent(in) :: A
    class(xy), intent(in) :: B

    Return Value logical