next up previous contents index
Next: Subroutine calculate_forces Up: Module potential_test_module Previous: Subroutine do_md   Contents   Index

Subroutine compare_forces


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call compare_forces(pot1,pot2,at_array,force_errors, &
[forces1,forces2])\end{verbatim}
\end{boxedminipage}

pot1, pot2 -- type(Potential), intent(inout)

at_array -- type(Atoms), intent(inout), dimension(0:)

force_errors -- real(dp), intent(out), dimension(4,at_array(0)%N,size(at_array) - 1)

forces1 -- real(dp), intent(out), optional, dimension(4,at_array(0)%N,size(at_array) - 1)

forces2 -- real(dp), intent(out), optional, dimension(4,at_array(0)%N,size(at_array) - 1)

calculate_forces subroutine

gabor 2009-06-30