--- title: NPSolver emoji: 🌡️ colorFrom: blue colorTo: yellow sdk: gradio sdk_version: 6.32.0 app_file: app.py python_version: "3.12" short_description: Neural Poisson solver on irregular 2D domains startup_duration_timeout: 30m models: - bochengz/NPSolver_models datasets: - bochengz/NPSolver_datasets --- # NPSolver: Neural Poisson Solver with Iterative Physics Supervision Interactive demo of [NPSolver](https://huggingface.co/papers/2605.25786) (KDD 2026). It solves ∇²u = f on corner-removed square domains with Dirichlet, Neumann or mixed walls using the authors' pretrained BA-Transolver checkpoints ([bochengz/NPSolver_models](https://huggingface.co/bochengz/NPSolver_models)). Each prediction is checked against a direct sparse solve of the same finite-volume system. Domain meshes are the authors' test meshes from [bochengz/NPSolver_datasets](https://huggingface.co/datasets/bochengz/NPSolver_datasets), downloaded at runtime. Model code is adapted from https://github.com/intell-sci-comput/NPSolver (MIT).