Remove all points (keeping the memory).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Trajectory), | intent(inout) | :: | self |
subroutine clear(self) class(Trajectory), intent(inout) :: self self%n_times = 0 self%n_pos = 0 self%n_att = 0 self%n_col = 0 self%generation_ = self%generation_ + 1 self%revision_ = self%revision_ + 1 end subroutine clear