>> Can't you just call clear() in ~MyPreconditioner()?
> 
> Sure, I can.  Actually, that's what I'm doing now.  But for that, 
> still the method Preconditioner::clear() does not have to exist, does 
> it?

I haven't used the Preconditioner class in libMesh, but this kind of 
init()/clear() functionality is useful for time-dependent problems in 
which you need to re-initialize the solver/preconditioner repeatedly. 
It is similarly useful for adaptive discretizations.

I think it is a good thing to have in the base class.  But, again, I'm 
not currently using this class!

-- Boyce

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to