[petsc-users] DM structures of PetscInt
Matthew Knepley
knepley at gmail.com
Sun Nov 8 05:41:09 CST 2015
On Sat, Nov 7, 2015 at 11:27 PM, TAY wee-beng <zonexo at gmail.com> wrote:
> Hi,
>
> I need to use DM structures of type PETScInt.
>
> I tried to use:
>
> DM da_cu_types
>
> Vec cu_types_local,cu_types_global
>
> PetscInt,pointer :: cu_types_array(:,:,:)
>
> Is this allowed? The cu_types_array is to be of integer type. Because I
> got into problems compiling.
We do not support integer Vecs. You should use IS. What are you trying to
do?
Matt
>
> --
> Thank you.
>
> Yours sincerely,
>
> TAY wee-beng
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151108/089099b2/attachment.html>
More information about the petsc-users
mailing list