Browse Source

Make const fields in HYPRE(Matrix|Vector) const (#28)

pull/29/head
Fredrik Ekre 1 year ago committed by GitHub
parent
commit
8103a90dda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 16
      src/HYPRE.jl

16
src/HYPRE.jl

@ -50,11 +50,11 @@ end
############### ###############
mutable struct HYPREMatrix # <: AbstractMatrix{HYPRE_Complex} mutable struct HYPREMatrix # <: AbstractMatrix{HYPRE_Complex}
#= const =# comm::MPI.Comm const comm::MPI.Comm
#= const =# ilower::HYPRE_BigInt const ilower::HYPRE_BigInt
#= const =# iupper::HYPRE_BigInt const iupper::HYPRE_BigInt
#= const =# jlower::HYPRE_BigInt const jlower::HYPRE_BigInt
#= const =# jupper::HYPRE_BigInt const jupper::HYPRE_BigInt
ijmatrix::HYPRE_IJMatrix ijmatrix::HYPRE_IJMatrix
parmatrix::HYPRE_ParCSRMatrix parmatrix::HYPRE_ParCSRMatrix
end end
@ -104,9 +104,9 @@ end
############### ###############
mutable struct HYPREVector # <: AbstractVector{HYPRE_Complex} mutable struct HYPREVector # <: AbstractVector{HYPRE_Complex}
#= const =# comm::MPI.Comm const comm::MPI.Comm
#= const =# ilower::HYPRE_BigInt const ilower::HYPRE_BigInt
#= const =# iupper::HYPRE_BigInt const iupper::HYPRE_BigInt
ijvector::HYPRE_IJVector ijvector::HYPRE_IJVector
parvector::HYPRE_ParVector parvector::HYPRE_ParVector
end end

Loading…
Cancel
Save