hex_orientation Derived Type

type, public :: hex_orientation

lattice-orientation data storage


Inherited by

type~~hex_orientation~~InheritedByGraph type~hex_orientation hex_orientation type~unit_cell unit_cell type~unit_cell->type~hex_orientation orientation

Components

Type Visibility Attributes Name Initial
real(kind=8), public, dimension(2) :: uq

1st unit-vector

real(kind=8), public, dimension(2) :: ur

2nd unit-vector

real(kind=8), public :: angle

in units of 60°


Type-Bound Procedures

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

  • private pure function orientation_equality(a, b) result(isequal)

    Overload of == operator for hex_orientation type

    Arguments

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

    Return Value logical

procedure, private :: orientation_equality

  • private pure function orientation_equality(a, b) result(isequal)

    Overload of == operator for hex_orientation type

    Arguments

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

    Return Value logical