On Tue, Jan 12, 2010 at 11:33 PM, Vijay S. Mahadevan <[email protected]> wrote:
> Hi all,
>
> I just recently noticed the inclusion of "virtual" keyword on 3
> methods in EquationSystems. I have derived my physics from
> EquationSystems and have used it that way for a while now. I had to
> make few of the routines virtual in order to accomplish that but since
> I did not see any of that in the existing design, I assumed that
> EquationSystems was not supposed to be extendable as is. But the new
> inclusions have got me all confused.
>
> I do notice that the new changes might be modifications in progress
> but since my code depends on this object intricately, I am interested
> in the reasons for this move. If it is not too much of a detailed
> explanation, I would very much appreciate it if you can explain this
> design decision.
>
> Thanks a lot !

Hmm...

'svn annotate' says the solve() function and the destructor have been
virtual since version 1811, that version dates back to 2007-01-22.
The other two virtual functions are more recent, from 3517, added by
Roy for adjoint and sensitivity solve stuff.  I'd imagine none of
these really affects what you are doing with EquationSystems, does it?

-- 
John

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to