18#ifdef DEAL_II_WITH_PETSC
44 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
66 for (PetscInt i = 0; i <
nb; ++i)
84 for (
unsigned int i = 0; i <
nb; ++i)
108 BlockVector::operator
const Vec &()
const
110 return petsc_nest_vector;
136 for (
unsigned int i = 0; i < n; i++)
value_type * data() const noexcept
void reinit(const unsigned int n_blocks, const size_type n_elements_per_block)
unsigned int n_blocks() const
void compress(VectorOperation::values operation)
std::vector< Vector > components
BlockIndices block_indices
void compress(VectorOperation::values operation)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define AssertThrow(cond, exc)
void petsc_increment_state_counter(Vec v)
unsigned int global_dof_index