|
Stokhos Development
|
Nonlinear, inverse stochastic Galerkin ModelEvaluator. More...
#include <Stokhos_SGInverseModelEvaluator.hpp>
Public Member Functions | |
| SGInverseModelEvaluator (const Teuchos::RCP< EpetraExt::ModelEvaluator > &me, const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &sg_basis, const Teuchos::Array< int > &sg_p_index, const Teuchos::Array< int > &non_sg_p_index, const Teuchos::Array< int > &sg_g_index, const Teuchos::Array< int > &non_sg_g_index, const Teuchos::Array< Teuchos::RCP< const Epetra_Map > > &base_p_maps, const Teuchos::Array< Teuchos::RCP< const Epetra_Map > > &base_g_maps) | |
Overridden from EpetraExt::ModelEvaluator . | |
| Teuchos::RCP< const Epetra_Map > | get_x_map () const |
| Return solution vector map. | |
| Teuchos::RCP< const Epetra_Map > | get_f_map () const |
| Return residual vector map. | |
| Teuchos::RCP< const Epetra_Map > | get_p_map (int l) const |
| Return parameter vector map. | |
| Teuchos::RCP< const Epetra_Map > | get_p_sg_map (int l) const |
| Return parameter vector map. | |
| Teuchos::RCP< const Epetra_Map > | get_g_map (int l) const |
| Return response map. | |
| Teuchos::RCP< const Epetra_Map > | get_g_sg_map (int l) const |
| Return observation vector map. | |
|
Teuchos::RCP< const Teuchos::Array< std::string > > | get_p_names (int l) const |
| Return array of parameter names. | |
|
Teuchos::RCP< const Teuchos::Array< std::string > > | get_p_sg_names (int l) const |
| Return array of parameter names. | |
| Teuchos::RCP< const Epetra_Vector > | get_p_init (int l) const |
| Return initial parameters. | |
|
Teuchos::RCP< const Stokhos::EpetraVectorOrthogPoly > | get_p_sg_init (int l) const |
| Return initial parameters. | |
| InArgs | createInArgs () const |
| Create InArgs. | |
| OutArgs | createOutArgs () const |
| Create OutArgs. | |
| void | evalModel (const InArgs &inArgs, const OutArgs &outArgs) const |
| Evaluate model on InArgs. | |
Protected Attributes | |
|
Teuchos::RCP < EpetraExt::ModelEvaluator > | me |
| Underlying model evaluator. | |
|
Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > | sg_basis |
| Stochastic Galerkin basis. | |
| Teuchos::Array< int > | sg_p_index |
| Index of stochastic parameters. | |
| Teuchos::Array< int > | non_sg_p_index |
| Index of non-stochastic parameters. | |
| Teuchos::Array< int > | sg_g_index |
| Index of stochastic responses. | |
| Teuchos::Array< int > | non_sg_g_index |
| Index of non-stochastic responses. | |
|
Teuchos::Array< Teuchos::RCP < const Epetra_Map > > | base_p_maps |
| Base maps of block p vectors. | |
|
Teuchos::Array< Teuchos::RCP < const Epetra_Map > > | base_g_maps |
| Base maps of block g vectors. | |
| int | num_sg_blocks |
| Number of stochastic blocks. | |
| int | num_p_sg |
| Number of stochastic parameter vectors. | |
| int | num_p |
| Number of non-stochastic parameter vectors. | |
| int | num_g_sg |
| Number of stochastic response vectors. | |
| int | num_g |
| Number of non-stochastic response vectors. | |
|
Teuchos::Array< Teuchos::RCP < Epetra_Vector > > | block_p |
| Block SG p vectors. | |
|
Teuchos::Array< Teuchos::RCP < Epetra_Vector > > | block_g |
| Block SG g vectors. | |
|
Teuchos::Array< Teuchos::Array < Teuchos::RCP < Epetra_MultiVector > > > | block_dgdp |
| Block SG dg/dp vectors. | |
Nonlinear, inverse stochastic Galerkin ModelEvaluator.
SGInverseModelEvaluator is an implementation of EpetraExt::ModelEvaluator that does the inverse of SGModelEvalutor, namely it takes SG versions of the p InArgs and g and dg/dp OutArgs, and converts them to block vectors that are passed to the underlying model evaluator. This allows block nonlinear problems to appear to SG problems.
1.7.4