Trying to figure out how to upload values to GPU.

This commit is contained in:
Miikka Vaisala
2019-06-26 15:23:46 +08:00
parent 656e50316a
commit 231a8aa06e
3 changed files with 46 additions and 5 deletions

View File

@@ -253,11 +253,11 @@ forcing(int3 globalVertexIdx)
//Placeholders until determined properly
Scalar magnitude = 0.05;
Vector k_force = (Vector){2.0, 0.0, 0.0};
Vector ff_re = (Vector){0.0, 0.5, 0.0};
Vector ff_im = (Vector){0.0, 0.8666, 0.0};
Scalar phase = Scalar(0.79);
//Scalar magnitude = 0.05;
//Vector k_force = (Vector){2.0, 0.0, 0.0};
//Vector ff_re = (Vector){0.0, 0.5, 0.0};
//Vector ff_im = (Vector){0.0, 0.8666, 0.0};
//Scalar phase = Scalar(0.79);
//Determine that forcing funtion type at this point.