Gets the initial states of a segment
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(segment), | intent(in) | :: | me | |||
real(kind=wp), | intent(out), | optional | :: | t0 | ||
real(kind=wp), | intent(out), | optional, | dimension(6) | :: | x0_rotating |
rotating frame |
subroutine get_segment_inputs(me,t0,x0_rotating) implicit none class(segment),intent(in) :: me real(wp),intent(out),optional :: t0 real(wp),dimension(6),intent(out),optional :: x0_rotating !! rotating frame if (present(t0)) t0 = me%data%t0 if (present(x0_rotating)) x0_rotating = me%data%x0_rotating end subroutine get_segment_inputs