a segment trajectory (for plotting or output)
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=wp), | public, | dimension(:), allocatable | :: | et | |||
| real(kind=wp), | public, | dimension(:), allocatable | :: | x | |||
| real(kind=wp), | public, | dimension(:), allocatable | :: | y | |||
| real(kind=wp), | public, | dimension(:), allocatable | :: | z | |||
| real(kind=wp), | public, | dimension(:), allocatable | :: | vx | |||
| real(kind=wp), | public, | dimension(:), allocatable | :: | vy | |||
| real(kind=wp), | public, | dimension(:), allocatable | :: | vz |
Destroy a trajectory (deallocate the data arrays).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(trajectory), | intent(inout) | :: | me |
Add a point to a trajectory variable.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(trajectory), | intent(inout) | :: | me |
the trajectory |
||
| real(kind=wp), | intent(in) | :: | et | |||
| real(kind=wp), | intent(in), | dimension(6) | :: | x |
type :: trajectory !! a segment trajectory (for plotting or output) real(wp),dimension(:),allocatable :: et real(wp),dimension(:),allocatable :: x real(wp),dimension(:),allocatable :: y real(wp),dimension(:),allocatable :: z real(wp),dimension(:),allocatable :: vx real(wp),dimension(:),allocatable :: vy real(wp),dimension(:),allocatable :: vz contains procedure :: destroy => destroy_trajectory procedure :: add => add_point_to_trajectory end type trajectory