[petsc-users] create a new large vector via combining existing small vectors
Xiangdong Liang
xdliang at gmail.com
Wed Apr 27 15:35:03 CDT 2011
Hello everyone,
I have a problem with creating a new large vector via combining existing
small vectors. Suppose I have two vectors v1 and v2 (size n-by-1) already. I
want to have a new vector vout (size 2n-by-1) with vout(1:n) = v1 and
vout(n+1:2*n) = v2. Is there any quick way to create vout with Petsc's built
in functions? Thanks.
Best,
Xiangdong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110427/bf0be569/attachment.htm>
More information about the petsc-users
mailing list