Skip to content
Permalink
Browse files

Style

  • Loading branch information...
psci2195 committed Apr 12, 2019
1 parent 817b813 commit 21f4bb16330e7058cb75fdd3aa8ea630e0bf4966
Showing with 4 additions and 3 deletions.
  1. +2 −2 src/core/actor/DipolarBarnesHut.cpp
  2. +2 −1 testsuite/python/dds-and-bh-gpu.py
@@ -34,8 +34,8 @@ void activate_dipolar_barnes_hut(float epssq, float itolsq) {
dipole.method = DIPOLAR_BH_GPU;
mpi_bcast_coulomb_params();

dipolarBarnesHut =
std::make_unique<DipolarBarnesHut>(espressoSystemInterface, epssq, itolsq);
dipolarBarnesHut = std::make_unique<DipolarBarnesHut>(espressoSystemInterface,
epssq, itolsq);
forceActors.push_back(dipolarBarnesHut.get());
energyActors.push_back(dipolarBarnesHut.get());
}
@@ -38,7 +38,8 @@ def stopAll(system):
class BH_DDS_gpu_multCPU_test(ut.TestCase):
system = espressomd.System(box_l=[1, 1, 1])
# just some seeding based on 14
system.seed = [s * 14 for s in range(system.cell_system.get_state()["n_nodes"])]
system.seed = [s * 14 for s in range(
system.cell_system.get_state()["n_nodes"])]
# just some seeding different from the previous one
np.random.seed(71)

0 comments on commit 21f4bb1

Please sign in to comment.
You can’t perform that action at this time.