A Module For Storing Triplets of Integer, Integer, Value.
Set the values of a triplet.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Triplet_r), | intent(inout) | :: | this | The triplet to set the values of. |
||
integer, | intent(in) | :: | index_column | The column value. |
||
integer, | intent(in) | :: | index_row | The row value. |
||
real(kind=NTREAL), | intent(in) | :: | point_value | The value at that point. |
Set the values of a triplet.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Triplet_c), | intent(inout) | :: | this | The triplet to set the values of. |
||
integer, | intent(in) | :: | index_column | The column value. |
||
integer, | intent(in) | :: | index_row | The row value. |
||
complex(kind=NTCOMPLEX), | intent(in) | :: | point_value | The value at that point. |
Get the values of a triplet.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Triplet_r), | intent(in) | :: | this | The triplet to extract the values of. |
||
integer, | intent(out) | :: | index_column | Column value. |
||
integer, | intent(out) | :: | index_row | Row value. |
||
real(kind=NTREAL), | intent(out) | :: | point_value | Actual stored value. |
Get the values of a triplet.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Triplet_c), | intent(in) | :: | this | The triplet to extract the values of. |
||
integer, | intent(out) | :: | index_column | Column value. |
||
integer, | intent(out) | :: | index_row | Row value. |
||
complex(kind=NTCOMPLEX), | intent(out) | :: | point_value | Actual stored value. |
Compare two triplets based on their index values, first by column and second by row. Returns A < B.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Triplet_r), | intent(in) | :: | tripA | First triplet. |
||
type(Triplet_r), | intent(in) | :: | tripB | Second triplet. |
A < B.
Compare two triplets based on their index values, first by column and second by row. Returns A < B.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Triplet_c), | intent(in) | :: | tripA | First triplet. |
||
type(Triplet_c), | intent(in) | :: | tripB | Second triplet. |
A < B.
Convert a complex triplet to a real triplet.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Triplet_c), | intent(in) | :: | cin_triplet | The starting triplet |
||
type(Triplet_r), | intent(inout) | :: | rout_triplet | Real valued triplet. |
Convert a real triplet to a complex triplet.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Triplet_r), | intent(in) | :: | rin_triplet | The starting triplet. |
||
type(Triplet_c), | intent(inout) | :: | cout_triplet | Complex valued triplet. |
A data type for a triplet of integer, integer, double. As this is related to matrix multiplication, the referencing indices are rows and columns.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | index_column | column value. |
|||
integer, | public | :: | index_row | row value. |
|||
real(kind=NTREAL), | public | :: | point_value | actual value at those indices. |
A data type for a triplet of integer, integer, complex. As this is related to matrix multiplication, the referencing indices are rows and columns.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | index_column | column value. |
|||
integer, | public | :: | index_row | row value. |
|||
complex(kind=NTCOMPLEX), | public | :: | point_value | actual value at those indices. |
Returns an MPI Derived Data Type For A Triplet. We statically store this derived type so that we do not have to recreate it every time this function is called. Thus this functional call should add very little overhead.
MPI Derived Type
Returns an MPI Derived Data Type For A Triplet. We statically store this derived type so that we do not have to recreate it every time this function is called. Thus this functional call should add very little overhead.
MPI Derived Type