Data Types | |
type | epetra_crsgraph |
Epetra_CrsGraph: A class for constructing and using sparse compressed row graphs. More... | |
Public Member Functions | |
Constructor Functions | |
type(epetra_crsgraph) function | epetra_csgraph (CV, RowMap, NumIndicesPerRow, StaticProfile) |
Epetra_CrsGraph constuctor More... | |
type(epetra_crsgraph) function | epetra_crsgraph (CV, RowMap, NumIndicesPerRow, StaticProfile) |
Epetra_CrsGraph constuctor More... | |
type(epetra_crsgraph) function | epetra_crsgraph (this) |
Epetra_CrsGraph copy constuctor More... | |
type(epetra_crsgraph) function fepetra_crsgraph::epetra_crsgraph | ( | integer(ft_epetra_dataaccess_e_t), intent(in) | CV, |
class(epetra_blockmap), intent(in) | RowMap, | ||
integer(c_int), dimension(:), intent(in) | NumIndicesPerRow, | ||
logical, optional | StaticProfile | ||
) |
Epetra_CrsGraph constuctor
Epetra_CrsGraph constructor with variable number of indices per row Creates a Epetra_CrsGraph object and allocates storage.
[in] | cv | (In) A FT_Epetra_DataAccess_E_t enumerated type set to Copy or View. |
[in] | rowmap | (In) An Epetra_BlockMap (or Epetra_Map or Epetra_LocalMap) listing the rows that this processor will contribute to |
[in] | numindicesperrow | NumIndicesPerRow - (In) An integer array of length NumMyRows such that NumIndicesPerRow(i) indicates the (approximate if StaticProfile=false) number of entries in the ith row. |
staticprofile | StaticProfile - (In) Optional argument that indicates whether or not NumIndicesPerRow should be interpreted as an exact count of nonzeros, or should be used as an approximation. By default this value is false, allowing the profile to be determined dynamically. If the user sets it to true, then the memory allocation for the Epetra_CrsGraph object will be done in one large block, saving on memory fragmentation and generally improving the performance of matrix multiplication and solve kernels. |
type(epetra_crsgraph) function fepetra_crsgraph::epetra_crsgraph | ( | type(epetra_crsgraph), intent(in) | this | ) |
Epetra_CrsGraph copy constuctor
This will create a Level 1 deep copy. This Graph will share ownership of the CrsGraphData object with the right hand side Graph.
type(epetra_crsgraph) function fepetra_crsgraph::epetra_csgraph | ( | integer(ft_epetra_dataaccess_e_t), intent(in) | CV, |
class(epetra_blockmap), intent(in) | RowMap, | ||
integer(c_int), intent(in) | NumIndicesPerRow, | ||
logical, optional | StaticProfile | ||
) |
Epetra_CrsGraph constuctor
Epetra_CrsGraph constructor with fixed number of indices per row Creates a Epetra_CrsGraph object and allocates storage.
[in] | cv | (In) A FT_Epetra_DataAccess_E_t enumerated type set to Copy or View. |
[in] | rowmap | (In) An Epetra_BlockMap (or Epetra_Map or Epetra_LocalMap) listing the rows that this processor will contribute to. |
[in] | numindicesperrow | (In) An integer that indicates the (approximate if StaticProfile=false) number of entries in the each row. Note that it is possible to use 0 for this value and let fill occur during the insertion phase. |
staticprofile | (In) Optional argument that indicates whether or not NumIndicesPerRow should be interpreted as an exact count of nonzeros, or should be used as an approximation. By default this value is false, allowing the profile to be determined dynamically. If the user sets it to true, then the memory allocation for the Epetra_CrsGraph object will be done in one large block, saving on memory fragmentation and generally improving the performance of matrix multiplication and solve kernes. |