Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Functions | Variables
cusp_sa_blockcg.cpp File Reference
#include <iostream>
#include <cusp/precond/block_smoothed_aggregation.h>
#include <cusp/gallery/poisson.h>
#include <cusp/csr_matrix.h>
#include <cusp/krylov/blockcg.h>
#include <cusp/block_monitor.h>
#include "Teuchos_CommandLineProcessor.hpp"
#include "Teuchos_TimeMonitor.hpp"
#include "Teuchos_StandardCatchMacros.hpp"
Include dependency graph for cusp_sa_blockcg.cpp:

Go to the source code of this file.

Enumerations

enum  Orient { ROW, COL }
 

Functions

template<typename IndexType , typename ValueType , typename MemorySpace , typename Orientation >
void cusp_sa_block_cg (IndexType nx, IndexType ny, IndexType nz, IndexType nrhs, IndexType max_its, ValueType tol, bool verbose)
 
int main (int argc, char *argv[])
 

Variables

const int num_orient = 2
 
const Orient orient_values [] = { ROW, COL }
 
const char * orient_names [] = { "row", "col" }
 

Enumeration Type Documentation

enum Orient
Enumerator
ROW 
COL 

Definition at line 65 of file cusp_sa_blockcg.cpp.

Function Documentation

template<typename IndexType , typename ValueType , typename MemorySpace , typename Orientation >
void cusp_sa_block_cg ( IndexType  nx,
IndexType  ny,
IndexType  nz,
IndexType  nrhs,
IndexType  max_its,
ValueType  tol,
bool  verbose 
)

Definition at line 26 of file cusp_sa_blockcg.cpp.

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

Definition at line 70 of file cusp_sa_blockcg.cpp.

Variable Documentation

const int num_orient = 2

Definition at line 66 of file cusp_sa_blockcg.cpp.

const Orient orient_values[] = { ROW, COL }

Definition at line 67 of file cusp_sa_blockcg.cpp.

const char* orient_names[] = { "row", "col" }

Definition at line 68 of file cusp_sa_blockcg.cpp.