[petsc-users] Small vectors and matrices

Jed Brown jedbrown at mcs.anl.gov
Fri Nov 11 08:05:27 CST 2011


On Fri, Nov 11, 2011 at 03:35, markus.sons at gmail.com
<markus.sons at gmail.com>wrote:

> So, what do you recommend? Using PETSc for the large-scale computations
> and some simple Vec and Mat class for small, local stuff?


Don't use PETSc Mat/Vec for very small local problems like the 3x3 or 4x4
matrices. If you are already addicted to templates and overloading, you
might check out a library like Eigen which is competitive with BLAS/Lapack
for some problems on some architectures.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111111/1c6ae858/attachment.htm>


More information about the petsc-users mailing list