Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSzuttor committed Jun 17, 2019
1 parent 812a77f commit d9f6b27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/python/lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def test_mass_momentum_thermostat(self):
all_temp_particle = []
all_temp_fluid = []


# Integration
for i in range(self.params['int_times']):
self.system.integrator.run(self.params['int_steps'])
Expand All @@ -125,7 +124,8 @@ def test_mass_momentum_thermostat(self):

# Normalize
fluid_mass /= np.product(self.lbf.shape)
fluid_temp *= self.system.volume() / (3. * np.product(self.lbf.shape)**2)
fluid_temp *= self.system.volume() / (
3. * np.product(self.lbf.shape)**2)

# check mass conversation
self.assertAlmostEqual(fluid_mass, self.params["dens"],
Expand Down

0 comments on commit d9f6b27

Please sign in to comment.