|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
A general reduction functional to be used in specialized solve convergence criteria. More...
#include <Thyra_SolveSupportTypes.hpp>

Public non-virtual functions. | |
| ScalarTraits< Scalar > ::magnitudeType | reduce (const VectorBase< Scalar > &v) const |
| Compute the reduction over a vector. | |
| bool | isCompatible (const VectorBase< Scalar > &v) const |
Returns true if v is compatible with *this. | |
Protected virtual functions. | |
| virtual ScalarTraits< Scalar > ::magnitudeType | reduceImpl (const VectorBase< Scalar > &v) const =0 |
| | |
| virtual bool | isCompatibleImpl (const VectorBase< Scalar > &v) const =0 |
| | |
A general reduction functional to be used in specialized solve convergence criteria.
Definition at line 148 of file Thyra_SolveSupportTypes.hpp.
| ScalarTraits<Scalar>::magnitudeType Thyra::ReductionFunctional< Scalar >::reduce | ( | const VectorBase< Scalar > & | v | ) | const [inline] |
Compute the reduction over a vector.
| v | [in] The vector being reduced into a Scalar. |
Preconditions:
this->isCompatible(v) == true Definition at line 163 of file Thyra_SolveSupportTypes.hpp.
References Thyra::ReductionFunctional< Scalar >::isCompatible(), and Thyra::ReductionFunctional< Scalar >::reduceImpl().
| bool Thyra::ReductionFunctional< Scalar >::isCompatible | ( | const VectorBase< Scalar > & | v | ) | const [inline] |
Returns true if v is compatible with *this.
Definition at line 176 of file Thyra_SolveSupportTypes.hpp.
References Thyra::ReductionFunctional< Scalar >::isCompatibleImpl().
Referenced by Thyra::ReductionFunctional< Scalar >::reduce().
| virtual ScalarTraits<Scalar>::magnitudeType Thyra::ReductionFunctional< Scalar >::reduceImpl | ( | const VectorBase< Scalar > & | v | ) | const [protected, pure virtual] |
Implemented in Thyra::MockNormReductionFunctional< Scalar >.
Referenced by Thyra::ReductionFunctional< Scalar >::reduce().
| virtual bool Thyra::ReductionFunctional< Scalar >::isCompatibleImpl | ( | const VectorBase< Scalar > & | v | ) | const [protected, pure virtual] |
Implemented in Thyra::MockNormReductionFunctional< Scalar >.
Referenced by Thyra::ReductionFunctional< Scalar >::isCompatible().
1.7.4