[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VecMultiVec?
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: VecMultiVec?
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Sat, 10 May 2008 18:17:49 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=CtvHrdq5m6k8VdHVdHXKILmI7KTFuBxmILQe8Ag/DAg=; b=LXCHEDVpcC1EOSeTlZCNU988sanE/GuhREjuDLkQvAdp5ruYfiOg44HmK3mpRbjJztJGy4UyMq1UqB0uH+zFsyCQGP8a1kCmCUsE9R/g4yFh3LkCLGFHa4N9M30MdCErujKyYtmDcGx6VhEebvlCe69E5Wu9XnWsFAT2kheNluU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qnPfW3FjNQnV1ge5x9O69wO/2SpKHqauhr9F5kMQ9nQVgyeg05E6JFbxrKgNk3wnBG5izgzC8CpwKsSQIY2ywSnVastiwcDhYE++gf/Aq4j53kdyH1fWLzl1vbZIJvquvB1kfC/POBrO09UIJK7nhJyDea+jnsj0bGWSJVL6m28=
- In-reply-to: <482385F7.3040902@cims.nyu.edu>
- References: <482385F7.3040902@cims.nyu.edu>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
Depending on what you need to actually do with your multiple vectors,
PETSc do have a 'Vecs' (note de final 's') wich is just an array with
Vec items... However, as you are working with non-native data, perhaps
this will not be useful.. Take a look...
On 5/8/08, Boyce Griffith <griffith@xxxxxxxxxxxx> wrote:
> Hi, Folks --
>
> I'm pretty sure this has been discussed in the list previously, but I'm
> having trouble digging up the thread in the archive, so apologies in
> advance...
>
> I need to solve some nonlinear equations that involve both PETSc Vecs as
> well as data that is stored in a non-PETSc-native format, and I was
> wondering if someone happens to have a freely available implementation of a
> "VecMultiVec" --- a vector which contains multiple Vec objects. I think it
> should be fairly straightforward to implement such a beast, but I thought
> I'd ask before doing it myself.
>
> Thanks,
>
> -- Boyce
>
>
--
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