> On Aug 11, 2015, at 3:47 PM, Matthew Knepley <knep...@gmail.com> wrote:
> 
> On Tue, Aug 11, 2015 at 3:42 PM, Mark Adams <mfad...@lbl.gov> wrote:
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscOptionsBool.html#PetscOptionsBool
> 
> has PetscOptionsBool_Private in the body.
> 
> That is actually what is in the file.

   This came about when I introduced the PetscOptions object, but kept it 
hidden from the source code with a series of macros. Eventually we'll decide to 
either 

1) make the PetscOptions object part of the public API  or

2) leave it private and then convert the manual pages to use the /*MC format 
with Synopsis providing the API

  Barry

Note that this PetscOptions object is NOT a reference to the options database, 
it is just an encapsulation of all the handling of PetscOptionsXXX() at a 
particular place in the code to avoid any use of global variables.

> 
>   Matt
>  
> Mark
> 
> 
> 
> -- 
> 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

Reply via email to