|
EpetraExt Development
|
00001 #include "GLpApp_AdvDiffReactOptModel.hpp" 00002 #include "Teuchos_CommandLineProcessor.hpp" 00003 00004 namespace GLpApp { 00005 00009 class AdvDiffReactOptModelCreator { 00010 public: 00011 00013 AdvDiffReactOptModelCreator(); 00014 00016 void setupCLP( Teuchos::CommandLineProcessor *clp ); 00017 00019 Teuchos::RefCountPtr<AdvDiffReactOptModel> 00020 createModel( 00021 const Teuchos::RefCountPtr<const Epetra_Comm> &comm 00022 ,std::ostream *out = NULL 00023 ) const; 00024 00025 private: 00026 00027 double len_x_; 00028 double len_y_; 00029 int local_nx_; 00030 int local_ny_; 00031 std::string geomFileBase_; 00032 int np_; 00033 bool normalizeBasis_; 00034 double reactionRate_; 00035 double beta_; 00036 double x0_; 00037 double p0_; 00038 bool supportDerivatives_; 00039 00040 }; 00041 00042 } // namespace GLpApp
1.7.4