TripletList_c Derived Type

type, public :: TripletList_c

A data type for a list of triplets.


Contents


Components

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

Internal representation of the data.

integer, public :: CurrentSize

Current number of elements in the triplet list


Constructor

public interface TripletList_c

  • public pure function ConstructTripletList_c(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_c)

    The triplet list to construct.