eff_source_set_time_window Abstract Interface

abstract interface
public subroutine eff_source_set_time_window(this, tfac, dtfac_dt, d2tfac_dt2, do_smooth_after_lmax)

Arguments

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

The routine is called on this object.

real(kind=wp), intent(in) :: tfac

The current value for the time window.

real(kind=wp), intent(in) :: dtfac_dt

The current value for the time derivative of the time window.

real(kind=wp), intent(in) :: d2tfac_dt2

The current value for the second time derivative of the time window.

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

If do_smooth_after_lmax use tfac=1, dtfac_dt=0, d2tfac_dt2=0. This allows for smooth turn on of the effective source for the modes with do_smooth_after_lmax, while the rest gets turned on instantaneously (e.g. when external initial data is available).

Description

The interface of the routine that sets the time window for smooth turn on of the effective source.