introducing inhomo_solver::parent and making use of it in solver_pressure to call grand-parent method