[petsc-dev] Counting Fortran function pointers

Barry Smith bsmith at mcs.anl.gov
Wed Dec 5 07:57:12 CST 2012


On Dec 5, 2012, at 7:40 AM, Lisandro Dalcin <dalcinl at gmail.com> wrote:

> On 5 December 2012 01:07, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>> Not for low-dimensional ODE systems, for example.
>> 
>> String lookups elsewhere in that path also need to be removed. Barry mailed
>> about this the other day.
>> 
> 
> Does your concerns also include accessing the options database? If you
> are solving a small ODEs with a linear implicit method, then
> KSPSolve() have about 20 string lookups in the options database (and
> these lookups are linear searches!).

   Those lookups don't belong there. They are suppose to be in KSPSetFromOptions() (virtually all look ups are "suppose" to be in SetFromOptions()) but a combination of 

1) our laziness and
2) sometimes something is not in the right state at the time of SetFromOptions() to handle a look up (these are hard to deal with).

   Barry



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