55 ,normalizeBasis_(false)
60 ,supportDerivatives_(true)
64 Teuchos::CommandLineProcessor *clp
67 clp->setOption(
"len-x", &len_x_,
"Mesh dimension in the x direction (Overridden by --geom-file-base)." );
68 clp->setOption(
"len-y", &len_y_,
"Mesh dimension in the y direction (Overridden by --geom-file-base)." );
69 clp->setOption(
"local-nx", &local_nx_,
"Number of local discretization segments in the x direction (Overridden by --geom-file-base)." );
70 clp->setOption(
"local-ny", &local_ny_,
"Number of local discretization segments in the y direction (Overridden by --geom-file-base)." );
71 clp->setOption(
"geom-file-base", &geomFileBase_,
"Base name of geometry file to read the mesh from." );
72 clp->setOption(
"np", &np_,
"The number of optimization parameters p (If < 0 then all of boundary is used)" );
73 clp->setOption(
"normalize-basis",
"no-normalize-basis", &normalizeBasis_,
"Normalize the basis for the parameters p or not." );
74 clp->setOption(
"beta", &beta_,
"Regularization." );
75 clp->setOption(
"reaction-rate", &reactionRate_,
"The rate of the reaction" );
76 clp->setOption(
"x0", &x0_,
"Initial guess for the state." );
77 clp->setOption(
"p0", &p0_,
"Initial guess or nonminal value for optimization parameters." );
78 clp->setOption(
"support-derivatives",
"no-support-derivatives",&supportDerivatives_,
"Support derivatives or not." );
81 Teuchos::RCP<AdvDiffReactOptModel>
83 const Teuchos::RCP<const Epetra_Comm> &comm
89 comm,beta_,len_x_,len_y_,local_nx_,local_ny_,geomFileBase_.c_str()
90 ,np_,x0_,p0_,reactionRate_,normalizeBasis_,supportDerivatives_
PDE-constrained inverse problem based on a 2D discretization of a diffusion/reaction system...
AdvDiffReactOptModelCreator()
void setupCLP(Teuchos::CommandLineProcessor *clp)
Teuchos::RCP< AdvDiffReactOptModel > createModel(const Teuchos::RCP< const Epetra_Comm > &comm, std::ostream *out=NULL) const