On Tue, 10 Feb 2009, Kirk, Benjamin (JSC-EG) wrote: >> Once you've got a BlockDofObject working correctly, why would you want >> to add a templated option to use the less efficient old DofObject? >> Just call the new one DofObject and you're done. > > Well, I can still see the use for an EmptyDofObject...
Yeah, you'll sometimes get a little extra savings there. I still don't think it's worth an invasive new template layer, although I at least won't kick and scream if you want to implement NodeDofObject and ElemDofObject typedefs. > The problem I see with only a blocked DofObject is how to still do mixed > element simulations properly, e.g. Taylor-Hood and friends. The catch is that you'd need to save more global mapping data (e.g. variable N is of fe_type M, the first index of variable N is J). This means that we'd have to break the DofObject API by adding const DofMap& arguments to n_vars(), n_dofs(), n_comp(), dof_number(), etc. --- Roy ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
