thost_wmode removed - sphere - GPU-based 3D discrete element method algorithm w… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 98d30b03e8da3fea17b70b1b0e59587e44b9a53c | |
parent d44739f8bca651e34af999b077c419e716695e61 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 30 Aug 2012 11:46:28 +0200 | |
host_wmode removed | |
Diffstat: | |
M src/main.cpp | 6 ++---- | |
1 file changed, 2 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/src/main.cpp b/src/main.cpp | |
t@@ -394,9 +394,9 @@ int main(int argc, char *argv[]) | |
cout << " - x- and y boundaries: Frictional walls\n"; | |
cout << " - Top BC: "; | |
- if (host_wmode[0] == 0) | |
+ if (params.wmode[0] == 0) | |
cout << "Deviatoric stress\n"; | |
- else if (host_wmode[0] == 1) | |
+ else if (params.wmode[0] == 1) | |
cout << "Velocity\n"; | |
else { | |
cerr << "Top boundary condition not recognized!\n"; | |
t@@ -445,7 +445,6 @@ int main(int argc, char *argv[]) | |
&time, ¶ms, | |
host_w_nx, | |
host_w_mvfd, | |
- host_wmode, | |
cwd, inputbin); | |
t@@ -483,7 +482,6 @@ int main(int argc, char *argv[]) | |
delete[] p.es_dot; | |
delete[] p.es; | |
delete[] p.p; | |
- delete[] params.nw; | |
// Wall arrays | |
delete[] host_w_nx; |