https://github.com/tkonolige/petscbinaryio.jl
Julia package for PETSc sparse matrix IO
https://github.com/tkonolige/petscbinaryio.jl
julia petsc
Last synced: 8 months ago
JSON representation
Julia package for PETSc sparse matrix IO
- Host: GitHub
- URL: https://github.com/tkonolige/petscbinaryio.jl
- Owner: tkonolige
- License: other
- Created: 2017-03-06T19:53:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-11T11:36:01.000Z (about 7 years ago)
- Last Synced: 2024-04-27T05:02:02.642Z (about 2 years ago)
- Topics: julia, petsc
- Language: Julia
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PETScBinaryIO.jl
A Julia package for reading and writing sparse matrices in a format PETSc understands.
## Exported Functions
```julia
writepetsc(filename, objs :: Vector{Union{SparseMatrixCSC, Vector}})
writepetsc(filename, mat :: SparseMatrixCSC)
writepetsc(filename, vec :: Vector)
```
Write a sparse matrix to `filename` in a format PETSc can understand.
```julia
readpetsc(filename) :: Vector{Union{SparseMatrixCSC, Vector}}
```
Read a sparse matrix in PETSc's binary format from `filename`.