On Wed, Oct 24, 2012 at 3:03 PM, Lei Shi <stonesz...@gmail.com> wrote:
> BTW, I'm confused about the difference between the template class
> FEGenericBase and pure virtual class FEAbstract. Why do we need FEAbstract?
> It seems that we can put everything from FEAbstract into FEGenericBase.
> Since all FE class just inherits from FEGenericBase. Why add an extra level
> to the class inheritance hierarchy?
>
FEGenericBase is templated on the "OutputType", namely scalar-valued or
vector-valued. We keep FEAbstract separate because there are places in the
code where we don't care about the type and only need access to the common
structure contained in FEAbstract, as opposed to other places where we need
to the type.
Paul
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel