ode_update_vars Interface

interface


Calls

interface~~ode_update_vars~~CallsGraph interface~ode_update_vars ode_update_vars proc~ode_update_vars ode_update_vars interface~ode_update_vars->proc~ode_update_vars

public module subroutine ode_update_vars(this, source, dest, source2, scalar, scalar2)

Arguments

Type IntentOptional AttributesName
class(ode_equation), intent(inout), target:: this

The routine is called on this equation.

integer(kind=ip), intent(in) :: source

The first source for the update. Can be either -1 (RHS), 0 (main) or between 1 and ntmp (temporary).

integer(kind=ip), intent(in) :: dest

The destination for the update. Can be either -1 (RHS), 0 (main) or between 1 and ntmp (temporary).

integer(kind=ip), intent(in), optional :: source2

The second source for the update. Can be either -1 (RHS), 0 (main) or between 1 and ntmp (temporary).

real(kind=wp), intent(in), optional :: scalar

The scalar multiplying the first source.

real(kind=wp), intent(in), optional :: scalar2

The scalar multiplying the second source.

Description

The interface for the ODE version of update_vars. This interface is consistent with eq_update_vars_interface.