`#include <Isorropia_ConfigDefs.hpp>`

`#include <string>`

`#include <vector>`

`#include <ostream>`

Include dependency graph for ispatest_epetra_utils.hpp:

Go to the source code of this file.

## Namespaces | |

namespace | ispatest |

## Functions | |

int | ispatest::fill_matrix (Epetra_CrsMatrix &matrix, int numNonzerosPerRow, bool verbose) |

Fill a matrix with the specified number of nonzeros per row, using matrix.InsertGlobalValues. | |

int | ispatest::fill_graph (Epetra_CrsGraph &graph, int numNonzerosPerRow, bool verbose) |

Fill a graph with the specified number of nonzeros per row. | |

bool | ispatest::test_matrix_vector_multiply (Epetra_CrsMatrix &A) |

Verify that a matrix is a valid Epetra_CrsMatrix by attempting to multiply with it. | |

bool | ispatest::test_row_matrix_vector_multiply (Epetra_RowMatrix &R) |

Verify that a matrix is a valid Epetra_RowMatrix by attempting to multiply with it. | |

bool | ispatest::test_matrix_vector_multiply (Epetra_CrsGraph &G) |

Verify that a matrix is a valid Epetra_CrsGraph by attempting to multiply with it. | |

bool | ispatest::test_matrix_vector_multiply (Epetra_LinearProblem &LP) |

Verify that the Epetra_RowMatrix in a Epetra_LinearProblem is valid by attempting to multiply with it. | |

Epetra_Map * | ispatest::map_from_blockmap (const Epetra_BlockMap &b) |

Method to create an Epetra_Map from an Epetra_BlockMap, when using methods that require an Epetra_Map but you only have an Epetra_BlockMap. | |

int | ispatest::readCoordFile (const std::string &fname, std::vector< double > &x, std::vector< double > &y, std::vector< double > &z) |

Read in the file "fname". | |

Epetra_MultiVector * | ispatest::makeWeights (const Epetra_BlockMap &map, double(*wFunc)(const int, const int, const int, const int)) |

Create a multivector of 1 dimensional weights with the same distribution as the supplied map. | |

double | ispatest::unitWeights (const int id, const int me, const int nids, const int nprocs) |

A function for makeWeights, returns 1.0 for the object's weight. | |

double | ispatest::veeWeights (const int id, const int me, const int nids, const int nprocs) |

A function for makeWeights, weight is based on global ID, lower in the middle and higher at both ends. | |

double | ispatest::alternateWeights (const int id, const int me, const int nids, const int nprocs) |

A function for makeWeights, weights alternate 1.0, 2.0, 1.0, etc. | |

Epetra_MultiVector * | ispatest::file2multivector (const Epetra_Comm &comm, const std::string &fname) |

Read in a file of 1, 2 or 3 dimensional coordinates and create a multivector with a standard linear distribution. | |

int | ispatest::printMultiVector (const Epetra_MultiVector mv, std::ostream &os, const char *s, int max=1000) |

Print out the contents of the multivector by process, with optional title. |