← Back to team overview

dolfin team mailing list archive

Re: [HG] Remove add("solver", "direct") from the constructors of PDE.

 

On Fri, 2006-02-17 at 12:48 -0600, Anders Logg wrote:
> Alternatively, the solver type can be set by
> 
>     pde.set("solver", "direct");
> 
> That way, only the solver type for the PDE in question will be
> affected (not the global choice).
> 

Sure, this would be better I wasn't thinking straight when I did this
and had some spurious idea in my head why this wasn't possible. 

Also, I think that I'm suffering from some amnesia wrt the parameter
system - is the parameter "solver", set by

	pde.set("solver", "direct");

local to pde, and

	set("solver", "direct");

global?

Garth

> /Anders
> 
> 
> On Fri, Feb 17, 2006 at 02:52:11PM +0100, DOLFIN wrote:
> > One or more new changesets pushed to the primary DOLFIN repository.
> > A short summary of the last three changesets is included below.
> > 
> > changeset:   1706:cfdbb1a4cb0f90e1a41a97ce2cf8647b9bcff5be
> > tag:         tip
> > parent:      1703:8932e200aa0636addfe3d35dbd77e652a959213f
> > user:        "Garth N. Wells <g.n.wells@xxxxxxxxxx>"
> > date:        Fri Feb 17 14:39:44 2006 +0100
> > files:       src/demo/pde/elasticity/main.cpp src/kernel/form/PDE.cpp
> > description:
> > Remove add("solver", "direct") from the constructors of PDE.
> > 
> > add("solver", "default") exists in DefaultParameters.h, and PDE is set to use GMRES for is solver == default. To use a direct solver,
> > 
> > set("solver", "direct");
> > Function u = pde.solve();
> > 
> > 
> > changeset:   1705:b607b5c492ef9332bbbfe96999c9015f3cb78d60
> > parent:      1704:60d9d9506b40e72a7870bde75dc4d379ecfdbbcd
> > parent:      1703:8932e200aa0636addfe3d35dbd77e652a959213f
> > user:        "Johan Jansson <johanjan@xxxxxxxxxxxxxxxx>"
> > date:        Fri Feb 17 13:51:17 2006 +0100
> > files:       
> > description:
> > Merge.
> > 
> > 
> > changeset:   1704:60d9d9506b40e72a7870bde75dc4d379ecfdbbcd
> > parent:      1702:bd265ee357ec0359bdcf32ec3877b3c14f1efc35
> > user:        "Johan Jansson <johanjan@xxxxxxxxxxxxxxxx>"
> > date:        Fri Feb 17 13:50:12 2006 +0100
> > files:       src/utils/matlab/xmlmesh.m
> > description:
> > utils:
> > 
> > Updated xmlmesh convert utility to reflect change node->vertex in mesh.
> > 
> > 
> > -------------------------------------------------------
> > For more details, visit http://www.fenics.org/hg/dolfin
> > 
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> > 
> 
-- 
Dr. Garth N. Wells
Faculty of Civil Engineering and Geosciences
Delft University of Technology
Stevinweg 1
2628 CN Delft
The Netherlands

tel.     +31 15 278 7922
fax.     +31 15 278 6383
e-mail   g.n.wells@xxxxxxxxxx
url      http://www.mechanics.citg.tudelft.nl/~garth




Follow ups

References