Skip to content
Snippets Groups Projects
Commit 0a80c073 authored by Rafael Ravedutti Lucio Machado's avatar Rafael Ravedutti Lucio Machado
Browse files

Adjust input and include PBC

parent fa358bb4
No related branches found
No related tags found
No related merge requests found
-2.8,9.5184,-2.8,9.5184,-2.8,9.5184 0,6.7184,0,6.7184,0,6.7184
1,0,0,0,-1.13216,0.0489689,-2.03943 1,0,0,0,-1.13216,0.0489689,-2.03943
1,1.6796,0,0,0.689294,0.210488,-1.97539 1,1.6796,0,0,0.689294,0.210488,-1.97539
1,3.3592,0,0,-1.6486,0.372007,-1.91135 1,3.3592,0,0,-1.6486,0.372007,-1.91135
......
...@@ -175,8 +175,8 @@ class ParticleSimulation: ...@@ -175,8 +175,8 @@ class ParticleSimulation:
def generate(self): def generate(self):
timestep = Timestep(self, self.ntimesteps, [ timestep = Timestep(self, self.ntimesteps, [
(EnforcePBC(self.pbc).lower(), 20), (EnforcePBC(self.pbc).lower(), 20),
#(SetupPBC(self.pbc).lower(), 20), (SetupPBC(self.pbc).lower(), 20),
#UpdatePBC(self.pbc).lower(), UpdatePBC(self.pbc).lower(),
(CellListsBuild(self.cell_lists).lower(), 20), (CellListsBuild(self.cell_lists).lower(), 20),
PropertiesResetVolatile(self).lower(), PropertiesResetVolatile(self).lower(),
self.kernels.lower() self.kernels.lower()
...@@ -188,8 +188,8 @@ class ParticleSimulation: ...@@ -188,8 +188,8 @@ class ParticleSimulation:
CellListsStencilBuild(self.cell_lists).lower(), CellListsStencilBuild(self.cell_lists).lower(),
self.setups.lower(), self.setups.lower(),
EnforcePBC(self.pbc).lower(), EnforcePBC(self.pbc).lower(),
#SetupPBC(self.pbc).lower(), SetupPBC(self.pbc).lower(),
#UpdatePBC(self.pbc).lower(), UpdatePBC(self.pbc).lower(),
CellListsBuild(self.cell_lists).lower(), CellListsBuild(self.cell_lists).lower(),
Block(self, VTKWrite(self, self.vtk_file, 0)), Block(self, VTKWrite(self, self.vtk_file, 0)),
timestep.as_block() timestep.as_block()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment