https://github.com/zingale/mg_james
A test 3-d multigrid solver implementing the James algorithm for isolated boundaries
https://github.com/zingale/mg_james
Last synced: over 1 year ago
JSON representation
A test 3-d multigrid solver implementing the James algorithm for isolated boundaries
- Host: GitHub
- URL: https://github.com/zingale/mg_james
- Owner: zingale
- License: bsd-3-clause
- Created: 2014-06-30T20:25:24.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-20T12:50:34.000Z (almost 12 years ago)
- Last Synced: 2025-01-24T13:11:13.575Z (over 1 year ago)
- Language: Python
- Size: 345 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mg_james
========
A test 3-d multigrid solver implementing the James algorithm for
isolated boundaries.
This is experimental. The 3-d MG solver is based on the solver from
pyro. The inhomogeneous Dirichlet BCs appear to work correctly,
converging as second-order when run via:
mg_test_inhomogeneous.py
That test problem was derived by picking the solution first and then
taking the Laplacian (via sympy) to get the RHS and evaluating the
boundary conditions as well. This is shown in the notebook:
inhomogeneous-bcs.ipynb