51 namespace AbstractLinAlgPack {
59 const Teuchos::RCP<
const Thyra::VectorSpaceBase<value_type> >& thyra_vec_spc
66 const Teuchos::RCP<
const Thyra::VectorSpaceBase<value_type> >& thyra_vec_spc
71 ,
"InnerProductThyra::initialize(thyra_vec_spc): Error!"
81 return tmp_thyra_vec_spc;
89 return thyra_vec_spc_->scalarProd(
90 *dyn_cast<const VectorMutableThyra>(v1).thyra_vec()
91 ,*dyn_cast<const VectorMutableThyra>(v1).thyra_vec()
InnerProductThyra()
Construct to uninitialized.
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
const RCP< const Thyra::VectorSpaceBase< value_type > > & thyra_vec_spc() const
Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorSpaceBase<value_...
value_type inner_prod(const Vector &v1, const Vector &v2) const
RTOp_value_type value_type
RCP< const Thyra::VectorSpaceBase< value_type > > set_uninitialized()
Set to uninitialized and return smart pointer to the internal Thyra::VectorSpaceBase<value_type> obj...
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
T_To & dyn_cast(T_From &from)
void initialize(const RCP< const Thyra::VectorSpaceBase< value_type > > &thyra_vec_spc)
Initalize given a smart pointer to a Thyra::VetorSpace object.