17 #ifndef __deal2__petsc_parallel_block_sparse_matrix_h
18 #define __deal2__petsc_parallel_block_sparse_matrix_h
21 #include <deal.II/base/config.h>
23 #ifdef DEAL_II_WITH_PETSC
25 # include <deal.II/base/table.h>
26 # include <deal.II/lac/block_matrix_base.h>
27 # include <deal.II/lac/block_sparsity_pattern.h>
28 # include <deal.II/lac/petsc_parallel_sparse_matrix.h>
29 # include <deal.II/lac/petsc_parallel_block_vector.h>
30 # include <deal.II/lac/exceptions.h>
88 typedef BaseClass::pointer pointer;
89 typedef BaseClass::const_pointer const_pointer;
90 typedef BaseClass::reference reference;
91 typedef BaseClass::const_reference const_reference;
92 typedef BaseClass::size_type size_type;
179 const size_type n_block_columns);
191 void reinit(
const std::vector<IndexSet> &rows,
192 const std::vector<IndexSet> &cols,
194 const MPI_Comm &com);
200 void reinit(
const std::vector<IndexSet> &sizes,
202 const MPI_Comm &com);
328 this->
block(r,c) = d;
417 DEAL_II_NAMESPACE_CLOSE
420 #endif // DEAL_II_WITH_PETSC
422 #endif // __deal2__petsc_parallel_block_sparse_matrix_h
void Tvmult_nonblock_nonblock(VectorType &dst, const VectorType &src) const
void vmult_block_block(BlockVectorType &dst, const BlockVectorType &src) const
void reinit(const size_type n_block_rows, const size_type n_block_columns)
void vmult_nonblock_nonblock(VectorType &dst, const VectorType &src) const
const MPI_Comm & get_mpi_communicator() const
void Tvmult_block_nonblock(BlockVectorType &dst, const VectorType &src) const
unsigned int n_block_cols() const
BlockSparseMatrix & operator=(const BlockSparseMatrix &)
BaseClass::BlockType BlockType
void vmult_block_nonblock(BlockVectorType &dst, const VectorType &src) const
BlockMatrixBase< SparseMatrix > BaseClass
void Tvmult(BlockVector &dst, const BlockVector &src) const
void vmult_nonblock_block(VectorType &dst, const BlockVectorType &src) const
#define Assert(cond, exc)
BlockType::value_type value_type
BaseClass::value_type value_type
void Tvmult_nonblock_block(VectorType &dst, const BlockVectorType &src) const
void Tvmult_block_block(BlockVectorType &dst, const BlockVectorType &src) const
BlockType & block(const unsigned int row, const unsigned int column)
void vmult(BlockVector &dst, const BlockVector &src) const
::ExceptionBase & ExcScalarAssignmentOnlyForZeroValue()
unsigned int n_block_rows() const