Hi, I would like to know if I need to call VecGhostUpdateBegin\End on a vector with ghost nodes after a call to VecSet on the same vector, i.e.,
// Declare vector v with VecCreateGhost etc. VecSet(v, 0.0); // Does this set also ghosted entries to zero ? VecGhostUpdateBegin(v, INSERT_VALUES, SCATTER_FORWARD); // Is this necessary ? VecGhostUpdateEnd (v, INSERT_VALUES, SCATTER_FORWARD); Sincerely, Fredrik Bengzon
