[CPMD-list] constraints revisited
Phineus Markwick
markwick at NMR.EMBL-Heidelberg.DE
Sat Nov 2 18:18:05 CET 2002
Dear cpmd-list,
In trying to incorporate a new constraint into cpmd, I have a problem in
the program CNSTFC.F at the point:
DO K=1,KMAX
DO N=1,NODIM
ANORM(N,I)=ANORM(N,I)+DX(K)*ASKEL(N,I,K)
ENDDO
ENDDO
ENDDO
can anybody tell me exactly what the matrix ASKEL(N,I,K) is and where
its components are defined?
As I am now sure that the problem is in the program CNSTFC.F (thanks
Axel!), I have included my edited version of this program as an attachment.
In my test system, the distance constraint is formulated using the
coordinates of 10 atoms, so dX (or dR) is a vector with 30 components,
and KMAX=30. I think that the problem comes from the fact that all
N*I*30 components of the matrix ASKEL are not defined.
Once again, I would appreciate any help or comments,
best regards,
Phineus Markwick.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cnstfc.F
Url: http://cpmd.org/pipermail/cpmd-list/attachments/20021102/2e484f55/attachment.cc
More information about the CPMD-list
mailing list