15#ifndef dealii_sparse_vanka_h
16#define dealii_sparse_vanka_h
31template <
typename number>
33template <
typename number>
35template <
typename number>
38template <
typename number>
40template <
typename number>
135template <
typename number>
207 template <
typename number2>
215 template <
typename number2>
261 template <
typename number2>
265 const std::vector<bool> *
const dof_mask =
nullptr)
const;
337 template <
typename T>
474template <
typename number>
510 template <
typename number2>
551template <
typename number>
559template <
typename number>
567template <
typename number>
568template <
typename number2>
void compute_dof_masks(const SparseMatrix< number > &M, const std::vector< bool > &selected, const BlockingStrategy blocking_strategy)
std::size_t memory_consumption() const
SparseBlockVanka(const SparseMatrix< number > &M, const std::vector< bool > &selected, const unsigned int n_blocks, const BlockingStrategy blocking_strategy)
void vmult(Vector< number2 > &dst, const Vector< number2 > &src) const
std::vector< std::vector< bool > > dof_masks
const unsigned int n_blocks
AdditionalData(const std::vector< bool > &selected)
const std::vector< bool > & selected
SmartPointer< const SparseMatrix< number >, SparseVanka< number > > matrix
std::vector< SmartPointer< FullMatrix< float >, SparseVanka< number > > > inverses
std::size_t memory_consumption() const
void compute_inverse(const size_type row, std::vector< size_type > &local_indices)
void compute_inverses(const size_type begin, const size_type end)
void initialize(const SparseMatrix< number > &M, const AdditionalData &additional_data)
void Tvmult(Vector< number2 > &dst, const Vector< number2 > &src) const
void vmult(Vector< number2 > &dst, const Vector< number2 > &src) const
const std::vector< bool > * selected
SparseVanka(const SparseMatrix< number > &M, const std::vector< bool > &selected)
void apply_preconditioner(Vector< number2 > &dst, const Vector< number2 > &src, const std::vector< bool > *const dof_mask=nullptr) const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
static ::ExceptionBase & ExcNotInitialized()
#define AssertThrow(cond, exc)
unsigned int global_dof_index