On Wed, 27 Aug 2014, Florian Lindner wrote:

> Hello,
> 
> is there a way to create a vector with evenly spaced values in an interval,
> like the numpy.arange function?
> http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html or the
> linspace function?

nope you would have to generate these values yourself and set them in the Vec

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/index.html

Satish

Reply via email to