ode_equations_implementation Submodule

The implementation of the interfaces defined in ode_equations.


Uses

  • module~~ode_equations_implementation~~UsesGraph module~ode_equations_implementation ode_equations_implementation module~ode_equations ode_equations module~ode_equations_implementation->module~ode_equations module~kinds kinds module~ode_equations->module~kinds module~equations equations module~ode_equations->module~equations module~equations->module~kinds

Contents


Module Procedures

module procedure ode_set_to_zero module subroutine ode_set_to_zero(this, dest)

Arguments

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

The routine is called on this equation.

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

Can be either -1 (RHS), 0 (main) or between 1 and ntmp (temporary).

module procedure ode_update_vars 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.

module procedure ode_print_data module subroutine ode_print_data(this)

Arguments

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

The routine is called on this equation.