Smoke: accidentally left some old code in

This commit is contained in:
Daniel Genrich 2009-08-12 17:39:38 +00:00
parent bba9c797b5
commit 15e617f2a9
2 changed files with 0 additions and 6 deletions

@ -101,9 +101,6 @@ FLUID_3D::FLUID_3D(int *res, float *p0, float dt) :
_h = new float[_totalCells];
_Precond = new float[_totalCells];
_spectrum = new unsigned char[256*4*16*16];
// DG TODO: check if alloc went fine
for (int x = 0; x < _totalCells; x++)
@ -207,8 +204,6 @@ FLUID_3D::~FLUID_3D()
if (_obstacles) delete[] _obstacles;
// if (_wTurbulence) delete _wTurbulence;
if(_spectrum) delete[] _spectrum;
printf("deleted fluid\n");
}

@ -99,7 +99,6 @@ class FLUID_3D
float* _h;
float* _Precond;
unsigned char* _obstacles;
unsigned char *_spectrum;
// CG fields
float* _residual;