Skip to content

Commit 70c4b72

Browse files
committed
Adding and testing some mat routines
1 parent f505831 commit 70c4b72

File tree

4 files changed

+285
-45
lines changed

4 files changed

+285
-45
lines changed

deps/build.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,19 @@ open(joinpath(@__DIR__,"PetscDataTypes.jl"),"w") do f
102102
println(f)
103103
println(f,:("\"\"\""))
104104
println(f, "Julia alias for `PetscReal` C type.\n")
105-
println(f, "See: https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscReal.html")
105+
println(f, "See [PETSc manual](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscReal.html).")
106106
println(f,:("\"\"\""))
107107
println(f,:(const PetscReal = $(PetscReal)))
108108
println(f)
109109
println(f,:("\"\"\""))
110110
println(f, "Julia alias for `PetscScalar` C type.\n")
111-
println(f, "See: https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscScalar.html")
111+
println(f, "See [PETSc manual](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscScalar.html).")
112112
println(f,:("\"\"\""))
113113
println(f,:(const PetscScalar = $(PetscScalar)))
114114
println(f)
115115
println(f,:("\"\"\""))
116116
println(f, "Julia alias for `PetscInt` C type.\n")
117-
println(f, "See: https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscInt.html")
117+
println(f, "See [PETSc manual](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscInt.html).")
118118
println(f,:("\"\"\""))
119119
println(f,:(const PetscInt = $(PetscInt)))
120120
end

src/Config.jl

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
"""
33
Julia alias to `PetscErrorCode` C type.
44
5-
See: https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscErrorCode.html
5+
See [PETSc manual](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscErrorCode.html).
66
"""
77
const PetscErrorCode = Cint
88

99
"""
1010
Julia alias to `PetscBool` C enum.
1111
12-
See: https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscBool.html
12+
See [PETSc manual](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscBool.html).
1313
"""
1414
@enum PetscBool PETSC_FALSE PETSC_TRUE
1515

1616
"""
1717
Julia alias to `PetscDataType` C enum.
1818
19-
See: ihttps://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscDataType.html
19+
See [PETSc manual](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscDataType.html).
2020
"""
2121
@enum PetscDataType begin
2222
PETSC_DATATYPE_UNKNOWN = 0
@@ -42,7 +42,7 @@ end
4242
"""
4343
PetscDataTypeFromString(name,ptype,found)
4444
45-
See: https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscDataTypeFromString.html
45+
See [PETSc manual](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscDataTypeFromString.html).
4646
"""
4747
function PetscDataTypeFromString(name,ptype,found)
4848
ccall(
@@ -54,7 +54,7 @@ end
5454
"""
5555
PetscDataTypeGetSize(ptype,size)
5656
57-
See: https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscDataTypeGetSize.html
57+
See [PETSc manual](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscDataTypeGetSize.html).
5858
"""
5959
function PetscDataTypeGetSize(ptype,size)
6060
ccall(

0 commit comments

Comments
 (0)