blob: b8f866c0d0790f926790fa58865937fa7e2eb5d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef __AMR_GRID_HH_
#define __AMR_GRID_HH_
#include "AmrGrid.h"
#include "flexset.h"
struct AMRgridPlus : public AmrGrid {
double time;
int timeref, spaceref[3], placeref[3];
double scalarmin,scalarmax;
};
struct idxrec{
int idx;
idxrec(int first=0){idx=first;}
int operator<(const idxrec &other)const {return idx<other.idx;}
int operator==(const idxrec &other)const {return idx==other.idx;}
};
typedef flexset<idxrec> IdxSet;
typedef flexarray<AMRgridPlus > GridArray;
#endif
|