Skip to content

Add user-defined near null space to aggregation-based AMG#117

Closed
Abdelrahman912 wants to merge 14 commits intoJuliaLinearAlgebra:masterfrom
Abdelrahman912:master
Closed

Add user-defined near null space to aggregation-based AMG#117
Abdelrahman912 wants to merge 14 commits intoJuliaLinearAlgebra:masterfrom
Abdelrahman912:master

Conversation

@Abdelrahman912
Copy link
Copy Markdown
Contributor

@Abdelrahman912 Abdelrahman912 commented May 28, 2025

closes #80

@termi-official, could you please check if any tests are missing?

@termi-official termi-official changed the title Add user-defined near null space Add user-defined near null space to aggregation-based AMG May 28, 2025
@termi-official
Copy link
Copy Markdown
Collaborator

Can you undo the format step? And can you also fix the failing test?

Comment thread test/nns_test.jl
import AlgebraicMultigrid as AMG
using Test
using SparseArrays, LinearAlgebra
using Ferrite, FerriteGmsh, SparseArrays
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Instead of using Ferrite here, can you refactor the tests here?

  1. We can have a helper script to generate the system matrix and near nullspace. You can dump these into e.g. matrix-market format.
  2. The actual test then just loads these files, bypassing the full assembly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User-defined near null space

2 participants