Set the outputs of a segment, assuming it has been propagated elsewhere
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(segment), | intent(inout) | :: | me | |||
real(kind=wp), | intent(in), | dimension(6) | :: | xf |
inertial frame |
|
real(kind=wp), | intent(in), | dimension(6) | :: | xf_rotating |
inertial frame |
subroutine set_segment_outputs(me,xf,xf_rotating) implicit none class(segment),intent(inout) :: me real(wp),dimension(6),intent(in) :: xf !! inertial frame real(wp),dimension(6),intent(in) :: xf_rotating !! inertial frame me%data%xf = xf me%data%xf_rotating = xf_rotating end subroutine set_segment_outputs