Draw traj (it must stay alive while drawn).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TrajectoryArtist), | intent(inout) | :: | self | |||
| type(Trajectory), | intent(in), | target | :: | traj |
the trajectory to draw (not owned) |
subroutine set_trajectory(self, traj) class(TrajectoryArtist), intent(inout) :: self type(Trajectory), intent(in), target :: traj !! the trajectory to draw (not owned) self%traj => traj self%seen_generation = -1 ! redraw end subroutine set_trajectory