Searched refs:UniverseWidth (Results 1 – 3 of 3) sorted by relevance
| /oneTBB/examples/parallel_for/seismic/ |
| H A D | universe.cpp | 43 pulseX = UniverseWidth / 3; in InitializeUniverse() 48 for (int j = 0; j < UniverseWidth; ++j) { in InitializeUniverse() 52 for (int j = 1; j < UniverseWidth - 1; ++j) { in InitializeUniverse() 53 float x = float(j - UniverseWidth / 2) / (UniverseWidth / 2); in InitializeUniverse() 97 for (int j = 1; j < UniverseWidth - 1; ++j) { in InitializeUniverse() 103 D[i][UniverseWidth - 1 - k] *= d; in InitializeUniverse() 162 Rectangle area(0, 0, UniverseWidth - 1, UniverseHeight - 1); in SerialUpdateStress() 170 Universe::Rectangle area(0, range.begin(), u_.UniverseWidth - 1, range.size()); in operator ()() 191 UpdateVelocity(Rectangle(1, 1, UniverseWidth - 1, UniverseHeight - 1)); in SerialUpdateVelocity() 199 Universe::Rectangle(1, y_range.begin(), u_.UniverseWidth - 1, y_range.size())); in operator ()()
|
| H A D | universe.hpp | 33 enum { UniverseWidth = UNIVERSE_WIDTH, UniverseHeight = UNIVERSE_HEIGHT }; enumerator 43 enum { MaxWidth = UniverseWidth + 1, MaxHeight = UniverseHeight + 3 };
|
| H A D | main.cpp | 79 if (video.init_window(u.UniverseWidth, u.UniverseHeight)) { in main()
|