← Back to team overview

dolfin team mailing list archive

Re: LA: [...]

 

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

Garth

> 
> /Anders
> 
> 
> On Tue, Dec 06, 2005 at 11:37:16AM +0100, dolfin@xxxxxxxxxx wrote:
> > Commit from garth (2005-12-06 11:37 CET)
> > -----------------
> > 
> > LA:
> > 
> > Add default_solver and default_pc as Krylov solver and preconditioner
> options. This way the PETSc defaults are used and the method and
> preconditioner can be set from the command line.
> > 
> >   dolfin  src/kernel/la/KrylovSolver.cpp       1.37
> >   dolfin  src/kernel/la/dolfin/KrylovSolver.h  1.19
> > 
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> > 
> 
> -- 
> Anders Logg
> Research Assistant Professor
> Toyota Technological Institute at Chicago
> http://www.tti-c.org/logg/
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> 



Follow ups

References