source_term_func Interface

interface

Interface to describe the call signatures for routines to calculate the field from gnew (invert_field_func) and to calculate the source term used in the advance_nonlinear_term methods. Used to allow us to pass in these methods, giving us a way to test the integrators on different problems.


private subroutine source_term_func(g_in, g1, phi, apar, bpar, max_vel_local, need_to_adjust, calculate_cfl_limit)

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension (:,:,:) :: g_in
complex, intent(out), dimension (:,:,:) :: g1
complex, intent(in), dimension (:,:,:) :: phi
complex, intent(in), dimension (:,:,:) :: apar
complex, intent(in), dimension (:,:,:) :: bpar
real, intent(out) :: max_vel_local
logical, intent(in) :: need_to_adjust
logical, intent(in), optional :: calculate_cfl_limit