VertexClass Module



Contents


Derived Types

type, public :: Vertex_

Components

TypeVisibility AttributesNameInitial
real(kind=real64), public :: reval =0.0d0
real(kind=real64), public :: x =0.0d0
real(kind=real64), public :: y =0.0d0
real(kind=real64), public :: z =0.0d0
integer(kind=int32), public :: intval =0
integer(kind=int32), public :: ID =0
integer(kind=int32), public :: MyRank =0
character(len=200), public :: name ="NoName"

Type-Bound Procedures

procedure, public :: create => createVertex
procedure, public :: copy => copyVertex

Functions

public function copyVertex(obj) result(copy)

Arguments

Type IntentOptional AttributesName
class(Vertex_), intent(inout) :: obj

Return Value type(Vertex_)


Subroutines

public subroutine createVertex(obj, intval, reval, name, Myrank, ID)

Arguments

Type IntentOptional AttributesName
class(Vertex_), intent(inout) :: obj
integer(kind=int32), intent(in), optional :: intval
real(kind=real64), intent(in), optional :: reval
character(len=*), intent(in), optional :: name
integer(kind=int32), intent(in), optional :: Myrank
integer(kind=int32), intent(in), optional :: ID