Skip to content

Commit

Permalink
true total timesteps
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideTisi committed Nov 13, 2024
1 parent 2630674 commit 4f4d906
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/mts-rpc/data/h2o_md.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<trajectory filename='pos' stride='100' format='xyz' cell_units='angstrom'> positions{angstrom} </trajectory>
<checkpoint filename='checkpoint' stride='1000' overwrite='True'/>
</output>
<total_steps> 2000 </total_steps>
<total_steps> 10000 </total_steps>
<ffsocket mode='unix' name='qtip4pf' pbc='false'>
<address>qtip4pf-md</address>
</ffsocket>
Expand Down
2 changes: 1 addition & 1 deletion examples/mts-rpc/data/h2o_mts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<trajectory filename='pos' stride='100' format='xyz' cell_units='angstrom'> positions{angstrom} </trajectory>
<checkpoint filename='checkpoint' stride='1000' overwrite='True'/>
</output>
<total_steps> 2000 </total_steps>
<total_steps> 2500 </total_steps>
<ffsocket mode='unix' name='qtip4pf' pbc='false'>
<address>qtip4pf-mts-full</address>
</ffsocket>
Expand Down
2 changes: 1 addition & 1 deletion examples/mts-rpc/data/h2o_pimd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<trajectory filename='pos' stride='100' format='xyz' cell_units='angstrom'> positions{angstrom} </trajectory>
<checkpoint filename='checkpoint' stride='1000' overwrite='True'/>
</output>
<total_steps> 2000 </total_steps>
<total_steps> 10000 </total_steps>
<ffsocket mode='unix' name='qtip4pf' pbc='false'>
<address>qtip4pf</address>
</ffsocket>
Expand Down
2 changes: 1 addition & 1 deletion examples/mts-rpc/data/h2o_rpc-mts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<trajectory filename='pos' stride='100' format='xyz' cell_units='angstrom'> positions{angstrom} </trajectory>
<checkpoint filename='checkpoint' stride='1000' overwrite='True'/>
</output>
<total_steps> 2000 </total_steps>
<total_steps> 5000 </total_steps>
<ffsocket mode='unix' name='qtip4pf' pbc='false'>
<address>qtip4pf-full</address>
</ffsocket>
Expand Down
2 changes: 1 addition & 1 deletion examples/mts-rpc/data/h2o_rpc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<trajectory filename='pos' stride='100' format='xyz' cell_units='angstrom'> positions{angstrom} </trajectory>
<checkpoint filename='checkpoint' stride='1000' overwrite='True'/>
</output>
<total_steps> 2000 </total_steps>
<total_steps> 10000 </total_steps>
<ffsocket mode='unix' name='qtip4pf' pbc='false'>
<address>qtip4pf-full</address>
</ffsocket>
Expand Down
6 changes: 4 additions & 2 deletions examples/mts-rpc/mts-rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Multiple time stepping and ring-polymer contraction
===================================================
:Authors: Michele Ceriotti `@ceriottm <https://github.com/ceriottm>` and
:Authors: Michele Ceriotti `@ceriottm <https://github.com/ceriottm>`_ and
Davide Tisi `@DavideTisi <https://github.com/DavideTisi>`_
This notebook provides an introduction to two closely-related techniques,
Expand Down Expand Up @@ -623,7 +623,9 @@ def autocorrelate(x, xbar=None, normalize=True):

# loads structures, discarding unused atom properties
warnings.filterwarnings("ignore", ".*residuenumbers array.*")
pi_frames = [pimdmooc.read_ipi_xyz("rpc-mts.pos_" + str(i) + ".xyz") for i in range(8)]
pi_frames = [
pimdmooc.read_trajectory("rpc-mts.pos_" + str(i) + ".xyz") for i in range(8)
]
frames = []
for idx_f in range(len(pi_frames[0])):
f = pi_frames[0][idx_f]
Expand Down

0 comments on commit 4f4d906

Please sign in to comment.