next up previous contents index
Next: Subroutine IPModel_startElement_handler Up: Module IPModel_EAM_ErcolAd_module Previous: Interface Print   Contents   Index

Interface Calc


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

The potential calculator. It computes energy, forces and virial.

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

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

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

e = System total energy, local_e = energy of each atom, vector dimensioned as at%N.

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

e = System total energy, local_e = energy of each atom, vector dimensioned as at%N.

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

Forces, dimensioned as f(3,at%N)

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

Virial

IPModel_startElement_handler subroutine

gabor 2009-06-30