VecISSetToConstant

Sets the elements of a vector, specified by an index set, to a constant

Synopsis

#include "tao_solver.h" 
int VecISSetToConstant(IS S, PetscScalar c, Vec V)

Input Parameter

S - a PETSc IS
c - the constant
V - a Vec

See Also

VecSet()

Level:advanced
Location:src/petsctao/vector/pvec.c
TAO Solver Index
Table of Contents