Hello petsc-users,<div><br></div><div>I'm currently trying the basic functionality of PETSc and reading some of the tutorial codes.</div><div><br></div><div>Now I'd like to ask you, whether you think that PETSc is also suitable for small, local vector computations. Something like calculating point-to-point distance in 3D etc?</div>
<div>I guess it would be hard to read as there are probably a lot of steps (e.g. creating an index array, AssemblyBegin and AssemblyEnd) and due to the lack of overloaded operators.</div><div><br></div><div>Of course I could now write a C++ class which will serve as a nice wrapper for PETSc, but it seems to me that the PETSc objects have a lot of overhead and are really developed</div>
<div>for solving and assembling huge equation systems.</div><div><br></div><div>So, what do you recommend? Using PETSc for the large-scale computations and some simple Vec and Mat class for small, local stuff?</div><div>
<br>
</div><div>Thanks in advance!</div><div><br></div><div>Markus</div>