Unverified Commit 5e485657 authored by Steve Plimpton's avatar Steve Plimpton Committed by GitHub
Browse files

Merge pull request #961 from cnegre/newsystem

Added newsystem flag to be passed to latte
parents d237625d af91f7fa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -296,8 +296,8 @@ if(PKG_LATTE)
    message(STATUS "LATTE not found - we will build our own")
    include(ExternalProject)
    ExternalProject_Add(latte_build
      URL https://github.com/lanl/LATTE/archive/v1.1.1.tar.gz
      URL_MD5 cb86f1d2473ce00aa61ff6a023154b03
      URL https://github.com/lanl/LATTE/archive/v1.2.1.tar.gz
      URL_MD5 bed76e7e76c545c36dd848a8f1fd35eb
      SOURCE_SUBDIR cmake
      CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DCMAKE_POSITION_INDEPENDENT_CODE=${CMAKE_POSITION_INDEPENDENT_CODE}
      )
+23 −0
Original line number Diff line number Diff line
 LAMMPS Description
 
           5 atoms
 
           2 atom types
 
   0.0000000000000000        19.523000000000000      xlo xhi
   0.0000000000000000        12.757999999999999      ylo yhi
   0.0000000000000000        11.692000000000000      zlo zhi
   0.0000000000000000        0.0000000000000000        0.0000000000000000      xy xz yz
 
 Masses
 
              1   12.010000000000000     
              2   1.0078250169754028     
 
 Atoms
 
    1    1    1   0.0  -9.16600   2.05200   0.00000
    2    1    2   0.0  -8.09600   2.05200   0.00000
    3    1    2   0.0  -9.52300   2.75800  -0.72000
    4    1    2   0.0  -9.52300   2.32200   0.97200
    5    1    2   0.0  -9.52300   1.07500  -0.25200
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ units metal
atom_style	full
atom_modify     sort 0 0.0    # turn off sorting of the coordinates

read_data       data.graphene.boxrel
read_data       data.graphene

# replicate system if requested

+40 −0
Original line number Diff line number Diff line
# simple sucrose model with LATTE

units		metal
atom_style	full
atom_modify     sort 0 0.0    # turn off sorting of the coordinates

read_data       data.sucrose

# replicate system if requested

variable	x index 1
variable	y index 1
variable	z index 1

variable        nrep equal v_x*v_y*v_z
if              "${nrep} > 1" then "replicate $x $y $z"

# initialize system

velocity	all create 0.0 87287 loop geom

pair_style      zero 1.0
pair_coeff	* *  

neighbor	1.0 bin
neigh_modify    every 1 delay 0 check yes 

timestep        0.00025

fix		1 all nve

fix             2 all latte NULL
fix_modify      2 energy yes

thermo_style    custom step temp pe etotal press

# dynamics

thermo          10
run		100
Loading