Changes in / [b119a0:5c8807]


Ignore:
Files:
11 added
5 edited

Legend:

Unmodified
Added
Removed
  • doc/userguide/userguide.xml

    rb119a0 r5c8807  
    969969          </programlisting>
    970970        </section>
     971
     972        <section xml:id='atoms.translate-to-origin'>
     973          <title xml:id='atoms.translate-to-origin.title'>Translating atoms</title>
     974
     975          <para>The following Action is convenient to place a subset of atoms
     976          at a known position, the origin, and then translate to some other
     977          absolute coordinate. It calculates the average position of the set
     978          of selected atoms and then translates all atoms by the negative of
     979          this center, i.e. the center is afterwards at the origin.</para>
     980
     981          <programlisting>... --translate-to-origin</programlisting>
     982        </section>
    971983
    972984        <section xml:id='atoms.change-element'>
     
    17581770        </section>
    17591771
    1760         <section xml:id='analysis.molecullar-volume'>
    1761           <title xml:id='analysis.molecullar-volume.title'>Molecular Volume
     1772        <section xml:id='analysis.molecular-volume'>
     1773          <title xml:id='analysis.molecular-volume.title'>Molecular Volume
    17621774          </title>
    17631775         
     
    17671779          that each node of the tesselation consists of an atom of the
    17681780          molecule.</para>
     1781
     1782          <programlisting>... --molecular-volume</programlisting>
     1783        </section>
     1784
     1785        <section xml:id='analysis.average-molecule-force'>
     1786          <title xml:id='analysis.average-molecule-forcetitle'>Average force
     1787          acting on a molecule</title>
     1788         
     1789          <para>This sums up all the forces of each atom of a currently
     1790          selected molecule and returns the average force vector. This should
     1791          give you the general direction of acceleration of the molecule.
     1792          </para>
    17691793
    17701794          <programlisting>... --molecular-volume</programlisting>
  • src/Actions/GlobalListOfActions.hpp

    rb119a0 r5c8807  
    2222#define GLOBALLISTOFACTIONS_initial \
    2323  (Redo) \
     24  (AnalysisAverageMoleculeForce) \
    2425  (AnalysisDipoleAngularCorrelation) \
    2526  (AnalysisDipoleCorrelation) \
     
    3637  (AtomSaveSelectedAtoms) \
    3738  (AtomTranslate) \
     39  (AtomTranslateToOrigin) \
    3840  (BondAdd) \
    3941  (BondRemove) \
  • src/Actions/Makefile.am

    rb119a0 r5c8807  
    117117
    118118ANALYSISACTIONSOURCE = \
     119  Actions/AnalysisAction/AverageMoleculeForceAction.cpp \
    119120  Actions/AnalysisAction/DipoleAngularCorrelationAction.cpp \
    120121  Actions/AnalysisAction/DipoleCorrelationAction.cpp \
     
    125126  Actions/AnalysisAction/SurfaceCorrelationAction.cpp
    126127ANALYSISACTIONHEADER = \
     128  Actions/AnalysisAction/AverageMoleculeForceAction.hpp \
    127129  Actions/AnalysisAction/DipoleAngularCorrelationAction.hpp \
    128130  Actions/AnalysisAction/DipoleCorrelationAction.hpp \
     
    133135  Actions/AnalysisAction/SurfaceCorrelationAction.hpp
    134136ANALYSISACTIONDEFS = \
     137  Actions/AnalysisAction/AverageMoleculeForceAction.def \
    135138  Actions/AnalysisAction/DipoleAngularCorrelationAction.def \
    136139  Actions/AnalysisAction/DipoleCorrelationAction.def \
     
    148151  Actions/AtomAction/RotateAroundOriginByAngleAction.cpp \
    149152  Actions/AtomAction/SaveSelectedAtomsAction.cpp \
    150   Actions/AtomAction/TranslateAction.cpp
     153  Actions/AtomAction/TranslateAction.cpp \
     154  Actions/AtomAction/TranslateToOriginAction.cpp
    151155ATOMACTIONHEADER = \
    152156  Actions/AtomAction/AddAction.hpp \
     
    156160  Actions/AtomAction/RotateAroundOriginByAngleAction.hpp \
    157161  Actions/AtomAction/SaveSelectedAtomsAction.hpp \
    158   Actions/AtomAction/TranslateAction.hpp
     162  Actions/AtomAction/TranslateAction.hpp \
     163  Actions/AtomAction/TranslateToOriginAction.hpp
    159164ATOMACTIONDEFS = \
    160165  Actions/AtomAction/AddAction.def \
     
    164169  Actions/AtomAction/RotateAroundOriginByAngleAction.def \
    165170  Actions/AtomAction/SaveSelectedAtomsAction.def \
    166   Actions/AtomAction/TranslateAction.def
     171  Actions/AtomAction/TranslateAction.def \
     172  Actions/AtomAction/TranslateToOriginAction.def
    167173
    168174BONDACTIONSOURCE = \
  • tests/regression/Atoms/testsuite-atoms.at

    rb119a0 r5c8807  
    3939m4_include([Atoms/Translation/testsuite-atoms-translation.at])
    4040
     41# translate to origin
     42m4_include([Atoms/TranslationToOrigin/testsuite-atoms-translation-to-origin.at])
     43
    4144# mirror atoms
    4245m4_include([Atoms/Mirror/testsuite-atoms-mirror.at])
  • tests/regression/Makefile.am

    rb119a0 r5c8807  
    4141        $(srcdir)/Atoms/SaveSelectedAtoms/testsuite-atoms-save-selected-atoms.at \
    4242        $(srcdir)/Atoms/Translation/testsuite-atoms-translation.at \
     43        $(srcdir)/Atoms/TranslationToOrigin/testsuite-atoms-translation-to-origin.at \
    4344        $(srcdir)/Bond/testsuite-bond.at \
    4445        $(srcdir)/Bond/Add/testsuite-bond-add.at \
Note: See TracChangeset for help on using the changeset viewer.