summaryrefslogtreecommitdiffstats
path: root/Temparray.h
blob: 05be3a0b0f95f36593567e55ae9f1c4fe07db2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _TEMPARRAY_H_
#define _TEMPARRAY_H_

#include "Cubehole.h"

class Temparray
{
  public:
    Temparray(float initialtemp, int size0[3]){
      teperature = new float[size0[0]][size0[0]][size0[0]][4][6];
      cubearray = new Cubehole[size0[0]][size0[0]][size0[0]];
    }
    ~Temparray(){
      delete[] temperature;
      delete[] cubearray;
    }

  private:
    float *temperature = 0;
    Cubehole *cubearray = 0;
};

#endif /* _TEMPARRAY_H_ */