Skip to content

Commit

Permalink
fix adi jacobian function
Browse files Browse the repository at this point in the history
  • Loading branch information
johnomotani committed Oct 26, 2024
1 parent eeac118 commit 0048959
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions moment_kinetics/src/electron_kinetic_equation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3404,15 +3404,12 @@ energy equation.
end

"""
fill_electron_kinetic_equation_z_only_Jacobian_f!(jacobian_matrix, f, ppar, moments,
collisions, composition, z, vperp,
vpa, z_spectral, vperp_specral,
vpa_spectral, z_advect, vpa_advect,
scratch_dummy,
external_source_settings,
num_diss_params, t_params, ion_dt,
ir, ivperp, ivpa, evolve_ppar,
include=:all)
fill_electron_kinetic_equation_z_only_Jacobian_f!(
jacobian_matrix, f, ppar, dpdf_dz, dpdf_dvpa, z_speed, moments, zeroth_moment,
first_moment, second_moment, third_moment, dthird_moment_dz, collisions,
composition, z, vperp, vpa, z_spectral, vperp_spectral, vpa_spectral, z_advect,
vpa_advect, scratch_dummy, external_source_settings, num_diss_params, t_params,
ion_dt, ir, ivperp, ivpa, evolve_ppar)
Fill a pre-allocated matrix with the Jacobian matrix for a z-direction solve part of the
ADI method for electron kinetic equation and (if `evolve_ppar=true`) the electron energy
Expand Down Expand Up @@ -3471,10 +3468,10 @@ end

"""
fill_electron_kinetic_equation_z_only_Jacobian_ppar!(
jacobian_matrix, f, ppar, moments, collisions, composition, z, vperp, vpa,
z_spectral, vperp_specral, vpa_spectral, z_advect, vpa_advect, scratch_dummy,
external_source_settings, num_diss_params, t_params, ion_dt, ir, ivperp, ivpa,
evolve_ppar, include=:all)
jacobian_matrix, ppar, moments, zeroth_moment, first_moment, second_moment,
third_moment, dthird_moment_dz, collisions, composition, z, vperp, vpa,
z_spectral, vperp_spectral, vpa_spectral, z_advect, vpa_advect, scratch_dummy,
external_source_settings, num_diss_params, t_params, ion_dt, ir, evolve_ppar)
Fill a pre-allocated matrix with the Jacobian matrix for a z-direction solve part of the
ADI method for electron kinetic equation and (if `evolve_ppar=true`) the electron energy
Expand Down

0 comments on commit 0048959

Please sign in to comment.