On Thu, May 10, 2012 at 4:37 PM, Roy Stogner <royst...@ices.utexas.edu> wrote:
>
> So, 2.:  Do we create FEAbstract, which doesn't include *phi* data or
> get_*phi* methods, then derive FEBase and FEVectorBase from it?  Or do
> we just add get_vec_*phi* methods (and vec_*phi data) to FEBase?

The former sounds pretty good.

Might make it a little inconvenient to switch between FEBase and
FEVectorBase *within the same code* but how often are you mixing
scalar and vector FE types with the same assembly loop?

Would e.g. the FEMSystem hold a pointer to FEAbstract and then
dynamically allocate the proper underlying derived type based on what
the types of variables were added?

-- 
John

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to