On Mon, Jul 14, 2008 at 7:12 AM, Mathias Nenning <[EMAIL PROTECTED]> wrote:
>
> Also it would be nice to have some direct access to the "ksp"-object to
> change default settings... This is possible in class "PetscLinearSolver"
> but not from its base class "Linearsolver", which is the object given in
> the NewmarkSystem...

Since we don't have an abstraction of a "ksp" object for all linear
solvers, we can't return any object like that from the base class...
However, you are free to dynamically cast a LinearSolver pointer or
reference to a PetscLinearSolver and pull the ksp object from there.

-- 
John

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to