Skip to content

Commit

Permalink
Add total timing to general CC and RCCSD examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tschijnmo committed Apr 4, 2017
1 parent 5629aec commit a63ed7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/examples/gencc.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@

continue

stopwatch.tock_total()

# Check with the result from TCE.
TCE_BASE_URL = 'http://www.scs.illinois.edu/~sohirata/'
tce_labels = ['e']
Expand Down
2 changes: 2 additions & 0 deletions docs/examples/rccsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
amp_eqns.append(eqn)
continue

stopwatch.tock_total()

with dr.report('rCCSD.html', 'restricted CCSD theory') as rep:
rep.add('Energy equation', en_eqn)
for i, v in enumerate(amp_eqns):
Expand Down

0 comments on commit a63ed7f

Please sign in to comment.