|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
Represents a zero linear operator M = 0.
More...
#include <Thyra_DefaultZeroLinearOp_decl.hpp>

Private Member Functions | |
| DefaultZeroLinearOp (const DefaultZeroLinearOp &) | |
| DefaultZeroLinearOp & | operator= (const DefaultZeroLinearOp &) |
Private Attributes | |
| RCP< const VectorSpaceBase < Scalar > > | range_ |
| RCP< const VectorSpaceBase < Scalar > > | domain_ |
Related Functions | |
(Note that these are not member functions.) | |
| template<class Scalar > | |
| RCP< const LinearOpBase< Scalar > > | zero (const RCP< const VectorSpaceBase< Scalar > > &range, const RCP< const VectorSpaceBase< Scalar > > &domain) |
| Create a zero linear operator with given range and domain spaces. | |
Constructors/initializers/accessors | |
| DefaultZeroLinearOp () | |
| Construct to uninitialized. | |
| DefaultZeroLinearOp (const RCP< const VectorSpaceBase< Scalar > > &range, const RCP< const VectorSpaceBase< Scalar > > &domain) | |
| void | initialize (const RCP< const VectorSpaceBase< Scalar > > &range, const RCP< const VectorSpaceBase< Scalar > > &domain) |
| Initialize given a list of non-const linear operators. | |
| void | uninitialize () |
| Set to uninitialized. | |
Overridden from LinearOpBase | |
| RCP< const VectorSpaceBase < Scalar > > | range () const |
Returns Teuchos::null if uninitialized. | |
| RCP< const VectorSpaceBase < Scalar > > | domain () const |
Returns Teuchos::null if uninitialized. | |
| RCP< const LinearOpBase< Scalar > > | clone () const |
| | |
| bool | opSupportedImpl (EOpTransp M_trans) const |
Returns true . | |
| void | applyImpl (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const |
| | |
Overridden from Teuchos::Describable | |
| std::string | description () const |
Prints just the name DefaultZeroLinearOp along with the overall dimensions. | |
Represents a zero linear operator M = 0.
This class implements:
y = alpha*op(M)*x + beta*y => y = beta*y
Definition at line 56 of file Thyra_DefaultZeroLinearOp_decl.hpp.
| Thyra::DefaultZeroLinearOp< Scalar >::DefaultZeroLinearOp | ( | ) |
Construct to uninitialized.
Postconditions:
this->range().get()==NULL Definition at line 44 of file Thyra_DefaultZeroLinearOp_def.hpp.
| Thyra::DefaultZeroLinearOp< Scalar >::DefaultZeroLinearOp | ( | const RCP< const VectorSpaceBase< Scalar > > & | range, |
| const RCP< const VectorSpaceBase< Scalar > > & | domain | ||
| ) |
Calls initialize().
Definition at line 49 of file Thyra_DefaultZeroLinearOp_def.hpp.
| Thyra::DefaultZeroLinearOp< Scalar >::DefaultZeroLinearOp | ( | const DefaultZeroLinearOp< Scalar > & | ) | [private] |
| void Thyra::DefaultZeroLinearOp< Scalar >::initialize | ( | const RCP< const VectorSpaceBase< Scalar > > & | range, |
| const RCP< const VectorSpaceBase< Scalar > > & | domain | ||
| ) |
Initialize given a list of non-const linear operators.
| range | [in] Range vector space. |
| range | [in] Domain vector space. |
Preconditions:
range.get()!=NULL domain.get()!=NULL Postconditions:
Definition at line 59 of file Thyra_DefaultZeroLinearOp_def.hpp.
| void Thyra::DefaultZeroLinearOp< Scalar >::uninitialize | ( | ) |
Set to uninitialized.
Postconditions:
this->range().get()==NULL Definition at line 70 of file Thyra_DefaultZeroLinearOp_def.hpp.
| RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultZeroLinearOp< Scalar >::range | ( | ) | const [virtual] |
Returns Teuchos::null if uninitialized.
Implements Thyra::LinearOpBase< Scalar >.
Definition at line 82 of file Thyra_DefaultZeroLinearOp_def.hpp.
| RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultZeroLinearOp< Scalar >::domain | ( | ) | const [virtual] |
Returns Teuchos::null if uninitialized.
Implements Thyra::LinearOpBase< Scalar >.
Definition at line 90 of file Thyra_DefaultZeroLinearOp_def.hpp.
| RCP< const LinearOpBase< Scalar > > Thyra::DefaultZeroLinearOp< Scalar >::clone | ( | ) | const [virtual] |
Reimplemented from Thyra::LinearOpBase< Scalar >.
Definition at line 98 of file Thyra_DefaultZeroLinearOp_def.hpp.
| std::string Thyra::DefaultZeroLinearOp< Scalar >::description | ( | ) | const |
Prints just the name DefaultZeroLinearOp along with the overall dimensions.
Definition at line 111 of file Thyra_DefaultZeroLinearOp_def.hpp.
| bool Thyra::DefaultZeroLinearOp< Scalar >::opSupportedImpl | ( | EOpTransp | M_trans | ) | const [protected, virtual] |
Returns true .
Implements Thyra::LinearOpBase< Scalar >.
Definition at line 131 of file Thyra_DefaultZeroLinearOp_def.hpp.
| void Thyra::DefaultZeroLinearOp< Scalar >::applyImpl | ( | const EOpTransp | M_trans, |
| const MultiVectorBase< Scalar > & | X, | ||
| const Ptr< MultiVectorBase< Scalar > > & | Y, | ||
| const Scalar | alpha, | ||
| const Scalar | beta | ||
| ) | const [protected, virtual] |
Implements Thyra::LinearOpBase< Scalar >.
Definition at line 138 of file Thyra_DefaultZeroLinearOp_def.hpp.
References Thyra::scale(), and THYRA_ASSERT_LINEAR_OP_MULTIVEC_APPLY_SPACES.
| DefaultZeroLinearOp& Thyra::DefaultZeroLinearOp< Scalar >::operator= | ( | const DefaultZeroLinearOp< Scalar > & | ) | [private] |
| RCP< const LinearOpBase< Scalar > > zero | ( | const RCP< const VectorSpaceBase< Scalar > > & | range, |
| const RCP< const VectorSpaceBase< Scalar > > & | domain | ||
| ) | [related] |
Create a zero linear operator with given range and domain spaces.
Referenced by ExampleTridiagSpmdLinearOp< Scalar >::applyImpl(), and sillyCgSolve().
RCP<const VectorSpaceBase<Scalar> > Thyra::DefaultZeroLinearOp< Scalar >::range_ [private] |
Definition at line 154 of file Thyra_DefaultZeroLinearOp_decl.hpp.
RCP<const VectorSpaceBase<Scalar> > Thyra::DefaultZeroLinearOp< Scalar >::domain_ [private] |
Definition at line 155 of file Thyra_DefaultZeroLinearOp_decl.hpp.
1.7.4