← Back to team overview

dolfin team mailing list archive

Re: LA: [...]

 

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.

Garth

> 
> /Anders
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> 



Follow ups

References