Should PetscObjectName be collective?

Barry Smith bsmith at mcs.anl.gov
Tue Nov 17 18:05:56 CST 2009


On Nov 17, 2009, at 6:01 PM, Jed Brown wrote:

> Barry Smith wrote:
>>
>> On Nov 17, 2009, at 5:08 PM, Jed Brown wrote:
>
> Great.  May as well make this a struct instead of an array
>
> typedef struct {PetscMPIInt tag,namecount,refcount;}  
> PetscCommAttribute;

     Yes, this is ok. Note that tag needs to be a PetscMPIInt but the  
other beasts could be anything you want. PetscInt, unsigned int etc.

    Barry

>
>
>
> Jed
>




More information about the petsc-dev mailing list