Changeset 25d9d9 for doc


Ignore:
Timestamp:
Jun 12, 2016, 8:48:21 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Fix_BoundInBox_CenterInBox_MoleculeActions
Parents:
996ef1
git-author:
Frederik Heber <heber@…> (06/11/16 16:43:54)
git-committer:
Frederik Heber <heber@…> (06/12/16 08:48:21)
Message:

FIX: CenterInBox and BoundInBox are actions acting on molecules, not world.

  • just stumbled over this when realizing that center-in-box does not center all selected atoms within the box but each of the currently present molecules individually.
  • this is also changed to act only on selected molecules.
  • TEST: extended regression test to only test centering and bounding of some molecules (and not only all).
  • TESTFIX: needed to change regression tests on all molecules to prepend action with select-all-molecules.
  • Needed to renamed python action in boxmaker.py.in.
  • DOCU: Corrected description in userguide.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/userguide/userguide.xml

    r996ef1 r25d9d9  
    11541154        </section>
    11551155        <section xml:id="domain.bound-in-box">
    1156           <title xml:id="domain.bound-in-box.title">Bound atoms inside box </title>
     1156          <title xml:id="domain.bound-in-box.title">Bound selected molecules inside box </title>
    11571157          <para>The following applies the current boundary conditions to the
    1158           atoms. In case of periodic or wrapped boundary conditions the atoms
    1159           will be periodically translated to be inside the domain
    1160           again.</para>
    1161           <programlisting>... --bound-in-box</programlisting>
     1158          atoms of all currently selected molecules. In case of periodic or
     1159          wrapped boundary conditions the atoms will be periodically translated
     1160          to be inside the domain again.</para>
     1161          <programlisting>... --select-all-molecules --bound-in-box</programlisting>
    11621162        </section>
    11631163        <section xml:id="domain.center-in-box">
    1164           <title xml:id="domain.center-in-box.title">Center atoms inside the domain</title>
    1165           <para>This is a combination of changing the box and bounding the
    1166           atoms inside it.</para>
    1167           <programlisting>... --center-in-box &quot;20,0,20,0,0,20&quot;</programlisting>
     1164          <title xml:id="domain.center-in-box.title">Center each selected molecule inside the domain</title>
     1165          <para>This takes each molecule in turn, calculates its center and shifts all
     1166          associated atoms in such a way that its center coincides with that of the
     1167          domain.</para>
     1168          <programlisting>... --select-molecule-by-order -1
     1169          --center-in-box &quot;20,0,20,0,0,20&quot;</programlisting>
    11681170        </section>
    11691171        <section xml:id="domain.center-edge">
Note: See TracChangeset for help on using the changeset viewer.