Skip to content

Commit

Permalink
Update src/fokker_planck_calculus.jl
Browse files Browse the repository at this point in the history
Co-authored-by: John Omotani <[email protected]>
  • Loading branch information
mrhardman and johnomotani authored Dec 11, 2023
1 parent 304db78 commit 5c8b3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fokker_planck_calculus.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 5c8b3ee

Please sign in to comment.