|
MueLu
Version of the Day
|
Interface to the Teuchos wrappers for LAPACK's QR. More...
#include <MueLu_QR_InterfaceEx_decl.hpp>
Private Member Functions | |
| bool | isZeroNspColumn (LocalOrdinal const &myAggSize, ArrayRCP< Scalar > &localQR, LocalOrdinal nspCol) |
Private Attributes | |
| Teuchos::LAPACK< LocalOrdinal, Scalar > | lapack_ |
| Teuchos LAPACK wrapper. More... | |
| LocalOrdinal | workSize_ |
| Length of work vectors. Must be at least dimension of nullspace. More... | |
| LocalOrdinal | NSDim_ |
| Dimension of nullspace. More... | |
| LocalOrdinal | internalNSDim_ |
| LocalOrdinal | info_ |
| (out) =0: success; =i, i<0: i-th argument has illegal value More... | |
| ArrayRCP< Scalar > | tau_ |
| Internal LAPACK variables. More... | |
| ArrayRCP< Scalar > | work_ |
| Temporary work space. More... | |
| ArrayRCP< Scalar > | internalLocalQR_ |
| internal local QR (without zero columns) More... | |
| std::vector< LocalOrdinal > | nonZeroCols_ |
Constructors/Destructors. | |
| QR_InterfaceEx (const size_t nullSpaceDimension) | |
| Constructor. More... | |
| virtual | ~QR_InterfaceEx () |
| Destructor. More... | |
Computational methods. | |
| void | Compute (LocalOrdinal const &myAggSize, ArrayRCP< Scalar > &localQR) |
| Compute the QR factorization. More... | |
| void | ExtractQ (LocalOrdinal const &myAggSize, ArrayRCP< Scalar > &localQR) |
| Calculate the Q factor. More... | |
Interface to the Teuchos wrappers for LAPACK's QR.
Used in the computation of the tentative prolongator during smoothed aggregation. Allows for specializations for Scalar types such as std::complex<double> and PCE.
Definition at line 25 of file MueLu_QR_InterfaceEx_decl.hpp.
| MueLu::QR_InterfaceEx< Scalar, LocalOrdinal >::QR_InterfaceEx | ( | const size_t | nullSpaceDimension | ) |
Constructor.
| nullSpaceDimension | number of fine level nullspace vectors. |
Definition at line 38 of file MueLu_QR_InterfaceEx_def.hpp.
|
inlinevirtual |
Destructor.
Definition at line 36 of file MueLu_QR_InterfaceEx_decl.hpp.
| void MueLu::QR_InterfaceEx< Scalar, LocalOrdinal >::Compute | ( | LocalOrdinal const & | myAggSize, |
| ArrayRCP< Scalar > & | localQR | ||
| ) |
Compute the QR factorization.
Definition at line 56 of file MueLu_QR_InterfaceEx_def.hpp.
| void MueLu::QR_InterfaceEx< Scalar, LocalOrdinal >::ExtractQ | ( | LocalOrdinal const & | myAggSize, |
| ArrayRCP< Scalar > & | localQR | ||
| ) |
Calculate the Q factor.
| [in] | myAggSize | number of points in current aggregate |
| [in,out] | localQR | array that on input implicitly contains the factorization calculated by Compute. On output, this array explicitly contains Q. |
Definition at line 139 of file MueLu_QR_InterfaceEx_def.hpp.
|
private |
Definition at line 44 of file MueLu_QR_InterfaceEx_def.hpp.
|
private |
Teuchos LAPACK wrapper.
Definition at line 57 of file MueLu_QR_InterfaceEx_decl.hpp.
|
private |
Length of work vectors. Must be at least dimension of nullspace.
Definition at line 59 of file MueLu_QR_InterfaceEx_decl.hpp.
|
private |
Dimension of nullspace.
Definition at line 61 of file MueLu_QR_InterfaceEx_decl.hpp.
|
private |
Definition at line 63 of file MueLu_QR_InterfaceEx_decl.hpp.
|
private |
(out) =0: success; =i, i<0: i-th argument has illegal value
Definition at line 65 of file MueLu_QR_InterfaceEx_decl.hpp.
|
private |
Internal LAPACK variables.
Definition at line 67 of file MueLu_QR_InterfaceEx_decl.hpp.
|
private |
Temporary work space.
Definition at line 69 of file MueLu_QR_InterfaceEx_decl.hpp.
|
private |
internal local QR (without zero columns)
Definition at line 72 of file MueLu_QR_InterfaceEx_decl.hpp.
|
private |
Definition at line 74 of file MueLu_QR_InterfaceEx_decl.hpp.