| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_parameters), | intent(inout) | :: | param |
Current Swiftest run configuration parameter5s |
||
| integer(kind=I4B), | intent(in) | :: | npl |
Total number of massive bodies |
||
| real(kind=DP), | intent(in), | dimension(:,:) | :: | r |
Position vectors of massive bodies |
|
| real(kind=DP), | intent(in), | dimension(:,:) | :: | v |
Velocity vectors of massive bodies |
|
| real(kind=DP), | intent(in), | dimension(:) | :: | renc |
Critical radii of massive bodies that defines an encounter |
|
| real(kind=DP), | intent(in) | :: | dt |
Step size |
||
| integer(kind=I8B), | intent(out) | :: | nenc |
Total number of encounters |
||
| integer(kind=I4B), | intent(out), | dimension(:), allocatable | :: | index1 |
List of indices for body 1 in each encounter |
|
| integer(kind=I4B), | intent(out), | dimension(:), allocatable | :: | index2 |
List of indices for body 2 in each encounter |
|
| logical, | intent(out), | dimension(:), allocatable | :: | lvdotr |
Logical flag indicating the sign of v .dot. x |