#include <ldag.h>
Inheritance diagram for Chroma::DiffMdagLinOpArray< T, P, Q >:

Public Member Functions | |
| DiffMdagLinOpArray (DiffLinearOperatorArray< T, P, Q > *p) | |
| Initialize pointer with existing pointer. | |
| DiffMdagLinOpArray (Handle< DiffLinearOperatorArray< T, P, Q > > p) | |
| Copy pointer (one more owner). | |
| ~DiffMdagLinOpArray () | |
| Destructor. | |
| const FermBC< T, P, Q > & | getFermBC () const |
| Return the fermion BC object for this linear operator. | |
| int | size () const |
| Length of array index. | |
| const Subset & | subset () const |
| Subset comes from underlying operator. | |
| void | operator() (multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign) const |
| Apply the operator onto a source vector. | |
| virtual void | deriv (P &ds_u, const multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign) const |
| Apply the derivative of the operator. | |
| virtual void | deriv (P &ds_u, const multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign, const Real &epsilon) const |
| Apply the derivative of the operator. | |
| unsigned long | nFlops (void) const |
| Return the number of flops performed by operator(). | |
Private Attributes | |
| Handle< DiffLinearOperatorArray< T, P, Q > > | A |
Linear operator forming M^dag from an operator M
Definition at line 238 of file ldag.h.
| Chroma::DiffMdagLinOpArray< T, P, Q >::DiffMdagLinOpArray | ( | DiffLinearOperatorArray< T, P, Q > * | p | ) | [inline] |
| Chroma::DiffMdagLinOpArray< T, P, Q >::DiffMdagLinOpArray | ( | Handle< DiffLinearOperatorArray< T, P, Q > > | p | ) | [inline] |
| Chroma::DiffMdagLinOpArray< T, P, Q >::~DiffMdagLinOpArray | ( | ) | [inline] |
| virtual void Chroma::DiffMdagLinOpArray< T, P, Q >::deriv | ( | P & | ds_u, | |
| const multi1d< T > & | chi, | |||
| const multi1d< T > & | psi, | |||
| enum PlusMinus | isign, | |||
| const Real & | epsilon | |||
| ) | const [inline, virtual] |
Apply the derivative of the operator.
Deriv of chi^dag * A^dag * psi
Default implementation
Reimplemented from Chroma::DiffLinearOperatorArray< T, P, Q >.
Definition at line 292 of file ldag.h.
References Chroma::DiffMdagLinOpArray< T, P, Q >::A, Chroma::MINUS, Chroma::PLUS, and Chroma::DiffMdagLinOpArray< T, P, Q >::size().
| virtual void Chroma::DiffMdagLinOpArray< T, P, Q >::deriv | ( | P & | ds_u, | |
| const multi1d< T > & | chi, | |||
| const multi1d< T > & | psi, | |||
| enum PlusMinus | isign | |||
| ) | const [inline, virtual] |
Apply the derivative of the operator.
Deriv of chi^dag * A^dag * psi
Default implementation
Reimplemented from Chroma::DiffLinearOperatorArray< T, P, Q >.
Definition at line 276 of file ldag.h.
References Chroma::DiffMdagLinOpArray< T, P, Q >::A, Chroma::MINUS, Chroma::PLUS, and Chroma::DiffMdagLinOpArray< T, P, Q >::size().
| const FermBC<T,P,Q>& Chroma::DiffMdagLinOpArray< T, P, Q >::getFermBC | ( | ) | const [inline, virtual] |
Return the fermion BC object for this linear operator.
Implements Chroma::DiffLinearOperatorArray< T, P, Q >.
Definition at line 252 of file ldag.h.
References Chroma::DiffMdagLinOpArray< T, P, Q >::A.
| unsigned long Chroma::DiffMdagLinOpArray< T, P, Q >::nFlops | ( | void | ) | const [inline, virtual] |
Return the number of flops performed by operator().
Reimplemented from Chroma::LinearOperatorArray< T >.
Definition at line 302 of file ldag.h.
References Chroma::DiffMdagLinOpArray< T, P, Q >::A.
| void Chroma::DiffMdagLinOpArray< T, P, Q >::operator() | ( | multi1d< T > & | chi, | |
| const multi1d< T > & | psi, | |||
| enum PlusMinus | isign | |||
| ) | const [inline, virtual] |
Apply the operator onto a source vector.
For this operator, the sign is ignored
Implements Chroma::LinearOperatorArray< T >.
Definition at line 262 of file ldag.h.
References Chroma::MINUS, Chroma::PLUS, and Chroma::DiffMdagLinOpArray< T, P, Q >::size().
| int Chroma::DiffMdagLinOpArray< T, P, Q >::size | ( | void | ) | const [inline, virtual] |
Length of array index.
Implements Chroma::LinearOperatorArray< T >.
Definition at line 255 of file ldag.h.
References Chroma::DiffMdagLinOpArray< T, P, Q >::A.
Referenced by Chroma::DiffMdagLinOpArray< T, P, Q >::deriv(), and Chroma::DiffMdagLinOpArray< T, P, Q >::operator()().
| const Subset& Chroma::DiffMdagLinOpArray< T, P, Q >::subset | ( | void | ) | const [inline, virtual] |
Subset comes from underlying operator.
Implements Chroma::LinearOperatorArray< T >.
Definition at line 258 of file ldag.h.
References Chroma::DiffMdagLinOpArray< T, P, Q >::A.
Handle< DiffLinearOperatorArray<T,P,Q> > Chroma::DiffMdagLinOpArray< T, P, Q >::A [private] |
Definition at line 305 of file ldag.h.
Referenced by Chroma::DiffMdagLinOpArray< T, P, Q >::deriv(), Chroma::DiffMdagLinOpArray< T, P, Q >::getFermBC(), Chroma::DiffMdagLinOpArray< T, P, Q >::nFlops(), Chroma::DiffMdagLinOpArray< T, P, Q >::size(), and Chroma::DiffMdagLinOpArray< T, P, Q >::subset().
1.4.7