next up previous contents index
Next: Subroutine ds_amend_constraint Up: Module dynamicalsystem_module Previous: Subroutine constrain_bond_diff   Contents   Index

Subroutine ds_add_constraint


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call ds_add_constraint(this,atoms,func,data, &
[update_Ndof])\end{verbatim}
\end{boxedminipage}

Add a constraint to the DynamicalSystem and reduce the number of degrees of freedom, unless update_Ndof is present and false.

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

atoms -- integer, dimension(:), intent(in)

func -- integer, intent(in)

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

update_Ndof -- logical, optional, intent(in)

ds_amend_constraint subroutine

gabor 2009-06-30