next up previous contents index
Next: Subroutine add_group_members Up: Module dynamicalsystem_module Previous: Subroutine ds_save_state   Contents   Index

Subroutine ds_restore_state


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call ds_restore_state(to,from)\end{verbatim}
\end{boxedminipage}

Restore a DynamicalSystem to a previously saved state. Only scalar members and ds%atoms (minus ds%atoms%connect) are copied back; to should be a properly initialised DynamicalSystem object. The saved state of the random number generator is also restored. calc_dists() is called on the restored atoms object.

to -- type(DynamicalSystem), intent(inout)

from -- type(DynamicalSystem), intent(in)

add_group_members subroutine

gabor 2009-06-30