63 PetscObjectTypeCompare(
reinterpret_cast<PetscObject
>(v),
71 ierr = VecNestGetSize(v, &nb);
73 for (PetscInt i = 0; i < nb; ++i)
76 ierr = VecNestGetSubVec(v, i, &vv);
87 std::vector<size_type> block_sizes(nb, 0);
91 for (
unsigned int i = 0; i < nb; ++i)
101 ierr = PetscObjectReference(
reinterpret_cast<PetscObject
>(v));