[petsc-dev] DMDA_*PERIODIC and DMDA_XYZGHOSTED

Barry Smith bsmith at mcs.anl.gov
Thu Mar 10 19:37:24 CST 2011


  Ok get rid of them and we'll live with the consequences :-)

  barry

On Mar 10, 2011, at 6:57 PM, Lisandro Dalcin wrote:

> On 10 March 2011 21:45, Barry Smith <bsmith at mcs.anl.gov> wrote:
>> 
>> On Mar 10, 2011, at 6:22 PM, Lisandro Dalcin wrote:
>> 
>>> On 10 March 2011 20:57, Ethan Coon <ecoon at lanl.gov> wrote:
>>>> Attached patch makes this change, and updates the website with the API
>>>> change.
>>>> 
>>>> Also it fixes a few stray 'DAPeriodicType's in conf/adic*.init, which
>>>> I'm guessing was just missed in the previous change to DMDAPeriodicType?
>>> 
>>> Do we really need backward compatibility DMDA_XYZPERIODIC and friends?
>> 
>>  Is the | business all fine and dandy for Fortran? If so then I agree we should remove the "noise".
>> 
> 
> Well, you can use '+' (with a bit care) in any Fortran, right?. This
> is the way the MPI standard does things for some enumerations (file
> modes, RMA assertions).
> 
> However, if DMDA_XYZPERIODIC and friends do no go away because of
> Fortran issues, then we should definitely define
> DMDA_{XY|XZ|YZ}GHOSTED.
> 
> 
> -- 
> Lisandro Dalcin
> ---------------
> CIMEC (INTEC/CONICET-UNL)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> 3000 Santa Fe, Argentina
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169




More information about the petsc-dev mailing list