73:
public ContainerImpl<MatrixType, LocalScalarType>
83 using matrix_type = MatrixType;
87 using typename Container<MatrixType>::SC;
89 using typename Container<MatrixType>::LO;
91 using typename Container<MatrixType>::GO;
93 using typename Container<MatrixType>::NO;
94 using LSC = LocalScalarType;
96 using typename Container<MatrixType>::mv_type;
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 local_mv_type = Tpetra::MultiVector<LSC, LO, GO, NO>;
105 using HostViewLocal =
typename Kokkos::View<LSC**, Kokkos::HostSpace>;
106 using typename ContainerImpl<MatrixType, LocalScalarType>::HostSubviewLocal;
107 using typename ContainerImpl<MatrixType, LocalScalarType>::ConstHostSubviewLocal;
108 using typename ContainerImpl<MatrixType, LocalScalarType>::block_crs_matrix_type;
109 static_assert (std::is_same<MatrixType, Tpetra::RowMatrix<SC, LO, GO, NO>>::value,
110 "Ifpack2::TriDiContainer: MatrixType must be a Tpetra::RowMatrix specialization.");
120 using typename Container<MatrixType>::row_matrix_type;
136 TriDiContainer (
const Teuchos::RCP<const row_matrix_type>& matrix,
137 const Teuchos::Array<Teuchos::Array<LO> >& partitions,
138 const Teuchos::RCP<const import_type>& importer,
165 Teuchos::ETransp mode,
176 virtual std::ostream&
print (std::ostream& os)
const;
187 describe (Teuchos::FancyOStream &out,
188 const Teuchos::EVerbosityLevel verbLevel =
189 Teuchos::Describable::verbLevel_default)
const;
205 std::vector<Teuchos::SerialTriDiMatrix<int, LSC>> diagBlocks_;
208 mutable Teuchos::Array<int> ipiv_;
211 Teuchos::Array<LSC> scalars_;
214 Teuchos::Array<int> 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_TriDiContainer_def.hpp:385
virtual std::ostream & print(std::ostream &os) const
Print information about this object to the given output stream.
Definition Ifpack2_TriDiContainer_def.hpp:353
static std::string getName()
Get the name of this container type for Details::constructContainer().
Definition Ifpack2_TriDiContainer_def.hpp:400
TriDiContainer(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_TriDiContainer_def.hpp:27
void solveBlock(ConstHostSubviewLocal X, HostSubviewLocal Y, int blockIndex, Teuchos::ETransp mode, LSC alpha, LSC beta) const
Definition Ifpack2_TriDiContainer_def.hpp:249