A Hybrid AMR Application for Cosmology and Astrophysics