From bbd6a9402c7ee5fa4afc5704532137808aefaeac Mon Sep 17 00:00:00 2001 From: Lambert Plavecz Date: Sun, 13 Sep 2020 16:40:51 +0200 Subject: [PATCH] Updated Odeint Keller-Miksis computation --- Keller_Miksis_RK45/GPU_odeint/keller_miksis_thrust.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Keller_Miksis_RK45/GPU_odeint/keller_miksis_thrust.cu b/Keller_Miksis_RK45/GPU_odeint/keller_miksis_thrust.cu index 7760b22..953a973 100644 --- a/Keller_Miksis_RK45/GPU_odeint/keller_miksis_thrust.cu +++ b/Keller_Miksis_RK45/GPU_odeint/keller_miksis_thrust.cu @@ -40,7 +40,7 @@ const double theta = 0.0; typedef double value_type; typedef thrust::device_vector< value_type > state_type; -const int num = 12; +int num = 12; string file_name = "kellermiksis_thrust_output.txt"; @@ -270,7 +270,7 @@ int main() { typedef runge_kutta_cash_karp54< state_type , value_type , state_type , value_type > stepper_type; - for(int jj=12; jj < 18;jj++){ //parameter loop + for(int jj=0; jj < 12;jj++){ //parameter loop num = nums[jj]; cout << num << endl;