harmonic_ode Interface

interface
public subroutine harmonic_ode(freq, t, x, dxdt, args)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: freq

The excitation frequency.

real(kind=real64), intent(in) :: t

The current time step value.

real(kind=real64), intent(in), dimension(:) :: x

The value of the solution estimate at time t.

real(kind=real64), intent(out), dimension(:) :: dxdt

The derivatives as computed by this routine.

class(*), intent(inout), optional :: args

An optional argument allowing the passing of data in/out of this routine.

Description

Defines a system of ODE's exposed to harmonic excitation.