Hi all,

I was wondering about the function void PETScWrappers::VectorBase::set(indices,values), as I would like to call it with a PETScWrappers::MPI::Vector object and have not used it before.

1. Do I need to call compress() afterwards?
2. What if there are duplicates in the input (i.e. if the same index appears twice in "indices" with the same corresponding value in "values")? 3. What if the input is incomplete, i.e. if the list of indices in "indices" is not a complete list of indices in the vector? (this, i think, would mean that not all entries are "touched"... which I think leads to errors? I never quite figured that out..)

Much appreciated,
Dan
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to