[petsc-users] template function as argument to MatShellSetOperation

Marco Cisternino marco.cisternino at optimad.it
Mon Jan 12 07:59:57 CST 2015


Hi PETSc users, 
I'm trying to set my matrix multiplication with MatShellSetOperation. 
The question is: is it possible to pass a c++ template function as my matrix multiplication to MatShellSetOperation? 
And if yes, how? 
Thanks for any suggestions. 

Marco 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150112/cdc912ab/attachment.html>


More information about the petsc-users mailing list