From 5c8b3eea99d2efc49b3e48cb209ace738a5b97a3 Mon Sep 17 00:00:00 2001 From: mrhardman Date: Mon, 11 Dec 2023 13:19:10 +0000 Subject: [PATCH] Update src/fokker_planck_calculus.jl Co-authored-by: John Omotani --- src/fokker_planck_calculus.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fokker_planck_calculus.jl b/src/fokker_planck_calculus.jl index 3124c2bce..0946a9244 100644 --- a/src/fokker_planck_calculus.jl +++ b/src/fokker_planck_calculus.jl @@ -930,7 +930,7 @@ function icsc_func(ivpa_local::mk_int,ivpap_local::mk_int, ielement_vperp::mk_int, ngrid_vperp::mk_int,nelement_vperp::mk_int) ntot_vpa = (nelement_vpa - 1)*(ngrid_vpa^2 - 1) + ngrid_vpa^2 - ntot_vperp = (nelement_vperp - 1)*(ngrid_vperp^2 - 1) + ngrid_vperp^2 + #ntot_vperp = (nelement_vperp - 1)*(ngrid_vperp^2 - 1) + ngrid_vperp^2 icsc_vpa = ((ivpap_local - 1) + (ivpa_local - 1)*ngrid_vpa + (ielement_vpa - 1)*(ngrid_vpa^2 - 1))