ForTrilinos
Data Types
FEpetra_CrsGraph Module Reference

Data Types

type  Epetra_CrsGraph
 
Epetra_CrsGraph: A class for constructing and using sparse compressed row graphs. More...

Functions/Subroutines

Constructor Functions
type(Epetra_CrsGraphEpetra_CsGraph (CV, RowMap, NumIndicesPerRow, StaticProfile)
 
Epetra_CrsGraph constuctor
type(Epetra_CrsGraphEpetra_CrsGraph (CV, RowMap, NumIndicesPerRow, StaticProfile)
 
Epetra_CrsGraph constuctor
type(Epetra_CrsGraphEpetra_CrsGraph (this)
 
Epetra_CrsGraph copy constuctor

Function/Subroutine Documentation

type(Epetra_CrsGraph) 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.

Parameters:
CV(In) A FT_Epetra_DataAccess_E_t enumerated type set to Copy or View.
RowMap(In) An Epetra_BlockMap (or Epetra_Map or Epetra_LocalMap) listing the rows that this processor will contribute to
NumIndicesPerRowNumIndicesPerRow - (In) An integer array of length NumMyRows such that NumIndicesPerRow(i) indicates the (approximate if StaticProfile=false) number of entries in the ith row.
StaticProfileStaticProfile - (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) 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) 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.

Parameters:
CV(In) A FT_Epetra_DataAccess_E_t enumerated type set to Copy or View.
RowMap(In) An Epetra_BlockMap (or Epetra_Map or Epetra_LocalMap) listing the rows that this processor will contribute to.
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.
 All Classes Namespaces Files Functions