From: Lorenzo B. <bot...@gm...> - 2012-10-25 19:43:32
|
http://epubs.siam.org/doi/abs/10.1137/110830125 I guess you already know this work... Lorenzo On Oct 25, 2012 8:40 PM, "Boyce Griffith" <gri...@ci...> wrote: > > > On 10/25/12 1:58 PM, Roy Stogner wrote: > > > > On Thu, 25 Oct 2012, Roy Stogner wrote: > > > >> The first thing to do would be creating a shim class API > > > > Actually, should the first thing be something like: > > > > template <typename T> > > typedef std::vector<T> LibMesh1Array; > > > > template <typename T> > > typedef std::vector<std::vector<T> > LibMesh2Array; > > > > ? > > > > Then example codes and user codes could be pre-prepared for any > > subsequent API change, and so long as the new array class or its shim > > supported [i][j] accessors, those initial changes would be the only > > API breakage required. > > Libraries like Eigen and Blitz++ use operator() for accessors rather > than operator[]. How horrible would it be to go ahead and change to > operator() when making this change to LibMeshNArray? > > Best, > > -- Boyce > > > ------------------------------------------------------------------------------ > 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 > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-devel > |