Integer DA's

Milad Fatenejad icksa1 at gmail.com
Mon Jul 21 14:43:24 CDT 2008


Thanks, that answers my question

Milad

On Mon, Jul 21, 2008 at 12:50 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>  You can compile PETSc so vectors can contain with double precision, single
> precision or double
> complex. There is no support for integers. If you are using these as just
> part of some code
> then you can just use the double vector and store integers in them. Unless
> the bulk of your
> code involves moving integers between processes then you wouldn't even
> notice any difference
> in performance. If you entire code involves only moving integers between
> processes then
> PETSc is likely not the right tool for you.
>
>   Barry
>
> On Jul 21, 2008, at 11:39 AM, Milad Fatenejad wrote:
>
>> Hello:
>> I was wondering if it was possible to have distributed arrays that
>> contain integers, instead of floating point numbers? If so, is it
>> possible to have DA's represent arrays of any type?
>>
>> Thanks
>> Milad Fatenejad
>>
>
>




More information about the petsc-users mailing list