Skip to content

Commit a1d7435

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0acc344 commit a1d7435

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

hoomd/md/TwoStepBD.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,20 +182,20 @@ void TwoStepBD::integrateStepOne(uint64_t timestep)
182182
bf_torque.z = NormalDistribution<Scalar>(sigma_r.z)(rng);
183183

184184
if (x_zero)
185-
{
185+
{
186186
bf_torque.x = 0;
187187
t.x = 0;
188-
}
188+
}
189189
if (y_zero)
190-
{
190+
{
191191
bf_torque.y = 0;
192192
t.y = 0;
193-
}
193+
}
194194
if (z_zero)
195-
{
195+
{
196196
bf_torque.z = 0;
197197
t.z = 0;
198-
}
198+
}
199199

200200
// use the damping by gamma_r and rotate back to lab frame
201201
// Notes For the Future: take special care when have anisotropic gamma_r

hoomd/md/TwoStepBDGPU.cu

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,20 +233,20 @@ __global__ void gpu_brownian_step_one_kernel(Scalar4* d_pos,
233233
bf_torque.z = NormalDistribution<Scalar>(sigma_r.z)(rng);
234234

235235
if (x_zero)
236-
{
236+
{
237237
bf_torque.x = 0;
238238
t.x = 0;
239-
}
239+
}
240240
if (y_zero)
241-
{
241+
{
242242
bf_torque.y = 0;
243243
t.y = 0;
244-
}
244+
}
245245
if (z_zero)
246-
{
246+
{
247247
bf_torque.z = 0;
248248
t.z = 0;
249-
}
249+
}
250250

251251
// use the damping by gamma_r and rotate back to lab frame
252252
// For Future Updates: take special care when have anisotropic gamma_r

hoomd/md/TwoStepRATTLEBD.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,20 +331,20 @@ template<class Manifold> void TwoStepRATTLEBD<Manifold>::integrateStepOne(uint64
331331
bf_torque.z = NormalDistribution<Scalar>(sigma_r.z)(rng);
332332

333333
if (x_zero)
334-
{
334+
{
335335
bf_torque.x = 0;
336336
t.x = 0;
337-
}
337+
}
338338
if (y_zero)
339-
{
339+
{
340340
bf_torque.y = 0;
341341
t.y = 0;
342-
}
342+
}
343343
if (z_zero)
344-
{
344+
{
345345
bf_torque.z = 0;
346346
t.z = 0;
347-
}
347+
}
348348

349349
// use the d_invamping by gamma_r and rotate back to lab frame
350350
// Notes For the Future: take special care when have anisotropic gamma_r

hoomd/md/TwoStepRATTLEBDGPU.cuh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,20 +291,20 @@ __global__ void gpu_rattle_brownian_step_one_kernel(Scalar4* d_pos,
291291
bf_torque.z = NormalDistribution<Scalar>(sigma_r.z)(rng);
292292

293293
if (x_zero)
294-
{
294+
{
295295
bf_torque.x = 0;
296296
t.x = 0;
297-
}
297+
}
298298
if (y_zero)
299-
{
299+
{
300300
bf_torque.y = 0;
301301
t.y = 0;
302-
}
302+
}
303303
if (z_zero)
304-
{
304+
{
305305
bf_torque.z = 0;
306306
t.z = 0;
307-
}
307+
}
308308

309309
// use the damping by gamma_r and rotate back to lab frame
310310
// For Future Updates: take special care when have anisotropic gamma_r

0 commit comments

Comments
 (0)