Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pairs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
software
pairs
Commits
0a80c073
Commit
0a80c073
authored
4 years ago
by
Rafael Ravedutti Lucio Machado
Browse files
Options
Downloads
Patches
Plain Diff
Adjust input and include PBC
Signed-off-by:
Rafael Ravedutti Lucio Machado
<
rafael.r.ravedutti@fau.de
>
parent
fa358bb4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/minimd_setup_4x4x4.input
+1
-1
1 addition, 1 deletion
data/minimd_setup_4x4x4.input
sim/particle_simulation.py
+4
-4
4 additions, 4 deletions
sim/particle_simulation.py
with
5 additions
and
5 deletions
data/minimd_setup_4x4x4.input
+
1
−
1
View file @
0a80c073
-2.8,9.5184,-2.8,9.5184,-2.8,9.5
184
0,6.7184,0,6.7184,0,6.7
184
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
...
...
This diff is collapsed.
Click to expand it.
sim/particle_simulation.py
+
4
−
4
View file @
0a80c073
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment