A path along traj (which must stay alive while used).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(Trajectory), | intent(in), | target | :: | traj |
the trajectory followed |
function new_trajectory_path(traj) result(path) type(Trajectory), intent(in), target :: traj !! the trajectory followed type(TrajectoryPath) :: path path%trajectory => traj end function new_trajectory_path