On Wed, Jul 19, 2023 at 7:59 AM Karsten Bolding <
kars...@bolding-bruggeman.com> wrote:
> Hello
>
> I'm re-implementing a model from mixed C/Fortran to Python where Petsc is
> used for matrix/vector operations.
>
> In the C-code I have:
> ierr = VecDuplicateVecs(templateVec,numTracers,);
> to
Hello
I'm re-implementing a model from mixed C/Fortran to Python where Petsc is
used for matrix/vector operations.
In the C-code I have:
ierr = VecDuplicateVecs(templateVec,numTracers,);
to create uef with numTracers vectors.
Later in the code looping is done of the individual vectors and a