Skip to content

Commit 2062132

Browse files
committed
add AbstractArray compatability to readme
1 parent 3bd9e59 commit 2062132

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ Currently, most of the Vector Beginner and Intermediate functions are implimente
5353
* For each Petsc object, you must create a type that holds a void pointer called pobj and use that in place of the (incorrect) type generated by Clang.jl
5454
* For every function you add, create a test
5555

56+
## Compatability with AbstractArray
57+
A limited vocabulary of functions are provided that can operate on Petsc vectors
58+
and matrices as well as AbstractArrays. They are:
59+
60+
`set_values1!`
61+
`get_values1!`
62+
`PetscMatAssemblyBegin`
63+
`PetscMatAssemblyEnd`
64+
65+
5666
## Directory Structure
5767
`/src` : source files. PETSc.jl is the main file containing initialization, with the functions for each type of Petsc object in its own file. All constants are declared in `petsc_constants.jl`.
5868

0 commit comments

Comments
 (0)