Commit 9bcac1fa authored by Sebastian Rettenberger's avatar Sebastian Rettenberger

Merge branch 'master' of github.com:TUM-I5/SWE

parents c064dd79 485c7757
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#define SCREEN_WIDTH 800 #define SCREEN_WIDTH 800
#define SCREEN_HEIGHT 600 #define SCREEN_HEIGHT 600
#define WINDOW_TITLE "Shallow Water Equations v1.3" #define WINDOW_TITLE "Shallow Water Equations v1.3"
#define GRID_XSIZE 401
#define GRID_YSIZE 401
/** /**
Main routine. Main routine.
......
...@@ -286,7 +286,7 @@ bool Controller::handleKeyPress( SDL_keysym *keysym) { ...@@ -286,7 +286,7 @@ bool Controller::handleKeyPress( SDL_keysym *keysym) {
simulationArea[2] = -2750000; simulationArea[2] = -2750000;
simulationArea[3] = 8840000; simulationArea[3] = 8840000;
scenarios[5] = new SWE_AsagiScenario( scenarios[5] = new SWE_AsagiScenario(
ASAGI_INPUT_DIR "chile_gebco_usgs_500m_bath.nc", ASAGI_INPUT_DIR "chile_gebco_usgs_2000m_bath.nc",
ASAGI_INPUT_DIR "chile_gebco_usgs_500m_displ.nc", ASAGI_INPUT_DIR "chile_gebco_usgs_500m_displ.nc",
(float) 28800., simulationArea); (float) 28800., simulationArea);
} }
...@@ -308,7 +308,7 @@ bool Controller::handleKeyPress( SDL_keysym *keysym) { ...@@ -308,7 +308,7 @@ bool Controller::handleKeyPress( SDL_keysym *keysym) {
simulationArea[2] = -2265000; simulationArea[2] = -2265000;
simulationArea[3] = 1870000; simulationArea[3] = 1870000;
scenarios[6] = new SWE_AsagiScenario( scenarios[6] = new SWE_AsagiScenario(
ASAGI_INPUT_DIR "chile_gebco_usgs_500m_bath.nc", ASAGI_INPUT_DIR "chile_gebco_usgs_2000m_bath.nc",
ASAGI_INPUT_DIR "chile_gebco_usgs_500m_displ.nc", ASAGI_INPUT_DIR "chile_gebco_usgs_500m_displ.nc",
(float) 28800., simulationArea); (float) 28800., simulationArea);
} }
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// along with SWE_CUDA. If not, see <http://www.gnu.org/licenses/>. // along with SWE_CUDA. If not, see <http://www.gnu.org/licenses/>.
// ===================================================================== // =====================================================================
#include <unistd.h>
#include "shader.h" #include "shader.h"
#include "tools/Logger.hh" #include "tools/Logger.hh"
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
#ifndef TEXT_H #ifndef TEXT_H
#define TEXT_H #define TEXT_H
#include <unistd.h>
#include <cmath> #include <cmath>
#include <string> #include <string>
#include <vector> #include <vector>
......
Subproject commit 9f7fe2f2ebc31a9c9e68583232748fb5de7dba18 Subproject commit 479999755e660f1969c294fe6cb68615d140ea19
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment