From 0e967c979da532ea40ba5462bb17c5a53b1bc022 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 20 Feb 2012 23:47:45 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7825 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/Section_howto.html | 9 +++++++++ doc/Section_howto.txt | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/doc/Section_howto.html b/doc/Section_howto.html index 041124e229..60e23b6268 100644 --- a/doc/Section_howto.html +++ b/doc/Section_howto.html @@ -785,6 +785,15 @@ arbitrary vectors. As indicated, a must be aligned with the x axis, not a restriction since it is possible to rotate any set of 3 crystal basis vectors so that they meet this restriction.

+

For example, assume that the 3 vectors A,B,C are the edge +vectors of a general parallelipied, where there is no directional +requirements A,B,C other than they are not co-linear and that +C dotted into (A x B) be > 0, i.e. the vectors are ordered to +satisfy a right-hand rule. The equivalent LAMMPS a,b,c vectors +can be computed as follows where A = |A| = scalar length of A. +

+
+

There is no requirement that a triclinic box be periodic in any dimension, though it typically should be in at least the 2nd dimension of the tilt (y in xy) if you want to enforce a shift in periodic diff --git a/doc/Section_howto.txt b/doc/Section_howto.txt index 1f14a0a51b..83465e5895 100644 --- a/doc/Section_howto.txt +++ b/doc/Section_howto.txt @@ -776,6 +776,15 @@ arbitrary vectors. As indicated, [a] must be aligned with the x axis, not a restriction since it is possible to rotate any set of 3 crystal basis vectors so that they meet this restriction. +For example, assume that the 3 vectors [A],[B],[C] are the edge +vectors of a general parallelipied, where there is no directional +requirements [A],[B],[C] other than they are not co-linear and that +[C] dotted into ([A] x [B]) be > 0, i.e. the vectors are ordered to +satisfy a right-hand rule. The equivalent LAMMPS [a],[b],[c] vectors +can be computed as follows where A = |[A]| = scalar length of [A]. + +:c,image(Eqs/transform.jpg) + There is no requirement that a triclinic box be periodic in any dimension, though it typically should be in at least the 2nd dimension of the tilt (y in xy) if you want to enforce a shift in periodic