81 using matrix_type = MatrixType;
83 using LSC = LocalScalarType;
86 using typename Container<MatrixType>::SC;
88 using typename Container<MatrixType>::LO;
90 using typename Container<MatrixType>::GO;
92 using typename Container<MatrixType>::NO;
94 using typename Container<MatrixType>::mv_type;
95 using local_mv_type = Tpetra::MultiVector<LSC, LO, GO, NO>;
96 using typename Container<MatrixType>::map_type;
97 using typename Container<MatrixType>::vector_type;
98 using typename Container<MatrixType>::import_type;
101 using typename ContainerImpl<MatrixType, LocalScalarType>::LISC;
103 using typename ContainerImpl<MatrixType, LocalScalarType>::HostViewLocal;
104 using typename ContainerImpl<MatrixType, LocalScalarType>::HostSubviewLocal;
105 using typename ContainerImpl<MatrixType, LocalScalarType>::ConstHostSubviewLocal;
107 static_assert(std::is_same<MatrixType, Tpetra::RowMatrix<SC, LO, GO, NO>>::value,
108 "Ifpack2::DenseContainer: Please use MatrixType = Tpetra::RowMatrix.");
118 using typename Container<MatrixType>::row_matrix_type;
120 using block_crs_matrix_type = Tpetra::BlockCrsMatrix<SC, LO, GO, NO>;
138 const Teuchos::Array<Teuchos::Array<LO>>& partitions,
139 const Teuchos::RCP<const import_type>& importer,
170 virtual std::ostream&
print(std::ostream& os)
const;
181 describe(Teuchos::FancyOStream& out,
182 const Teuchos::EVerbosityLevel verbLevel =
183 Teuchos::Describable::verbLevel_default)
const;
208 solveBlock(ConstHostSubviewLocal X,
211 Teuchos::ETransp mode,
213 const LSC beta)
const;
216 std::vector<Teuchos::SerialDenseMatrix<int, LSC>> diagBlocks_;
219 mutable Teuchos::Array<int> ipiv_;
222 bool hasBlockCrsMatrix_;
225 Teuchos::Array<LSC> scalars_;
228 Teuchos::Array<GO> scalarOffsets_;
The implementation of the numerical features of Container (Jacobi, Gauss-Seidel, SGS)....
Definition Ifpack2_Container_decl.hpp:311
typename Kokkos::ArithTraits< SC >::val_type ISC
Internal representation of Scalar in Kokkos::View.
Definition Ifpack2_Container_decl.hpp:104
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const
Print the object with some verbosity level to the given FancyOStream.
Definition Ifpack2_DenseContainer_def.hpp:343
static std::string getName()
Get the name of this container type for Details::constructContainer()
Definition Ifpack2_DenseContainer_def.hpp:366
virtual std::ostream & print(std::ostream &os) const
Print information about this object to the given output stream.
Definition Ifpack2_DenseContainer_def.hpp:314