← Back to team overview

dolfin team mailing list archive

Re: LA: [...]

 

On Tue, Dec 06, 2005 at 04:07:13PM +0100, Garth N. Wells wrote:
> Quoting Anders Logg <logg@xxxxxxxxx>:
> 
> > On Tue, Dec 06, 2005 at 03:57:33PM +0100, Garth N. Wells wrote:
> > > Quoting Anders Logg <logg@xxxxxxxxx>:
> > > 
> > > > In the spirit of my previous suggestion (moving PreconditionerType to
> > > > Preconditioner::Type), maybe these new options could be called just
> > > > default? Since default_solver is declared in the context of
> > > > KrylovSolver::Type, the extra suffix _solver isn't necessary.
> > > 
> > > That was my first choice, but "default" is a protected word in C++.
> > 
> > Aha. And so is "auto" unfortunately.
> > 
> > Don't know of any other option so it looks like what you have is the
> > best choice.
> 
> I was tempted to use captial letters.

Me too, but we just decided not too... ;-)

/Anders



References