VecAssemblyEnd#
Completes assembling the vector. This routine should be called after VecAssemblyBegin().
Synopsis#
#include "petscvec.h"
PetscErrorCode VecAssemblyEnd(Vec vec)
Collective
Input Parameter#
vec - the vector
Options Database Keys#
-vec_view viewer_specification - Call
VecView()at the conclusion ofVecAssemblyEnd(). SeePetscOptionsCreateViewer()for the values ofviewer_specification.-vec_stash_view viewer_specification - Call
VecStashView()duringVecAssemblyBegin(). SeePetscOptionsCreateViewer()for the values ofviewer_specification.
See Also#
Vectors and Parallel Data, Vec, VecAssemblyBegin(), VecSetValues(), VecView(), VecStashView(), VecViewFromOptions(), VecStashViewFromOptions(),
PetscObjectViewFromOptions()
Level#
beginner
Location#
Examples#
src/vec/vec/tutorials/ex1.c
src/vec/vec/tutorials/ex10.c
src/vec/vec/tutorials/ex14f.F90
src/vec/vec/tutorials/ex16.c
src/vec/vec/tutorials/ex16f.F90
src/vec/vec/tutorials/ex18.c
src/vec/vec/tutorials/ex18f.F90
src/vec/vec/tutorials/ex2.c
src/vec/vec/tutorials/ex2f.F90
src/vec/vec/tutorials/ex3.c
Implementations#
VecAssemblyEnd_MPI() in src/vec/vec/impls/mpi/pdvec.c
VecAssemblyEnd_Nest() in src/vec/vec/impls/nest/vecnest.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages