After the tree's update for time t: the callback's segments (all frames at their positions for t), written and uploaded if they changed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(CustomLineSegments), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | t |
simulation time (s) |
recursive subroutine segments_late_update(self, t) class(CustomLineSegments), intent(inout) :: self real(wp), intent(in) :: t !! simulation time (s) if (associated(self%callback)) call self%callback%compute(self, t) if (self%changed .and. self%chain%is_built()) call write_segments(self) call self%ReferenceFrame%late_update(t) end subroutine segments_late_update