Smoke: accidentally left some old code in
authorDaniel Genrich <daniel.genrich@gmx.net>
Wed, 12 Aug 2009 17:39:38 +0000 (17:39 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Wed, 12 Aug 2009 17:39:38 +0000 (17:39 +0000)
intern/smoke/intern/FLUID_3D.cpp
intern/smoke/intern/FLUID_3D.h

index 8f72b1da536662902206bad30838506490af5e9e..ff66f29143c3f3369540e341a3340d8173fc0b53 100644 (file)
@@ -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");
 }
 
index f228abc05a99fd6cec6f60f0c47f7db27492d439..78a4cf076e34682abab70c6f82cc8ee8f9fafd34 100644 (file)
@@ -99,7 +99,6 @@ class FLUID_3D
                float* _h;
                float* _Precond;
                unsigned char*  _obstacles;
-               unsigned char *_spectrum;
 
                // CG fields
                float* _residual;