Completes assembling the vector. This routine should be called after VecAssemblyBegin().


#include "petscvec.h"   
PetscErrorCode  VecAssemblyEnd(Vec vec)
Collective on Vec

Input Parameter

vec - the vector

Options Database Keys

-vec_view - Prints vector in ASCII format
-vec_view ::ascii_matlab - Prints vector in ASCII MATLAB format to stdout
-vec_view matlab:filename - Prints vector in MATLAB format to matlaboutput.mat
-vec_view draw - Activates vector viewing using drawing tools
-display <name> - Sets display name (default is host)
-draw_pause <sec> - Sets number of seconds to pause after display
-vec_view socket - Activates vector viewing using a socket

Level: beginner

See Also

VecAssemblyBegin(), VecSetValues()