oftraj_setoptional Subroutine

public subroutine oftraj_setoptional(index, x, y, z)

Set the optional with the given index, for the most recently-added position.

This applies to the current active Trajectory. The index must be in the range [0, num optionals - 1].

This optional corresponds to the most recent time provided by oftraj_addtime.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: index

index of optional to add values to.

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

X component of optional.

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

Y component of optional.

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

Z component of optional.