RAMSES-CPP aims to provide a functional and physically consistent alternative to the original Fortran implementation while maintaining strict bit-perfect parity in data structures and I/O.

Welcome to the documentation for RAMSES-CPP, a high-performance, modern C++17 port of the renowned RAMSES-2025 Adaptive Mesh Refinement (AMR) code.
RAMSES-CPP aims to provide a functional and physically consistent alternative to the original Fortran implementation of RAMSES, while maintaining strict bit-perfect parity in data structures and I/O. By porting to C++, we open the door to modern software engineering practices, easier integration with C/C++ libraries, and potentially improved performance and maintainability.
The project has achieved a major milestone in its core Adaptive Mesh Refinement (AMR) system. After a comprehensive restoration phase, the engine now supports full recursive refinement up to levelmax=10 with correct grid connectivity. The 1D and 3D Hydro solvers are fully functional and maintain bit-perfect parity with legacy RAMSES-2025 results.
nbor system, enabling seamless refinement across grid boundaries.AmrGrid API)..nml) and visualization tools (visu_ramses.py).