Skip to content

Commit a861396

Browse files
committed
Update Tests
1 parent 398d5d4 commit a861396

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_particleContainer.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ def empty_particle_container(std_geometry, distmap, boxarr):
2525

2626
@pytest.fixture(scope="function")
2727
def empty_soa_particle_container(std_geometry, distmap, boxarr):
28-
pc = amr.ParticleContainer_pureSoA_8_0_default(std_geometry, distmap, boxarr)
28+
pc = amr.ParticleContainer_pureSoA_8_0_polymorphic(std_geometry, distmap, boxarr)
29+
pc.arena = amr.The_Arena()
2930
return pc
3031

3132

@@ -74,7 +75,8 @@ def particle_container(Npart, std_geometry, distmap, boxarr, std_real_box):
7475

7576
@pytest.fixture(scope="function")
7677
def soa_particle_container(Npart, std_geometry, distmap, boxarr, std_real_box):
77-
pc = amr.ParticleContainer_pureSoA_8_0_default(std_geometry, distmap, boxarr)
78+
pc = amr.ParticleContainer_pureSoA_8_0_polymorphic(std_geometry, distmap, boxarr)
79+
pc.arena = amr.The_Arena()
7880
myt = amr.ParticleInitType_pureSoA_8_0()
7981
myt.real_array_data = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8]
8082
myt.int_array_data = []

0 commit comments

Comments
 (0)