Thyra
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. More... | |
bool | isCompatible (const VectorBase< Scalar > &v) const |
Returns true if v is compatible with *this . More... | |
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 129 of file Thyra_SolveSupportTypes.hpp.
|
inline |
Compute the reduction over a vector.
v | [in] The vector being reduced into a Scalar. |
Preconditions:
this->isCompatible(v) == true
Definition at line 144 of file Thyra_SolveSupportTypes.hpp.
|
inline |
Returns true
if v
is compatible with *this
.
Definition at line 157 of file Thyra_SolveSupportTypes.hpp.
|
protectedpure virtual |
|
protectedpure virtual |