Changes in / [0ea063:9e1bfb]


Ignore:
Files:
7 added
8 edited

Legend:

Unmodified
Added
Removed
  • doc/userguide/userguide.xml

    r0ea063 r9e1bfb  
    955955          domain.</para>
    956956        </section>
     957
     958        <section xml:id='atoms.mirror-atoms'>
     959          <title xml:id='atoms.mirror-atoms.title'>Mirroring atoms</title>
     960
     961          <para>Present (and selected) atoms can be mirrored with respect to
     962          a certain plane. You have to specify the normal vector of the plane
     963          and the offset with respect to the origin as follows</para>
     964
     965          <programlisting>
     966                ... --mirror-atoms "1,0,0" \
     967                    --plane-offset 10.1 \
     968                    --periodic 0
     969          </programlisting>
     970        </section>
    957971
    958972        <section xml:id='atoms.change-element'>
  • src/Actions/GlobalListOfActions.hpp

    r0ea063 r9e1bfb  
    3131  (AtomAdd) \
    3232  (AtomChangeElement) \
     33  (AtomMirror) \
    3334  (AtomRemove) \
    3435  (AtomRotateAroundOriginByAngle) \
  • src/Actions/Makefile.am

    r0ea063 r9e1bfb  
    144144  Actions/AtomAction/AddAction.cpp \
    145145  Actions/AtomAction/ChangeElementAction.cpp \
     146  Actions/AtomAction/MirrorAction.cpp \
    146147  Actions/AtomAction/RemoveAction.cpp \
    147148  Actions/AtomAction/RotateAroundOriginByAngleAction.cpp \
     
    151152  Actions/AtomAction/AddAction.hpp \
    152153  Actions/AtomAction/ChangeElementAction.hpp \
     154  Actions/AtomAction/MirrorAction.hpp \
    153155  Actions/AtomAction/RemoveAction.hpp \
    154156  Actions/AtomAction/RotateAroundOriginByAngleAction.hpp \
     
    158160  Actions/AtomAction/AddAction.def \
    159161  Actions/AtomAction/ChangeElementAction.def \
     162  Actions/AtomAction/MirrorAction.def \
    160163  Actions/AtomAction/RemoveAction.def \
    161164  Actions/AtomAction/RotateAroundOriginByAngleAction.def \
  • src/Actions/SelectionAction/Atoms/AtomByIdAction.cpp

    r0ea063 r9e1bfb  
    9393      break;
    9494    default:
    95       ASSERT(0, "SelectionAtomByIdAction::performCall() - this must not happen.");
     95      STATUS("No atoms have been selected.");
    9696      return Action::failure;
    9797      break;
  • src/Actions/SelectionAction/Atoms/NotAtomByIdAction.cpp

    r0ea063 r9e1bfb  
    9393      break;
    9494    default:
    95       ASSERT(0, "SelectionAtomByIdAction::performCall() - this must not happen.");
     95      STATUS("No atoms have been selected.");
    9696      return Action::failure;
    9797      break;
  • tests/Python/AllActions/options.dat

    r0ea063 r9e1bfb  
    9999mesh-size       "10,10,10"
    100100min-distance    "1."
     101mirror-atoms    "1.,1.,1."
    101102molecule-by-id  "0"
    102103near-field-cells        "3"
     
    130131parser-parameters       "psi3"
    131132periodic        "0"
     133plane-offset    "5."
    132134position        "0 0 0"
    133135position        "0 0 1"
  • tests/regression/Atoms/testsuite-atoms.at

    r0ea063 r9e1bfb  
    3838# Undo and redo a translation
    3939m4_include([Atoms/Translation/testsuite-atoms-translation.at])
     40
     41# mirror atoms
     42m4_include([Atoms/Mirror/testsuite-atoms-mirror.at])
  • tests/regression/Makefile.am

    r0ea063 r9e1bfb  
    3535        $(srcdir)/Atoms/Add/testsuite-atoms-add.at \
    3636        $(srcdir)/Atoms/ChangeElement/testsuite-atoms-change-element.at \
     37        $(srcdir)/Atoms/Mirror/testsuite-atoms-mirror.at \
    3738        $(srcdir)/Atoms/Remove/testsuite-atoms-remove.at \
    3839        $(srcdir)/Atoms/RemoveCuboid/testsuite-atoms-remove-cuboid.at \
Note: See TracChangeset for help on using the changeset viewer.