Node Derived Type

type, public :: Node


Components

Type Visibility Attributes Name Initial
integer, public :: globID = -1
real(kind=RP), public :: x(3)

Type-Bound Procedures

procedure, public :: construct => ConstructNode

  • public subroutine ConstructNode(this, x, globID)

    Arguments

    Type IntentOptional Attributes Name
    class(Node) :: this
    real(kind=RP) :: x(3)
    integer :: globID

procedure, public :: destruct => Node_Destruct

  • private elemental subroutine Node_Destruct(this)

    Arguments

    Type IntentOptional Attributes Name
    class(Node), intent(inout) :: this