Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Miscellaneous Support Code for Developing Thyra Operator/Vector Subclass Implementations

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

Collaboration diagram for Miscellaneous Support Code for Developing Thyra Operator/Vector Subclass Implementations:

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(). More...
 
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(). More...
 

Detailed Description

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

Function Documentation

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().

Throws an exception with a nice error message if one of the preconditions are not met.

Definition at line 54 of file Thyra_apply_op_helper_def.hpp.

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().

Throws an exception with a nice error message if one of the preconditions are not met.

Definition at line 78 of file Thyra_apply_op_helper_def.hpp.