← Back to team overview

dolfin team mailing list archive

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

 

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

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

-- 
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/



Follow ups

References