@@ -6,9 +6,9 @@ mutable struct PardisoLU{Tv, Ti} <: AbstractPardisoLU{Tv,Ti}
66 phash:: UInt64
77end
88
9- function PardisoLU {Tv,Ti} (;iparm= nothing ,dparm= nothing ,matrixtype = nothing ) where {Tv,Ti}
9+ function PardisoLU {Tv,Ti} (;iparm= nothing ,dparm= nothing ,mtype = nothing ) where {Tv,Ti}
1010 fact= PardisoLU {Tv,Ti} (nothing ,Pardiso. PardisoSolver (),0 )
11- default_initialize! (fact,iparm,dparm,matrixtype )
11+ default_initialize! (fact,iparm,dparm,mtype )
1212end
1313
1414"""
@@ -17,16 +17,16 @@ PardisoLU(;valuetype=Float64,
1717 indextype=Int64,
1818 iparm::Vector,
1919 dparm::Vector,
20- matrixtype= Int)
20+ mtype:: Int)
2121
22- PardisoLU(matrix; iparm,dparm,matrixtype )
22+ PardisoLU(matrix; iparm,dparm,mtype )
2323```
2424
2525LU factorization based on pardiso. For using this, you need to issue `using Pardiso`
2626and have the pardiso library from [pardiso-project.org](https://pardiso-project.org)
2727[installed](https://github.com/JuliaSparse/Pardiso.jl#pardiso-60).
2828
29- The optional keyword arguments `matrixtype `, `iparm` and `dparm` are
29+ The optional keyword arguments `mtype `, `iparm` and `dparm` are
3030(Pardiso internal parameters)[https://github.com/JuliaSparse/Pardiso.jl#readme].
3131
3232Forsetting them, one can also access the `PardisoSolver` e.g. like
@@ -46,9 +46,9 @@ mutable struct MKLPardisoLU{Tv, Ti} <: AbstractPardisoLU{Tv,Ti}
4646 phash:: UInt64
4747end
4848
49- function MKLPardisoLU {Tv,Ti} (;iparm= nothing ,matrixtype = nothing ) where {Tv,Ti}
49+ function MKLPardisoLU {Tv,Ti} (;iparm= nothing ,mtype = nothing ) where {Tv,Ti}
5050 fact= MKLPardisoLU {Tv,Ti} (nothing ,Pardiso. MKLPardisoSolver (),0 )
51- default_initialize! (fact, iparm,nothing ,matrixtype )
51+ default_initialize! (fact, iparm,nothing ,mtype )
5252end
5353
5454
5757MKLPardisoLU(;valuetype=Float64,
5858 indextype=Int64,
5959 iparm::Vector,
60- matrixtype= Int)
60+ mtype:: Int)
6161
62- MKLPardisoLU(matrix; iparm, matrixtype )
62+ MKLPardisoLU(matrix; iparm, mtype )
6363```
6464
6565LU factorization based on pardiso. For using this, you need to issue `using Pardiso`.
6666This version uses the early 2000's fork in Intel's MKL library.
6767
68- The optional keyword arguments `matrixtype ` and `iparm` are
68+ The optional keyword arguments `mtype ` and `iparm` are
6969(Pardiso internal parameters)[https://github.com/JuliaSparse/Pardiso.jl#readme].
7070
7171For setting them you can also access the `PardisoSolver` e.g. like
@@ -79,13 +79,13 @@ MKLPardisoLU(;valuetype::Type=Float64, indextype::Type=Int64,kwargs...)=MKLPardi
7979
8080
8181# #########################################################################################
82- function default_initialize! (fact:: AbstractPardisoLU{Tv,Ti} , iparm,dparm,matrixtype ) where {Tv, Ti}
83- if ! isnothing (matrixtype )
84- my_matrixtype = matrixtype
82+ function default_initialize! (fact:: AbstractPardisoLU{Tv,Ti} , iparm,dparm,mtype ) where {Tv, Ti}
83+ if ! isnothing (mtype )
84+ my_mtype = mtype
8585 elseif Tv<: Complex
86- my_matrixtype = Pardiso. COMPLEX_NONSYM
86+ my_mtype = Pardiso. COMPLEX_NONSYM
8787 else
88- my_matrixtype = Pardiso. REAL_NONSYM
88+ my_mtype = Pardiso. REAL_NONSYM
8989 end
9090
9191 Pardiso. set_matrixtype! (fact. ps,Pardiso. REAL_NONSYM)
0 commit comments