On Tue, 29 Jun 2010, Roy Stogner wrote: > Yeah; I'd have done that long ago if it wasn't for the backwards > compatibility issue. For flexibility there's no better solution than > Parameters, but for things we know we need we might as well avoid the > string lookup.
Actually, for backwards compatibility, it would be possible to use the same solution as in ParameterVector: add the option to add a parameter which is actually located elsewhere in memory; then that parameter could be accessed directly as a System member variable or indirectly via a Parameters lookup. Probably not worth the effort though. A string lookup per solve is no big deal. If anyone is in a string lookup per quadrature point situation, they could be caching that already without library support. --- Roy. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
