|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
This is some basic C++ code to support the development of Thyra subclass implementations. More...
|
Modules | |
| Internal Helper Code not meant for General Use | |
Some support code that is not meant for general programmers to access. | |
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 41 of file Thyra_apply_op_helper_def.hpp.
References THYRA_ASSERT_VEC_SPACES.
Referenced by Thyra::SpmdVectorBase< Scalar >::applyOpImplWithComm(), and Thyra::SpmdMultiVectorBase< Scalar >::mvMultiReductApplyOpImpl().
| 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 65 of file Thyra_apply_op_helper_def.hpp.
References THYRA_ASSERT_VEC_SPACES.
1.7.4