TripletList_r Derived Type

type, public :: TripletList_r

A data type for a list of triplets.


Contents


Components

TypeVisibility AttributesNameInitial
type(Triplet_r), public, DIMENSION(:), ALLOCATABLE:: DATA

Internal representation of the data.

integer, public :: CurrentSize

Current number of elements in the triplet list


Constructor

public interface TripletList_r

  • public pure function ConstructTripletList_r(size_in) result(this)

    Construct a triplet list.

    Arguments

    Type IntentOptional AttributesName
    integer(kind=c_int), intent(in), optional :: size_in

    The length of the triplet list (default=0).

    Return Value type(TripletList_r)

    The triplet list to construct.