Skip to content

tkonolige/PETScBinaryIO.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PETScBinaryIO.jl

A Julia package for reading and writing sparse matrices in a format PETSc understands.

Exported Functions

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.

readpetsc(filename) :: Vector{Union{SparseMatrixCSC, Vector}}

Read a sparse matrix in PETSc's binary format from filename.