Skip to content

Commit

Permalink
Merge pull request #66 from gridap/using_csr_in_test
Browse files Browse the repository at this point in the history
Using CSR format in PoissonTests.jl
  • Loading branch information
fverdugo authored Nov 26, 2021
2 parents f754e7a + e6f96a4 commit a34ec34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GridapDistributed = "0.2"
MPI = "0.14, 0.15, 0.16, 0.17, 0.18, 0.19"
PETSc_jll = "3.13"
PartitionedArrays = "0.2.4"
SparseMatricesCSR = "0.6.1"
SparseMatricesCSR = "0.6.6"
julia = "1.3"

[extras]
Expand Down
4 changes: 3 additions & 1 deletion test/PoissonTests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using SparseMatricesCSR
using Gridap
using Gridap.Algebra
using Gridap.FESpaces
Expand Down Expand Up @@ -35,7 +36,8 @@ function main(parts)

a(u,v) = ( (v)(u) )dΩ
l(v) = ( v*f )dΩ + ( v*g )dΓn
op = AffineFEOperator(a,l,U,V)
assem=SparseMatrixAssembler(SparseMatrixCSR{0,PetscScalar,PetscInt},Vector{Float64},U,V)
op = AffineFEOperator(a,l,U,V,assem)

ls = PETScLinearSolver()
fels = LinearFESolver(ls)
Expand Down

2 comments on commit a34ec34

@amartinhuertas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/50869

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.0 -m "<description of version>" a34ec34b8977a87c1864a79900a4e95180bbac05
git push origin v0.4.0

Please sign in to comment.