add virtual function for Grid Class
implement AmrGrid basic function