[petsc-dev] adding comm argument to PetscError() and friends

Lisandro Dalcin dalcinl at gmail.com
Fri May 7 16:07:26 CDT 2010


On 7 May 2010 17:23, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>   I cannot stop myself. I have pushed this change. Now PetscError() and
> SETERRX() take a comm as the first argument, pass PETSC_COMM_SELF if you
> don't know what to use.

I know that no one here cares about breaking third party code, but in
this specific case.... May I ask why not to introduce
SETERRQCOMM(comm, ierr) , and then #define SETERRQ(PETSC_COMM_SELF,
ierr) ?


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169



More information about the petsc-dev mailing list