Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
SWE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
SWE
Commits
9bcac1fa
Commit
9bcac1fa
authored
Jul 16, 2013
by
Sebastian Rettenberger
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:TUM-I5/SWE
parents
c064dd79
485c7757
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
3 deletions
+9
-3
swe_opengl.cpp
src/examples/swe_opengl.cpp
+2
-0
controller.cpp
src/opengl/controller.cpp
+2
-2
shader.cpp
src/opengl/shader.cpp
+2
-0
text.h
src/opengl/text.h
+2
-0
swe_solvers
submodules/swe_solvers
+1
-1
No files found.
src/examples/swe_opengl.cpp
View file @
9bcac1fa
...
@@ -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.
...
...
src/opengl/controller.cpp
View file @
9bcac1fa
...
@@ -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_
5
00m_bath.nc"
,
ASAGI_INPUT_DIR
"chile_gebco_usgs_
20
00m_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_
5
00m_bath.nc"
,
ASAGI_INPUT_DIR
"chile_gebco_usgs_
20
00m_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
);
}
}
...
...
src/opengl/shader.cpp
View file @
9bcac1fa
...
@@ -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"
...
...
src/opengl/text.h
View file @
9bcac1fa
...
@@ -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>
...
...
swe_solvers
@
47999975
Subproject commit
9f7fe2f2ebc31a9c9e68583232748fb5de7dba18
Subproject commit
479999755e660f1969c294fe6cb68615d140ea19
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment