/** * @file tempgrid.hpp * @author Julian Iseringhausen * @date Mon Apr 18 12:55:18 2011 * * @brief VMG::TempGrid * */ #ifndef TEMPGRID_HPP_ #define TEMPGRID_HPP_ #include "grid/grid.hpp" namespace VMG { class TempGrid : public Grid { public: TempGrid(); virtual ~TempGrid(); void SetProperties(const Grid& rhs); void SetProperties(const GlobalIndices& global, const LocalIndices& local, const SpatialExtent& extent); void SetPropertiesToFiner(const Grid& grid, const Boundary& boundary); void SetPropertiesToCoarser(const Grid& grid, const Boundary& boundary); void ImportFromResidual(Grid& sol, Grid& rhs); private: void Allocate(); int size_max; }; } #endif /* TEMPGRID_HPP_ */