Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_apply_op_helper_decl.hpp
1 // @HEADER
2 // *****************************************************************************
3 // Thyra: Interfaces and Support for Abstract Numerical Algorithms
4 //
5 // Copyright 2004 NTESS and the Thyra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef THYRA_APPLY_OP_HELPER_DECL_HPP
11 #define THYRA_APPLY_OP_HELPER_DECL_HPP
12 
13 #include "Thyra_OperatorVectorTypes.hpp"
14 #include "RTOpPack_RTOpT.hpp"
15 
16 
17 namespace Thyra {
18 
19 
27 template<class Scalar>
29  const std::string &func_name,
30  const VectorSpaceBase<Scalar> &space,
31  const RTOpPack::RTOpT<Scalar> &op,
32  const ArrayView<const Ptr<const VectorBase<Scalar> > > &vecs,
33  const ArrayView<const Ptr<VectorBase<Scalar> > > &targ_vecs,
34  const Ptr<RTOpPack::ReductTarget> &reduct_obj,
35  const Ordinal global_offset
36  );
37 
38 
46 template<class Scalar>
48  const std::string &func_name,
49  const VectorSpaceBase<Scalar> &domain,
50  const VectorSpaceBase<Scalar> &range,
51  const RTOpPack::RTOpT<Scalar> &primary_op,
52  const ArrayView<const Ptr<const MultiVectorBase<Scalar> > > &multi_vecs,
53  const ArrayView<const Ptr<MultiVectorBase<Scalar> > > &targ_multi_vecs,
54  const ArrayView<const Ptr<RTOpPack::ReductTarget> > &reduct_objs,
55  const Ordinal primary_global_offset
56  );
57 
58 
59 } // end namespace Thyra
60 
61 
62 #endif // THYRA_APPLY_OP_HELPER_DECL_HPP
void apply_op_validate_input(const std::string &func_name, const VectorSpaceBase< Scalar > &space, const RTOpPack::RTOpT< Scalar > &op, const ArrayView< const Ptr< const VectorBase< Scalar > > > &vecs, const ArrayView< const Ptr< VectorBase< Scalar > > > &targ_vecs, const Ptr< RTOpPack::ReductTarget > &reduct_obj, const Ordinal global_offset)
Validate the inputs to VectorBase::applyOp().
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.