Cool Ben. I think this is a good direction. You know though... we haven't
switched any of our code over to the new Object interfaces yet ;-) I'll
try to do that pretty soon so you can get some feedback on this stuff...
Derek
On Sat, Feb 4, 2012 at 9:58 AM, Kirk, Benjamin (JSC-EG311) <
benjamin.kir...@nasa.gov> wrote:
> So to continue along these lines I just submitted a patch to the DofMap
> that
> will allow user-provided objects instead of function pointers to augment
> the
> send list and sparsity pattern.
>
> These are implemented in much the same way as the nonlinear solver stuff -
> just a pure virtual function in a shell class the user can inherit from and
> implement.
>
> I opted for a named function like this:
>
> foo->augment_send_list(send_list);
>
> because it seemed a lot more self-documenting in this case than
>
> foo(send_list);
>
> For this application a functor seemed like it would complicate the
> intention
> of the function.
>
> Just wanted to give you a heads up in case those of you using the function
> pointers have a desire to port the implementation.
>
> -Ben
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Libmesh-devel mailing list
> Libmesh-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libmesh-devel
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel