From 1fbd4fffd41e5e997fff63deb969eb89e1ed4fe1 Mon Sep 17 00:00:00 2001
From: Trung Nguyen <ndactrung@gmail.com>
Date: Tue, 29 May 2018 23:50:43 -0500
Subject: [PATCH] Updated rounded/polygon example

---
 examples/body/data.squares | 8 ++++----
 examples/body/in.squares   | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/examples/body/data.squares b/examples/body/data.squares
index 55a3dd09a0..6b198fd422 100755
--- a/examples/body/data.squares
+++ b/examples/body/data.squares
@@ -2,14 +2,14 @@ LAMMPS data file for polygons: squares of edge length L: Izz = 1/6mL^2
 2 atoms
 2 bodies
 1 atom types
--6 6 xlo xhi
--6 6 ylo yhi
+0 12 xlo xhi
+0 12 ylo yhi
 -0.5 0.5 zlo zhi
 
 Atoms
 
-1 1 1 1 0 0 0
-2 1 1 1 5 1 0
+1 1 1 1 4 5 0
+2 1 1 1 9 6 0
 
 Bodies
 
diff --git a/examples/body/in.squares b/examples/body/in.squares
index c812b4e0be..8f949f2cdf 100755
--- a/examples/body/in.squares
+++ b/examples/body/in.squares
@@ -38,7 +38,7 @@ timestep     0.001
 #fix         1 all nve/body
 #fix         1 all nvt/body temp $T $T 1.0
 fix          1 all npt/body temp $T $T 1.0 x 0.001 $P 1.0 &
-             y 0.001 $P 1.0 couple xy
+             y 0.001 $P 1.0 couple xy fixedpoint 0 0 0
 
 fix          2 all enforce2d
 
-- 
GitLab