[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interlaced vectors.
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: Interlaced vectors.
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Wed, 4 Jul 2007 18:12:38 -0300
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p4ytD/FjQvko7Y+wwaIrW7WsRQFhMG8OwfH/CpiRj35gYiVfAc9fDu5Bjo6iKTlo5XlA8Dw3ThiuTx1z7mVhMS00meSizdiNJPPbiTtfR0aEtLZnHG/Ve9c3Z+2ryFX7wMiXu6JSNkFZN+QRU8+qaaen7l1D3/9Skh7IY38nOkI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HzqECPwyeDdDdNWLtAQIcyl0W/iTtE66qIaLGh3kPS5Po9gFxVtD4+txtGLeSfFqFE7Qf3qG0tIpFjGs24JuAIhX1s68VDZO5lBQugHepYPk8yx3pNdT5lFvxNOQOfCfT49WATlX0MnZEDo9WcwiFe8+1I28c+DvU5NgEbPrKsE=
- In-reply-to: <1183576698.468bf27adab6d@serv-g1.ccom.uminho.pt>
- References: <1183576698.468bf27adab6d@serv-g1.ccom.uminho.pt>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
On 7/4/07, billy@xxxxxxxxxxxxx <billy@xxxxxxxxxxxxx> wrote:
Hi,
I have a velocity vector (u,v,w) with 3 updates. Is there an efficient way to
interlace the 3 vectors into 1 update without creating a new data structure?
Look at VecStrideScatter, but not sure exactly what you need. Can
elaborate a bit more? What are x,u,v? Sepparate PETSc Vec's, or just a
Vec with consecutive entries?
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594