next up previous contents index
Next: Subroutine Potential_Initialise_filename Up: Module Potential_module Previous: Interface Calc   Contents   Index

Interface setup_parallel


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call setup_parallel(this,at[,e,local_e, &
f,virial,args_str])\end{verbatim}
\end{boxedminipage}

Set up what you need for parallel calculation

this -- type(Potential), intent(inout)

at -- type(Atoms), intent(inout)

The atoms structure to compute energy and forces

e -- real(dp), intent(out), optional

Total energy

local_e -- real(dp), intent(out), optional, dimension(:)

Energy per atom

f -- real(dp), intent(out), optional, dimension(:,:)

Forces, dimensioned (3,at%N)

virial -- real(dp), intent(out), optional, dimension(3,3)

Virial

args_str -- character(len=*), intent(in), optional

Potential_Initialise_filename subroutine

gabor 2009-06-30