|
Thyra Version of the Day
|
This is some basic C++ code to support the development of Thyra subclass implementations. More...

Functions | |
| template<class Scalar > | |
| void | Thyra::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(). | |
| template<class Scalar > | |
| void | Thyra::apply_op_validate_input (const std::string &func_name, const VectorSpaceBase< Scalar > &domain, const VectorSpaceBase< Scalar > &range, const RTOpPack::RTOpT< Scalar > &primary_op, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &multi_vecs, const ArrayView< const Ptr< MultiVectorBase< Scalar > > > &targ_multi_vecs, const ArrayView< const Ptr< RTOpPack::ReductTarget > > &reduct_objs, const Ordinal primary_global_offset) |
Validate the inputs to MultiVectorBase::applyOp(). | |
This is some basic C++ code to support the development of Thyra subclass implementations.
| void Thyra::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().
Throws an exception with a nice error message if one of the preconditions are not met.
Definition at line 22 of file Thyra_apply_op_helper_def.hpp.
| void Thyra::apply_op_validate_input | ( | const std::string & | func_name, |
| const VectorSpaceBase< Scalar > & | domain, | ||
| const VectorSpaceBase< Scalar > & | range, | ||
| const RTOpPack::RTOpT< Scalar > & | primary_op, | ||
| const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > & | multi_vecs, | ||
| const ArrayView< const Ptr< MultiVectorBase< Scalar > > > & | targ_multi_vecs, | ||
| const ArrayView< const Ptr< RTOpPack::ReductTarget > > & | reduct_objs, | ||
| const Ordinal | primary_global_offset | ||
| ) |
Validate the inputs to MultiVectorBase::applyOp().
Throws an exception with a nice error message if one of the preconditions are not met.
Definition at line 46 of file Thyra_apply_op_helper_def.hpp.