set_force Subroutine

public subroutine set_force(this, ft, fr, ftheta, fphi)

Routine that sets the self-force variable.

Arguments

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

The routine is called on this self_force object.

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

The -component of the self-force, .

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

The -component of the self-force, .

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

The -component of the self-force, .

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

The -component of the self-force, .


Contents

Source Code


Source Code

  subroutine set_force ( this, ft, fr, ftheta, fphi )
  !! Routine that sets the self-force variable.

    implicit none

    class(self_force), intent(inout) :: this
    !! The routine is called on this [[self_force]] object.
    real(wp), intent(in) :: ft
    !! The \(t\)-component of the self-force, \(f_t\).
    real(wp), intent(in) :: fr
    !! The \(r\)-component of the self-force, \(f_r\).
    real(wp), intent(in) :: ftheta
    !! The \(\theta\)-component of the self-force, \(f_{\theta}\).
    real(wp), intent(in) :: fphi
    !! The \(\phi\)-component of the self-force, \(f_{\phi}\).

    this%f = (/ ft, fr, ftheta, fphi /)
  end subroutine set_force