71:
public ContainerImpl<MatrixType, LocalScalarType>
82 using matrix_type = MatrixType;
84 using LSC = LocalScalarType;
87 using typename Container<MatrixType>::SC;
89 using typename Container<MatrixType>::LO;
91 using typename Container<MatrixType>::GO;
93 using typename Container<MatrixType>::NO;
95 using typename Container<MatrixType>::mv_type;
96 using local_mv_type = Tpetra::MultiVector<LSC, LO, GO, NO>;
97 using typename Container<MatrixType>::map_type;
98 using typename Container<MatrixType>::vector_type;
99 using typename Container<MatrixType>::import_type;
102 using typename ContainerImpl<MatrixType, LocalScalarType>::LISC;
104 using typename ContainerImpl<MatrixType, LocalScalarType>::HostViewLocal;
105 using typename ContainerImpl<MatrixType, LocalScalarType>::HostSubviewLocal;
106 using typename ContainerImpl<MatrixType, LocalScalarType>::ConstHostSubviewLocal;
108 static_assert(std::is_same<MatrixType, Tpetra::RowMatrix<SC, LO, GO, NO>>::value,
109 "Ifpack2::DenseContainer: Please use MatrixType = Tpetra::RowMatrix.");
119 using typename Container<MatrixType>::row_matrix_type;
121 using block_crs_matrix_type = Tpetra::BlockCrsMatrix<SC, LO, GO, NO>;
138 DenseContainer (
const Teuchos::RCP<const row_matrix_type>& matrix,
139 const Teuchos::Array<Teuchos::Array<LO> >& partitions,
140 const Teuchos::RCP<const import_type>& importer,
171 virtual std::ostream&
print (std::ostream& os)
const;
182 describe (Teuchos::FancyOStream &out,
183 const Teuchos::EVerbosityLevel verbLevel =
184 Teuchos::Describable::verbLevel_default)
const;
209 solveBlock(ConstHostSubviewLocal X,
212 Teuchos::ETransp mode,
214 const LSC beta)
const;
217 std::vector<Teuchos::SerialDenseMatrix<int, LSC>> diagBlocks_;
220 mutable Teuchos::Array<int> ipiv_;
223 bool hasBlockCrsMatrix_;
226 Teuchos::Array<LSC> scalars_;
229 Teuchos::Array<GO> scalarOffsets_;
typename Kokkos::ArithTraits< SC >::val_type ISC
Internal representation of Scalar in Kokkos::View.
Definition Ifpack2_Container_decl.hpp:102
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:375
static std::string getName()
Get the name of this container type for Details::constructContainer().
Definition Ifpack2_DenseContainer_def.hpp:401
virtual std::ostream & print(std::ostream &os) const
Print information about this object to the given output stream.
Definition Ifpack2_DenseContainer_def.hpp:341
DenseContainer(const Teuchos::RCP< const row_matrix_type > &matrix, const Teuchos::Array< Teuchos::Array< LO > > &partitions, const Teuchos::RCP< const import_type > &importer, bool pointIndexed)
Constructor.
Definition Ifpack2_DenseContainer_def.hpp:28