source: src/grid/tempgrid.hpp@ ac6d04

Last change on this file since ac6d04 was ac6d04, checked in by Julian Iseringhausen <isering@…>, 14 years ago

Merge recent changes of the vmg library into ScaFaCos.

Includes a fix for the communication problems on Jugene.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1666 5161e1c8-67bf-11de-9fd5-51895aff932f

  • Property mode set to 100644
File size: 748 bytes
Line 
1/**
2 * @file tempgrid.hpp
3 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
4 * @date Mon Apr 18 12:55:18 2011
5 *
6 * @brief VMG::TempGrid
7 *
8 */
9
10#ifndef TEMPGRID_HPP_
11#define TEMPGRID_HPP_
12
13#include "grid/grid.hpp"
14
15namespace VMG
16{
17
18class TempGrid : public Grid
19{
20public:
21 TempGrid();
22 virtual ~TempGrid();
23
24 void SetProperties(const Grid& rhs);
25 void SetProperties(const GlobalIndices& global, const LocalIndices& local, const SpatialExtent& extent);
26
27 void SetPropertiesToFiner(const Grid& grid, const Boundary& boundary);
28 void SetPropertiesToCoarser(const Grid& grid, const Boundary& boundary);
29
30 void ImportFromResidual(Grid& sol, Grid& rhs);
31
32private:
33 void Allocate();
34
35 int size_max;
36};
37
38}
39
40#endif /* TEMPGRID_HPP_ */
Note: See TracBrowser for help on using the repository browser.