Actual source code: ex43.c

petsc-3.15.0 2021-03-30
Report Typos and Errors

  2: #include <petscvec.h>

  4: PETSC_INTERN void fillupvector(Vec *v,PetscErrorCode *ierr)
  5: {
  6:   *VecSet(*v,1.0);
  7:   return;
  8: }