42 #ifndef STOKHOS_SGMODELEVALUATORBASE_HPP 43 #define STOKHOS_SGMODELEVALUATORBASE_HPP 45 #include "EpetraExt_ModelEvaluator.h" 46 #include "EpetraExt_BlockVector.h" 48 #include "Teuchos_RCP.hpp" 49 #include "Teuchos_Array.hpp" 68 virtual Teuchos::RCP<const Stokhos::EpetraVectorOrthogPoly>
get_x_sg_init()
const = 0;
74 virtual Teuchos::RCP<const Stokhos::EpetraVectorOrthogPoly>
get_p_sg_init(
int l)
const = 0;
89 virtual Teuchos::Array< Teuchos::RCP<const Epetra_Map> >
get_g_sg_base_maps()
const = 0;
101 virtual Teuchos::RCP<Stokhos::EpetraVectorOrthogPoly>
106 virtual Teuchos::RCP<Stokhos::EpetraVectorOrthogPoly>
111 virtual Teuchos::RCP<Stokhos::EpetraMultiVectorOrthogPoly>
117 virtual Teuchos::RCP<Stokhos::EpetraMultiVectorOrthogPoly>
123 virtual Teuchos::RCP<Stokhos::EpetraVectorOrthogPoly>
128 virtual Teuchos::RCP<Stokhos::EpetraVectorOrthogPoly>
133 virtual Teuchos::RCP<Stokhos::EpetraVectorOrthogPoly>
138 virtual Teuchos::RCP<Stokhos::EpetraMultiVectorOrthogPoly>
143 virtual Teuchos::RCP<Stokhos::EpetraMultiVectorOrthogPoly>
148 virtual Teuchos::RCP<Stokhos::EpetraVectorOrthogPoly>
153 virtual Teuchos::RCP<Stokhos::EpetraMultiVectorOrthogPoly>
161 #endif // STOKHOS_SGMODELEVALUATORBASE_HPP
virtual Teuchos::Array< Teuchos::RCP< const Epetra_Map > > get_g_sg_base_maps() const =0
Get base maps of SG responses.
virtual Teuchos::RCP< const Epetra_BlockMap > get_overlap_stochastic_map() const =0
Return overlap stochastic map.
virtual ~SGModelEvaluatorBase()
Destructor.
virtual Teuchos::RCP< Stokhos::EpetraVectorOrthogPoly > create_p_sg(int l, Epetra_DataAccess CV=Copy, const Epetra_Vector *v=NULL) const =0
Create vector orthog poly using p map.
virtual Teuchos::RCP< Stokhos::EpetraMultiVectorOrthogPoly > create_g_mv_sg(int l, int num_vecs, Epetra_DataAccess CV=Copy, const Epetra_MultiVector *v=NULL) const =0
Create multi-vector orthog poly using g map.
virtual Teuchos::Array< int > get_g_sg_map_indices() const =0
Get indices of SG responses.
virtual Teuchos::RCP< Stokhos::EpetraVectorOrthogPoly > create_g_sg(int l, Epetra_DataAccess CV=Copy, const Epetra_Vector *v=NULL) const =0
Create vector orthog poly using g map.
virtual Teuchos::Array< int > get_p_sg_map_indices() const =0
Get indices of SG parameters.
virtual Teuchos::RCP< const Epetra_BlockMap > get_x_sg_overlap_map() const =0
Return x sg overlap map.
A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor.
Top-level namespace for Stokhos classes and functions.
virtual Teuchos::RCP< Stokhos::EpetraMultiVectorOrthogPoly > create_f_mv_sg(int num_vecs, Epetra_DataAccess CV=Copy, const Epetra_MultiVector *v=NULL) const =0
Create multi-vector orthog poly using f map and owned sg map.
virtual Teuchos::RCP< Stokhos::EpetraMultiVectorOrthogPoly > create_x_mv_sg_overlap(int num_vecs, Epetra_DataAccess CV=Copy, const Epetra_MultiVector *v=NULL) const =0
Create vector orthog poly using x map and overlap sg map.
virtual Teuchos::RCP< Stokhos::EpetraMultiVectorOrthogPoly > create_x_mv_sg(int num_vecs, Epetra_DataAccess CV=Copy, const Epetra_MultiVector *v=NULL) const =0
Create vector orthog poly using x map and owned sg map.
virtual void set_x_sg_init(const Stokhos::EpetraVectorOrthogPoly &x_sg_in)=0
Set initial solution polynomial.
virtual Teuchos::RCP< Stokhos::EpetraVectorOrthogPoly > create_f_sg(Epetra_DataAccess CV=Copy, const Epetra_Vector *v=NULL) const =0
Create vector orthog poly using f map and owned sg map.
virtual void set_p_sg_init(int i, const Stokhos::EpetraVectorOrthogPoly &p_sg_in)=0
Set initial parameter polynomial.
virtual Teuchos::RCP< Stokhos::EpetraVectorOrthogPoly > create_f_sg_overlap(Epetra_DataAccess CV=Copy, const Epetra_Vector *v=NULL) const =0
Create vector orthog poly using f map and overlap sg map.
virtual Teuchos::RCP< Stokhos::EpetraVectorOrthogPoly > create_x_sg_overlap(Epetra_DataAccess CV=Copy, const Epetra_Vector *v=NULL) const =0
Create vector orthog poly using x map and overlap sg map.
virtual Teuchos::RCP< const Stokhos::EpetraVectorOrthogPoly > get_x_sg_init() const =0
Return initial SG x.
virtual Teuchos::RCP< Stokhos::EpetraMultiVectorOrthogPoly > create_f_mv_sg_overlap(int num_vecs, Epetra_DataAccess CV=Copy, const Epetra_MultiVector *v=NULL) const =0
Create multi-vector orthog poly using f map and overlap sg map.
Base class for stochastic Galerkin model evaluators.
virtual Teuchos::RCP< const Epetra_Import > get_x_sg_importer() const =0
Return x sg importer.
virtual Teuchos::RCP< Stokhos::EpetraVectorOrthogPoly > create_x_sg(Epetra_DataAccess CV=Copy, const Epetra_Vector *v=NULL) const =0
Create vector orthog poly using x map and owned sg map.
virtual Teuchos::RCP< const Stokhos::EpetraVectorOrthogPoly > get_p_sg_init(int l) const =0
Return initial SG parameters.