Skip to content

Commit

Permalink
Code cleanup, added sc to the everything-bagel profiling stub
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriottm committed Nov 21, 2023
1 parent 9a859cf commit c5c0cf0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/profiling/remd_scpimd_noff/input.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<force forcefield ="dummy.2" nbeads='2' weight='0.0'/>
</forces>
<motion mode="dynamics">
<dynamics mode="npt">
<barostat mode='isotropic'>
<dynamics mode="scnpt">
<barostat mode='sc-isotropic'>
<tau units='femtosecond'> 200</tau>
<thermostat mode='langevin'>
<tau units='femtosecond'> 100</tau>
Expand Down
2 changes: 0 additions & 2 deletions ipi/engine/barostats.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,8 +773,6 @@ def pscstep(self):
def pstep(self, level=0):
"""Propagates the momentum of the barostat."""

# self.pscstep()

# we are assuming then that p the coupling between p^2 and dp/dt only involves the fast force
dt = self.pdt[
level
Expand Down
1 change: 0 additions & 1 deletion ipi/engine/forces.py
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,6 @@ def get_potssc(self):
warning("ERROR: Suzuki-Chin factorization requires even number of beads!")
exit()

print("GETTING POTSSC")
# this evaluates the square forces contribution to the SC potential (only the difference with the Trotter potential is returned)
return self.coeffsc_part_1.T * dstrip(
self.pots
Expand Down

0 comments on commit c5c0cf0

Please sign in to comment.