Skip to content
Snippets Groups Projects
Commit 562026c9 authored by Nadin Thibault's avatar Nadin Thibault
Browse files

prod scalaire

parent af10b300
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,12 @@ class RotTable:
return s
def evaluate(self, molecule):
def prod_scalaire(X,Y,Z,T):
s=0
for i in range(3):
s+= (Y[i]-X[i])*(T[i]-Z[i])
return s
traj = Traj3D(False)
traj.compute(molecule+molecule[:AGRANDISSEMENT], self)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment