11 const PetscScalar *bin,
14 const PetscBool ¶llel=PETSC_TRUE
31 const PetscScalar &bin,
PetscInt set_Vec(const PetscScalar *bin, const PetscInt &n, Vec &b, const PetscBool ¶llel=PETSC_TRUE)
set a vector from PetscScalar 1D vector to PETSc Vec type in parallel
Definition: set_Vec.cpp:6
Namespace containing all functions and data classes for this solver.
Definition: Ax_b.hpp:5
PetscInt set_Vec_linspace(PetscScalar a, const PetscScalar b, const PetscInt n, PetscScalar y[])
set values of y, use linspace similar to matlab, creates on every processor
Definition: set_Vec.cpp:89