Skip to content

Commit

Permalink
thermostat: correct allowed thermostat combinations.
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSzuttor committed Dec 3, 2019
1 parent ab5dfb0 commit b081309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/espressomd/thermostat.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ cdef class Thermostat:
lb_lbcoupling_set_gamma(0.0)
return True

@AssertThermostatType(THERMO_LANGEVIN)
@AssertThermostatType(THERMO_LANGEVIN, THERMO_DPD)
def set_langevin(self, kT=None, gamma=None, gamma_rotation=None,
act_on_virtual=False, seed=None):
"""
Expand Down Expand Up @@ -358,7 +358,7 @@ cdef class Thermostat:
mpi_bcast_parameter(FIELD_LANGEVIN_GAMMA_ROTATION)
return True

@AssertThermostatType(THERMO_LB)
@AssertThermostatType(THERMO_LB, THERMO_DPD)
def set_lb(
self,
seed=None,
Expand Down

0 comments on commit b081309

Please sign in to comment.