Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 14 commits into from

Conversation

Abdelrahman912
Copy link
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
Collaborator

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

import AlgebraicMultigrid as AMG
using Test
using SparseArrays, LinearAlgebra
using Ferrite, FerriteGmsh, SparseArrays
Copy link
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