
Public Member Functions | |
| SimpleBlockOp (const VectorSpace< Scalar > &domain, const VectorSpace< Scalar > &range) | |
| int | numBlockRows () const |
| int | numBlockCols () const |
| const LinearOperator< Scalar > & | getBlock (int i, int j) const |
| LinearOperator< Scalar > | getNonconstBlock (int i, int j) |
| void | setBlock (int i, int j, const LinearOperator< Scalar > &Aij) |
| void | apply (Teuchos::ETransp transApplyType, const Vector< Scalar > &in, Vector< Scalar > out) const |
Private Attributes | |
| Array< Array< LinearOperator < Scalar > > > | blocks_ |
Related Functions | |
| (Note that these are not member functions.) | |
| template<class Scalar > | |
| LinearOperator< Scalar > | makeBlockOperator (const VectorSpace< Scalar > &domain, const VectorSpace< Scalar > &range) |
Definition at line 27 of file PlayaSimpleBlockOpDecl.hpp.
| Playa::SimpleBlockOp< Scalar >::SimpleBlockOp | ( | const VectorSpace< Scalar > & | domain, | |
| const VectorSpace< Scalar > & | range | |||
| ) | [inline] |
Definition at line 29 of file PlayaSimpleBlockOpImpl.hpp.
References Playa::SimpleBlockOp< Scalar >::blocks_, Playa::VectorSpace< Scalar >::getBlock(), Playa::VectorSpace< Scalar >::numBlocks(), and Playa::zeroOperator().
| void Playa::SimpleBlockOp< Scalar >::apply | ( | Teuchos::ETransp | transApplyType, | |
| const Vector< Scalar > & | in, | |||
| Vector< Scalar > | out | |||
| ) | const [inline, virtual] |
Implements Playa::LinearOperatorBase< Scalar >.
Definition at line 77 of file PlayaSimpleBlockOpImpl.hpp.
References Playa::SimpleBlockOp< Scalar >::blocks_, Playa::Vector< Scalar >::getBlock(), Playa::Vector< Scalar >::getNonConstBlock(), Playa::SimpleBlockOp< Scalar >::numBlockCols(), Playa::SimpleBlockOp< Scalar >::numBlockRows(), PLAYA_MSG2, Playa::ObjectWithVerbosity::verb(), and Playa::Vector< Scalar >::zero().
| const LinearOperator< Scalar > & Playa::SimpleBlockOp< Scalar >::getBlock | ( | int | i, | |
| int | j | |||
| ) | const [inline, virtual] |
Implements Playa::BlockOperatorBase< Scalar >.
Definition at line 57 of file PlayaSimpleBlockOpImpl.hpp.
References Playa::SimpleBlockOp< Scalar >::blocks_.
| LinearOperator< Scalar > Playa::SimpleBlockOp< Scalar >::getNonconstBlock | ( | int | i, | |
| int | j | |||
| ) | [inline, virtual] |
Implements Playa::BlockOperatorBase< Scalar >.
Definition at line 63 of file PlayaSimpleBlockOpImpl.hpp.
References Playa::SimpleBlockOp< Scalar >::blocks_.
| int Playa::SimpleBlockOp< Scalar >::numBlockCols | ( | ) | const [inline, virtual] |
Implements Playa::BlockOperatorBase< Scalar >.
Definition at line 51 of file PlayaSimpleBlockOpImpl.hpp.
References Playa::SimpleBlockOp< Scalar >::blocks_.
Referenced by Playa::SimpleBlockOp< Scalar >::apply().
| int Playa::SimpleBlockOp< Scalar >::numBlockRows | ( | ) | const [inline, virtual] |
Implements Playa::BlockOperatorBase< Scalar >.
Definition at line 45 of file PlayaSimpleBlockOpImpl.hpp.
References Playa::SimpleBlockOp< Scalar >::blocks_.
Referenced by Playa::SimpleBlockOp< Scalar >::apply().
| void Playa::SimpleBlockOp< Scalar >::setBlock | ( | int | i, | |
| int | j, | |||
| const LinearOperator< Scalar > & | Aij | |||
| ) | [inline, virtual] |
Implements Playa::SetableBlockOperatorBase< Scalar >.
Definition at line 70 of file PlayaSimpleBlockOpImpl.hpp.
References Playa::SimpleBlockOp< Scalar >::blocks_.
| LinearOperator< Scalar > makeBlockOperator | ( | const VectorSpace< Scalar > & | domain, | |
| const VectorSpace< Scalar > & | range | |||
| ) | [related] |
Nonmember function to create a SimpleBlockOp
Definition at line 119 of file PlayaSimpleBlockOpImpl.hpp.
Array<Array<LinearOperator<Scalar> > > Playa::SimpleBlockOp< Scalar >::blocks_ [private] |
Definition at line 56 of file PlayaSimpleBlockOpDecl.hpp.
Referenced by Playa::SimpleBlockOp< Scalar >::apply(), Playa::SimpleBlockOp< Scalar >::getBlock(), Playa::SimpleBlockOp< Scalar >::getNonconstBlock(), Playa::SimpleBlockOp< Scalar >::numBlockCols(), Playa::SimpleBlockOp< Scalar >::numBlockRows(), Playa::SimpleBlockOp< Scalar >::setBlock(), and Playa::SimpleBlockOp< Scalar >::SimpleBlockOp().