00001 #ifndef MLAPI_GALLERY_H 00002 #define MLAPI_GALLERY_H 00003 00013 /* ******************************************************************** */ 00014 /* See the file COPYRIGHT for a complete copyright notice, contact */ 00015 /* person and disclaimer. */ 00016 /* ******************************************************************** */ 00017 00018 #include "ml_common.h" 00019 00020 #include "ml_include.h" 00021 #include <iostream> 00022 00023 namespace Teuchos { 00024 class ParameterList; 00025 } 00026 00027 namespace MLAPI { 00028 00039 class Space; 00040 class Operator; 00041 00042 // ====================================================================== 00044 // ====================================================================== 00045 00046 Operator Gallery(const string ProblemType, const Space& MySpace); 00047 00048 // ====================================================================== 00050 // ====================================================================== 00051 00052 Operator GetShiftedLaplacian1D(const int NX, const double Factor = 0.99); 00053 00054 // ====================================================================== 00056 // ====================================================================== 00057 00058 Operator GetShiftedLaplacian2D(const int NX, const int NY, 00059 const double Factor = 0.99, 00060 const bool RandomScale = false); 00061 00062 // ====================================================================== 00064 // ====================================================================== 00065 00066 Operator ReadMatrix(const char* FileName); 00067 00068 // ====================================================================== 00070 // ====================================================================== 00071 00072 Operator GetRecirc2D(const int NX, const int NY, const double conv, 00073 const double diff); 00074 00075 // ====================================================================== 00077 // ====================================================================== 00078 00079 Teuchos::ParameterList ReadParameterList(const char* FileName); 00080 00081 } 00082 00083 #endif // MLAPI_GALLERY_H