next up previous contents index
Next: Module dictionary_module Up: Module constraints_module Previous: Subroutine BONDLENGTH_DIFF   Contents   Index

Function register_constraint


\begin{boxedminipage}{\textwidth}
\begin{verbatim}p = register_constraint(sub)\end{verbatim}
\end{boxedminipage}

Wrapper for constraint registering. Allows error catching

Subroutine sub(pos,velo,t,data,C,dC_dr,dC_dt)

pos, velo, data -- real(dp), dimension(:), intent(in)

t -- real(dp), intent(in)

C -- real(dp), intent(out)

dC_dr -- real(dp), dimension(size(pos)), intent(out)

dC_dt -- real(dp), intent(out)

Return value -- integer

dictionary_module module

gabor 2009-06-30