ribbon_set_trajectory Subroutine

private subroutine ribbon_set_trajectory(self, traj)

Draw traj; with the default data sources, from the origin to its positions (per its DOF).

Type Bound

RibbonArtist

Arguments

Type IntentOptional Attributes Name
class(RibbonArtist), intent(inout) :: self
type(Trajectory), intent(in), target :: traj

the trajectory to draw (not owned)


Calls

proc~~ribbon_set_trajectory~~CallsGraph proc~ribbon_set_trajectory RibbonArtist%ribbon_set_trajectory proc~dof Trajectory%dof proc~ribbon_set_trajectory->proc~dof proc~position_sources position_sources proc~ribbon_set_trajectory->proc~position_sources

Called by

proc~~ribbon_set_trajectory~~CalledByGraph proc~ribbon_set_trajectory RibbonArtist%ribbon_set_trajectory proc~new_ribbon_artist new_ribbon_artist proc~new_ribbon_artist->proc~ribbon_set_trajectory interface~ribbonartist RibbonArtist interface~ribbonartist->proc~new_ribbon_artist

Source Code

    subroutine ribbon_set_trajectory(self, traj)
        class(RibbonArtist), intent(inout) :: self
        type(Trajectory), intent(in), target :: traj        !! the trajectory to draw (not owned)
        self%traj => traj
        if (self%default_data) self%end_ = position_sources(traj%dof())
        self%seen_generation = -1
    end subroutine ribbon_set_trajectory