forked from ECP-copa/CabanaMD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ECP-copa#115 from DARMA-tasking/extended-lammps-su…
…pport extended `LAMMPS` commands support
- Loading branch information
Showing
10 changed files
with
402 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,9 @@ | |
build | ||
.cproject | ||
.project | ||
*.jpg | ||
*.pvtu | ||
*.vtu | ||
|
||
cabanaMD.err | ||
cabanaMD.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Example for exercising load balancing (not intended to be physical) | ||
|
||
units lj | ||
atom_style atomic | ||
|
||
newton off | ||
|
||
lattice fcc 0.8442 | ||
region lo-box block 0 10 0 10 0 10 | ||
region mid-box block 5 10 5 10 5 10 | ||
region hi-box block 0 5 15 20 15 20 | ||
region hj-box block 15 20 15 20 0 5 | ||
create_box 4 box | ||
|
||
mass 1 2.0 | ||
mass 2 8.0 | ||
mass 3 9.0 | ||
mass 4 1.0 | ||
|
||
create_atoms 1 region lo-box | ||
create_atoms 2 region mid-box | ||
create_atoms 3 region hi-box | ||
create_atoms 4 region hj-box | ||
|
||
velocity 1 create 10.4 87287 loop geom | ||
velocity 2 create 41.6 87287 loop geom | ||
velocity 3 create 20.8 87287 loop geom | ||
velocity 4 create 10.4 87287 loop geom | ||
|
||
pair_style lj/cut 2.5 | ||
pair_coeff 1 1 1.0 1.0 2.5 | ||
|
||
neighbor 0.3 bin | ||
neigh_modify every 20 one 50 | ||
comm_modify cutoff * 20 | ||
fix 1 all nve | ||
thermo 10 | ||
|
||
dump dmpvtk all vtk 10 dump%_*.vtu | ||
|
||
run 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.