tTemporarily removed wmode=1 wall integration - sphere - GPU-based 3D discrete … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit fb36d7268c42f65243717141868a98060bbcddb2 | |
parent beba9aac6c98f3bd322dd6f6da14f91d96699318 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 5 Sep 2012 09:51:21 +0200 | |
Temporarily removed wmode=1 wall integration | |
Diffstat: | |
M src/integration.cuh | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/src/integration.cuh b/src/integration.cuh | |
t@@ -185,7 +185,7 @@ __global__ void integrateWalls(Float4* dev_w_nx, | |
Float dt = devC_dt; | |
// If wall BC is controlled by deviatoric stress: | |
- if (wmode == 0) { | |
+ //if (wmode == 0) { | |
// Normal load = Deviatoric stress times wall surface area, | |
// directed downwards. | |
t@@ -199,9 +199,9 @@ __global__ void integrateWalls(Float4* dev_w_nx, | |
w_mvfd.y += acc * dt; | |
// Wall BC is controlled by velocity, which should not change | |
- } else if (wmode == 1) { | |
- acc = 0.0f; | |
- } | |
+ //} else if (wmode == 1) { | |
+ // acc = 0.0f; | |
+ //} | |
// Update position. Second-order scheme based on Taylor expansion | |
// (greater accuracy than the first-order Euler's scheme) |