FillMatrixFromTripletList Interface

public interface FillMatrixFromTripletList

Contents


Module Procedures

private subroutine FillMatrixFromTripletList_psr(this, triplet_list, preduplicated_in, prepartitioned_in)

This routine fills in a matrix based on local triplet lists. Each process should pass in triplet lists with global coordinates. It does not matter where each triplet is stored, as long as global coordinates are given. However, if you explicitly set prepartitioned_in to True, all data must be on the correct process. In that case, there is no communication required.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(inout) :: this

The matrix to fill.

type(TripletList_r), intent(in) :: triplet_list

The triplet list of values.

logical, intent(in), optional :: preduplicated_in

If lists are preduplicated across slices set this to true.

logical, intent(in), optional :: prepartitioned_in

If all lists only contain local matrix elements set this to true.

private subroutine FillMatrixFromTripletList_psc(this, triplet_list, preduplicated_in, prepartitioned_in)

This routine fills in a matrix based on local triplet lists. Each process should pass in triplet lists with global coordinates. It does not matter where each triplet is stored, as long as global coordinates are given. However, if you explicitly set prepartitioned_in to True, all data must be on the correct process. In that case, there is no communication required.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(inout) :: this

The matrix to fill.

type(TripletList_c), intent(in) :: triplet_list

The triplet list of values.

logical, intent(in), optional :: preduplicated_in

If lists are preduplicated across slices set this to true.

logical, intent(in), optional :: prepartitioned_in

If all lists only contain local matrix elements set this to true.