[petsc-users] writing native PETSc binaries in python
Barry Smith
bsmith at mcs.anl.gov
Fri Apr 27 13:12:19 CDT 2012
On Apr 27, 2012, at 8:19 AM, Ataollah Mesgarnejad wrote:
> Dear all,
>
> I was wondering if there is way to write numpy arrays as native PETSc binaries in python so I can open them inside my program with VecView?
In petsc-dev in the directory bin/pythonscripts is PetscBinaryIO.py which has python utilities for reading and writing python arrays to PETSc binary format.
Barry
>
> Thanks,
> Ata
More information about the petsc-users
mailing list