#ifndef AMR_TREE_H #define AMR_TREE_H #include "FlexArrayTempl.H" #include "AMRgridPlus.h" struct idxrec { int idx; int datastat; }; typedef FlexArray IntArray; typedef FlexArray GridArray typedef FlexArray IdxArray; class AMRTree; struct AMRNode{ IdxArray idxs; AMRTree subtimes; }; class AMRTree: protected FlexArray{ void buildtree(AMRTree *t, int &idx); public: AMRTree(GridArray *); ~AMRTree(); private: AMRNode timenode; GridArray grids; }; #endif