Commit afce2f00 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@77 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 59c0f01a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -17,14 +17,11 @@
</PRE>
<UL><LI>ID = user-assigned name for the region 

<LI>style = <I>block</I> or <I>sphere</I> or <I>cylinder</I> or <I>prism</I> or <I>union</I> or <I>intersect</I> 
<LI>style = <I>block</I> or <I>cylinder</I> or <I>prism</I> or <I>sphere</I> or <I>union</I> or <I>intersect</I> 

<PRE>  <I>block</I> args = xlo xhi ylo yhi zlo zhi
      xlo,xhi,ylo,yhi,zlo,zhi = bounds of block in all
        dimensions (distance units)
  <I>sphere</I> args = x y z radius
      x,y,z = center of sphere (distance units)
      radius = radius of sphere (distance units)
  <I>cylinder</I> args = dim c1 c2 radius lo hi
    dim = <I>x</I> or <I>y</I> or <I>z</I> = axis of cylinder
    c1,c2 = coords of cylinder axis in other 2 dimensions (distance units)
@@ -36,6 +33,9 @@
      yxtilt = distance to shift upper y in x direction (distance units)
      zxtilt = distance to shift upper z in x direction (distance units)
      zytilt = distance to shift upper z in y direction (distance units)
  <I>sphere</I> args = x y z radius
      x,y,z = center of sphere (distance units)
      radius = radius of sphere (distance units)
  <I>union</I> args = N reg-ID1 reg-ID2 ...
    N = # of regions to follow, must be 2 or greater
    reg-ID1,reg-ID2, ... = IDs of regions to join together
+4 −4
Original line number Diff line number Diff line
@@ -13,13 +13,10 @@ region command :h3
region ID style args keyword value ... :pre

ID = user-assigned name for the region :ulb,l
style = {block} or {sphere} or {cylinder} or {prism} or {union} or {intersect} :l
style = {block} or {cylinder} or {prism} or {sphere} or {union} or {intersect} :l
  {block} args = xlo xhi ylo yhi zlo zhi
      xlo,xhi,ylo,yhi,zlo,zhi = bounds of block in all
        dimensions (distance units)
  {sphere} args = x y z radius
      x,y,z = center of sphere (distance units)
      radius = radius of sphere (distance units)
  {cylinder} args = dim c1 c2 radius lo hi
    dim = {x} or {y} or {z} = axis of cylinder
    c1,c2 = coords of cylinder axis in other 2 dimensions (distance units)
@@ -31,6 +28,9 @@ style = {block} or {sphere} or {cylinder} or {prism} or {union} or {intersect} :
      yxtilt = distance to shift upper y in x direction (distance units)
      zxtilt = distance to shift upper z in x direction (distance units)
      zytilt = distance to shift upper z in y direction (distance units)
  {sphere} args = x y z radius
      x,y,z = center of sphere (distance units)
      radius = radius of sphere (distance units)
  {union} args = N reg-ID1 reg-ID2 ...
    N = # of regions to follow, must be 2 or greater
    reg-ID1,reg-ID2, ... = IDs of regions to join together
+4 −0
Original line number Diff line number Diff line
@@ -11,6 +11,10 @@
   See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */

/* ----------------------------------------------------------------------
   Contributing author: Pieter in't Veld (SNL)
------------------------------------------------------------------------- */

#include "stdlib.h"
#include "string.h"
#include "region_prism.h"