44 #include "Epetra_MpiComm.h"
46 #include "Epetra_SerialComm.h"
48 #include "Epetra_Map.h"
49 #include "Epetra_CrsMatrix.h"
54 #include "Teuchos_RefCountPtr.hpp"
57 int main(
int argc,
char *argv[])
63 MPI_Init(&argc,&argv);
74 if (Comm.
MyPID() == 0)
75 cout <<
"Please run this test with one process only" << endl;
88 #if !defined(EPETRA_NO_32BIT_GLOBAL_INDICES) || !defined(EPETRA_NO_64BIT_GLOBAL_INDICES)
94 std::vector<int> Indices(NumPoints);
95 std::vector<double> Values(NumPoints);
98 for (
int i = 0 ; i < NumPoints ; ++i) {
102 NumEntries = NumPoints;
103 for (
int j = 0 ; j < NumPoints ; ++j) {
116 #if !defined(EPETRA_NO_32BIT_GLOBAL_INDICES) || !defined(EPETRA_NO_64BIT_GLOBAL_INDICES)
117 A->InsertGlobalValues(i, NumEntries, &Values[0], &Indices[0]);
143 return(EXIT_SUCCESS);
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Ifpack_RCMReordering: reverse Cuthill-McKee reordering.
int main(int argc, char *argv[])
#define IFPACK_CHK_ERR(ifpack_err)
Ifpack_ReorderFilter: a class for light-weight reorder of local rows and columns of an Epetra_RowMatr...