Skip to content

ichin0se/implement_algebraicMultigridPreconditioners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Poisson FEM Solver with AMG Preconditioner (Python)

This repository provides a simple 2D Poisson equation solver using the Finite Element Method (FEM) and an Algebraic Multigrid (AMG) preconditioner via pyamg. The code demonstrates how to:

Prerequisites

  • Python 3.8+ (recommended)
  • NumPy
  • SciPy
  • Matplotlib
  • pyamg

Install all with:

pip install numpy scipy matplotlib pyamg

File Structure

.
├── solver_fem_amg.py      # Contains the core solver code
├── main.py                # Example script to run the solver
└── README.md              # This file

(Adjust file names / structure if your project layout differs.)

How to Run

  1. Clone or download this repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages