Function Readx0

Function Documentation

PetscErrorCode Readx0(MPI_Comm COMM, char indexname[], PetscInt local_nrow, PetscInt global_nrow, PetscInt nsolve, PetscBool trunc, Vec x0[])

Read the x0 vectors stored in the regularization file.

Parameters
  • COMM: The MPI communicator, PETSC_COMM_SELF.A
  • dir: string containing the directory
  • local_nrow: Number of local rows this rank will own
  • global_nrow: Number of global rows.
  • nsolve: Number of x0 vectors to be read.
  • x0[]: vectors