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
linear2d_diffusion_pce_nox_sg_solvers.cpp File Reference
#include "twoD_diffusion_ME.hpp"
#include "Epetra_SerialComm.h"
#include "NOX.H"
#include "NOX_Epetra.H"
#include "NOX_Epetra_LinearSystem_Stratimikos.H"
#include "NOX_Epetra_LinearSystem_SGGS.hpp"
#include "NOX_Epetra_LinearSystem_SGJacobi.hpp"
#include "Stokhos_Epetra.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
#include "Teuchos_TimeMonitor.hpp"
#include "Teuchos_Assert.hpp"
#include "EpetraExt_VectorOut.h"
Include dependency graph for linear2d_diffusion_pce_nox_sg_solvers.cpp:

Go to the source code of this file.

Enumerations

enum  Krylov_Solver { AZTECOO, BELOS, AZTECOO, BELOS }
 
enum  SG_Solver { SG_KRYLOV, SG_GS, SG_JACOBI }
 
enum  Krylov_Method {
  GMRES, CG, GMRES, CG,
  FGMRES, RGMRES, GMRES, CG,
  GMRES, CG, FGMRES, RGMRES,
  GMRES, CG, GMRES, CG
}
 
enum  SG_Op { MATRIX_FREE, KL_MATRIX_FREE, KL_REDUCED_MATRIX_FREE, FULLY_ASSEMBLED }
 
enum  SG_Prec {
  MEAN, GS, AGS, AJ,
  ASC, KP, NONE, NONE,
  MEAN, STOCHASTIC, NONE, MEAN,
  STOCHASTIC
}
 
enum  SG_RF {
  UNIFORM, CC_UNIFORM, RYS, LOGNORMAL,
  UNIFORM, CC_UNIFORM, RYS, LOGNORMAL,
  UNIFORM, CC_UNIFORM, RYS, LOGNORMAL,
  UNIFORM, RYS, LOGNORMAL, UNIFORM,
  LOGNORMAL, UNIFORM, LOGNORMAL
}
 

Functions

double uniform_weight (const double &x)
 
int main (int argc, char *argv[])
 

Variables

const int num_krylov_solver = 2
 
const Krylov_Solver krylov_solver_values [] = { AZTECOO, BELOS }
 
const char * krylov_solver_names [] = { "AztecOO", "Belos" }
 
const int num_sg_solver = 3
 
const SG_Solver sg_solver_values [] = { SG_KRYLOV, SG_GS, SG_JACOBI }
 
const char * sg_solver_names [] = { "Krylov", "Gauss-Seidel", "Jacobi" }
 
const int num_krylov_method = 4
 
const Krylov_Method krylov_method_values [] = { GMRES, CG, FGMRES, RGMRES }
 
const char * krylov_method_names [] = { "GMRES", "CG", "FGMRES", "RGMRES" }
 
const int num_sg_op = 4
 
const SG_Op sg_op_values [] = { MATRIX_FREE, KL_MATRIX_FREE, KL_REDUCED_MATRIX_FREE, FULLY_ASSEMBLED }
 
const char * sg_op_names []
 
const int num_sg_prec = 7
 
const SG_Prec sg_prec_values [] = { MEAN, GS, AGS, AJ, ASC, KP, NONE }
 
const char * sg_prec_names []
 
const int num_sg_rf = 3
 
const SG_RF sg_rf_values [] = { UNIFORM, RYS, LOGNORMAL }
 
const char * sg_rf_names [] = { "Uniform", "Rys", "Log-Normal" }
 

Enumeration Type Documentation

Enumerator
AZTECOO 
BELOS 
AZTECOO 
BELOS 

Definition at line 76 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

enum SG_Solver
Enumerator
SG_KRYLOV 
SG_GS 
SG_JACOBI 

Definition at line 82 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

Enumerator
GMRES 
CG 
GMRES 
CG 
FGMRES 
RGMRES 
GMRES 
CG 
GMRES 
CG 
FGMRES 
RGMRES 
GMRES 
CG 
GMRES 
CG 

Definition at line 88 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

enum SG_Op
Enumerator
MATRIX_FREE 
KL_MATRIX_FREE 
KL_REDUCED_MATRIX_FREE 
FULLY_ASSEMBLED 

Definition at line 94 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

enum SG_Prec
Enumerator
MEAN 
GS 
AGS 
AJ 
ASC 
KP 
NONE 
NONE 
MEAN 
STOCHASTIC 
NONE 
MEAN 
STOCHASTIC 

Definition at line 103 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

enum SG_RF
Enumerator
UNIFORM 
CC_UNIFORM 
RYS 
LOGNORMAL 
UNIFORM 
CC_UNIFORM 
RYS 
LOGNORMAL 
UNIFORM 
CC_UNIFORM 
RYS 
LOGNORMAL 
UNIFORM 
RYS 
LOGNORMAL 
UNIFORM 
LOGNORMAL 
UNIFORM 
LOGNORMAL 

Definition at line 115 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

Function Documentation

double uniform_weight ( const double x)

Definition at line 71 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

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

Definition at line 120 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

Variable Documentation

const int num_krylov_solver = 2

Definition at line 77 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const Krylov_Solver krylov_solver_values[] = { AZTECOO, BELOS }

Definition at line 78 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const char* krylov_solver_names[] = { "AztecOO", "Belos" }

Definition at line 79 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const int num_sg_solver = 3

Definition at line 83 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const SG_Solver sg_solver_values[] = { SG_KRYLOV, SG_GS, SG_JACOBI }

Definition at line 84 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const char* sg_solver_names[] = { "Krylov", "Gauss-Seidel", "Jacobi" }

Definition at line 85 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const int num_krylov_method = 4

Definition at line 89 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const Krylov_Method krylov_method_values[] = { GMRES, CG, FGMRES, RGMRES }

Definition at line 90 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const char* krylov_method_names[] = { "GMRES", "CG", "FGMRES", "RGMRES" }

Definition at line 91 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const int num_sg_op = 4

Definition at line 95 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

Definition at line 96 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const char* sg_op_names[]
Initial value:
= { "Matrix-Free",
"KL-Matrix-Free",
"KL-Reduced-Matrix-Free",
"Fully-Assembled" }

Definition at line 97 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const int num_sg_prec = 7

Definition at line 104 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const SG_Prec sg_prec_values[] = { MEAN, GS, AGS, AJ, ASC, KP, NONE }

Definition at line 105 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const char* sg_prec_names[]
Initial value:
= { "Mean-Based",
"Gauss-Seidel",
"Approx-Gauss-Seidel",
"Approx-Jacobi",
"Approx-Schur-Complement",
"Kronecker-Product",
"None" }

Definition at line 106 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const int num_sg_rf = 3

Definition at line 116 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const SG_RF sg_rf_values[] = { UNIFORM, RYS, LOGNORMAL }

Definition at line 117 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.

const char* sg_rf_names[] = { "Uniform", "Rys", "Log-Normal" }

Definition at line 118 of file linear2d_diffusion_pce_nox_sg_solvers.cpp.