Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
TestEpetraMatrixFreeApply.cpp File Reference
#include <string>
#include <iostream>
#include <cstdlib>
#include "Epetra_config.h"
#include "Epetra_SerialComm.h"
#include "Stokhos_Epetra.hpp"
#include "EpetraExt_BlockUtility.h"
#include "Teuchos_VerboseObject.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
#include "Teuchos_StandardCatchMacros.hpp"
Include dependency graph for TestEpetraMatrixFreeApply.cpp:

Go to the source code of this file.

Functions

template<typename IntType >
IntType map_fem_graph_coord (const IntType &N, const IntType &i, const IntType &j, const IntType &k)
 
template<typename ordinal >
ordinal generate_fem_graph (ordinal N, Teuchos::Array< Teuchos::Array< ordinal > > &graph)
 
Teuchos::Array< doubletest_original_matrix_free_epetra (const Teuchos::Array< int > &var_degree, const int nGrid, const int iterCount, const bool print_flag, const bool test_block, const bool check)
 
void performance_test_driver_epetra (const int pdeg, const int minvar, const int maxvar, const int nGrid, const int nIter, const bool print, const bool test_block, const bool check, Teuchos::FancyOStream &out)
 
int main (int argc, char *argv[])
 

Function Documentation

template<typename IntType >
IntType map_fem_graph_coord ( const IntType &  N,
const IntType &  i,
const IntType &  j,
const IntType &  k 
)
inline

Definition at line 64 of file TestEpetraMatrixFreeApply.cpp.

template<typename ordinal >
ordinal generate_fem_graph ( ordinal  N,
Teuchos::Array< Teuchos::Array< ordinal > > &  graph 
)
inline

Definition at line 74 of file TestEpetraMatrixFreeApply.cpp.

Teuchos::Array<double> test_original_matrix_free_epetra ( const Teuchos::Array< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  print_flag,
const bool  test_block,
const bool  check 
)

Definition at line 107 of file TestEpetraMatrixFreeApply.cpp.

void performance_test_driver_epetra ( const int  pdeg,
const int  minvar,
const int  maxvar,
const int  nGrid,
const int  nIter,
const bool  print,
const bool  test_block,
const bool  check,
Teuchos::FancyOStream out 
)

Definition at line 270 of file TestEpetraMatrixFreeApply.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 314 of file TestEpetraMatrixFreeApply.cpp.