diff --git a/bin/dirac.dll b/bin/dirac.dll index 639f64c..c9a9a36 100644 Binary files a/bin/dirac.dll and b/bin/dirac.dll differ diff --git a/src/main.cpp b/src/main.cpp index b8125df..29eb7c2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,7 +5,7 @@ #define B 2.0f #define N 4u -#define T 160 +#define T 1 #define DT 0.1f int main() diff --git a/src/wavefunc2.cpp b/src/wavefunc2.cpp index cd72ac3..56ceda8 100644 --- a/src/wavefunc2.cpp +++ b/src/wavefunc2.cpp @@ -71,8 +71,8 @@ void WaveFunc2::evolve(float _dt_, Scalar2* _toPotential_) Complex wingCoef = Imag(iwingCoef) ; Complex two = Real(2.0f) ; - for (uint32_t i = 0u; i < tempXSize; i++) - for (uint32_t j = 0u; j < tempYSize; j++) + for (uint32_t j = 0u; j < tempYSize; j++) + for (uint32_t i = 0u; i < tempXSize; i++) { if (i == 0u) {