68 std::string op_method = params->
get(
"Operator Method",
"Matrix Free");
69 if (op_method ==
"Matrix Free") {
71 sg_comm, sg_basis, epetraCijk,
72 domain_base_map, range_base_map,
73 domain_sg_map, range_sg_map, params));
75 else if (op_method ==
"KL Matrix Free") {
77 sg_comm, sg_basis, epetraCijk,
78 domain_base_map, range_base_map,
79 domain_sg_map, range_sg_map, params));
81 else if (op_method ==
"KL Reduced Matrix Free") {
83 sg_comm, sg_basis, epetraCijk,
84 domain_base_map, range_base_map,
85 domain_sg_map, range_sg_map, params));
87 else if (op_method ==
"Fully Assembled") {
91 sg_comm, sg_basis, epetraCijk, base_graph,
92 domain_sg_map, range_sg_map, params));
96 "Error! Unknown operator method " << op_method
An Epetra operator representing the block stochastic Galerkin operator.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
An Epetra operator representing the block stochastic Galerkin operator.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual Teuchos::RCP< Stokhos::SGOperator > build(const Teuchos::RCP< const EpetraExt::MultiComm > &sg_comm, const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &sg_basis, const Teuchos::RCP< const Stokhos::EpetraSparse3Tensor > &epetraCijk, const Teuchos::RCP< const Epetra_Map > &domain_base_map, const Teuchos::RCP< const Epetra_Map > &range_base_map, const Teuchos::RCP< const Epetra_Map > &domain_sg_map, const Teuchos::RCP< const Epetra_Map > &range_sg_map)
Build preconditioner operator.
SGOperatorFactory(const Teuchos::RCP< Teuchos::ParameterList > ¶ms)
Constructor.
An Epetra operator representing the block stochastic Galerkin operator.
An Epetra operator representing the block stochastic Galerkin operator generated by fully assembling ...