Ignore:
Timestamp:
May 20, 2014, 9:14:56 AM (11 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
6029a6
Parents:
74459a
git-author:
Frederik Heber <heber@…> (03/20/14 17:23:35)
git-committer:
Frederik Heber <heber@…> (05/20/14 09:14:56)
Message:

Enhanced documentation significantly.

  • went through all of the constructs and updated each.
  • enhanced documentation ofr Fragmentation::FragmentMolecule().
Location:
src/documentation/userinterfaces
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/documentation/userinterfaces/commandline.dox

    r74459a rcaece4  
    2020 * forward way.
    2121 *
    22  * Commands are parsed via the CommandLineParser with uses boost::program_options
     22 * Commands are parsed via the CommandLineParser which uses boost::program_options
    2323 * to recognize the given options. ActionRegistry and OptionRegistry are used
    24  * to distinguish Option's from Action's. A specific type per option is expected
    25  * and the ValueStorage assures that only the correct type is parsed.
     24 * to distinguish Option's from Action's. Each option has a specific type and a
     25 * Validator ascertains that the value associated with this option and of this
     26 * specific type matches certain criteria.
    2627 *
    2728 * So far the sequence of the Option's is not really important but for the
    2829 * Action's the ordering counts: first come, first serve.
    2930 *
    30  * Undoing is possible as well. But is so far only used in the regression test
    31  * to test its functionality. This will become more usefull when the
    32  * ActionHistory is stored to file and past session can be re-enacted by loading
    33  * simply it. Their undo would allow for traversing back in this history.
     31 * Undoing is possible from the command-line as well. But is so far only used in
     32 * the regression test to test its functionality. However, as the ActionHistory,
     33 * or rather ActionQueue, can be saved as a session, this is useful as in a restored
     34 * ActionHistory undo would allow for traversing back in this history.
    3435 *
    3536 *
    36  * \date 2011-10-31
     37 * \date 2014-03-10
    3738 *
    3839 */
  • src/documentation/userinterfaces/graphical.dox

    r74459a rcaece4  
    1616 * \page userinterfaces-graphical Graphical User Interface
    1717 *
    18  * The GUI is based on Qt4. It used Qt3D for displaying the GlWorldView and
     18 * The GUI is based on Qt4. It uses Qt3D for displaying the GlWorldView and
    1919 * allowing for easy selecting of atoms and molecules.
    2020 *
     
    2323 * - a world view, implemented in GLWorldView, displaying atoms and bonds
    2424 *   and allowing for selecting them.
    25  * - A list of all currently selected molecules.
    26  * - A list of all currently present molecules.
     25 * - a tab widget on the right with hover info and a list of shapes.
     26 * - a tab widget below the world view enlisting molecules, elements, fragments,
     27 *   and homologies.
     28 *
    2729 *
    2830 * \section userinterfaces-graphical-query Queries in the graphical interface.
    2931 *
    30  * As all Action always instantiate a Dialog which behaves differently for
     32 * As all Action's always instantiate a Dialog which behaves differently for
    3133 * each of the three user interface, we give a brief description of what it
    3234 * does here.
     
    3638 * Eventually, this concatenated dialog is presented to the user -- it might
    3739 * be empty though as well -- he enters all values and clicks accept (even
    38  * in case of an empty dialog). These values are passed via a Pipe mechanism
    39  * (this is a workaround as Qt's moc does not liked nested classes) to the
    40  * ValueStorage.
     40 * in case of an empty dialog). These values are inspected with each Option's
     41 * validator and only if all are true, accept is actually clickable. If not, at
     42 * least one option is still invalid.
     43 *
    4144 *
    4245 * \section userinterfaces-graphical-world_view How the World view works ...
    4346 *
    44  * GLWorldView handles the Observer translation to Qt's own mechanism. Also, it
    45  * contains an instance of the GLWorldScene. This instance knows about all
     47 * GLWorldView handles the Observer translation to Qt's own signal/slot mechanism.
     48 * Also, it contains an instance of the GLWorldScene. This instance knows all about
    4649 * atoms and bonds present in this scene, i.e. it has lists on them and handles
    4750 * adding and removing. Objects in this scene are GLMoleculeObject's which
     
    5356 *
    5457 *
    55  * \date 2012-01-05
     58 * \date 2014-03-10
    5659 *
    5760 */
  • src/documentation/userinterfaces/python.dox

    r74459a rcaece4  
    22 * Project: MoleCuilder
    33 * Description: creates and alters molecular systems
    4  * Copyright (C)  2010 University of Bonn. All rights reserved.
     4 * Copyright (C)  2013 Frederik Heber. All rights reserved.
    55 * Please see the LICENSE file or "Copyright notice" in builder.cpp for details.
    66 */
     
    2222 *  This is done in \b src/Python/PythonScripting.cpp.
    2323 *
    24  *  There again some preprocessor magic is happening. One the one hand we
    25  *  need GlobalListOfActions.hpp to have a list of all actions available.
    26  *  Second, in AllActionPython.hpp we define export functions for every
    27  *  Action (in essence we use the COMMAND function, see Action_impl_pre.hpp,
    28  *  which makes an Action usable internally as a normal function).
     24 *  There again some preprocessor magic is happening, very similar to constructs
     25 *  we used for the Action's. One the one hand we need GlobalListOfActions.hpp to
     26 *  have a list of all actions available. Second, in AllActionPython.hpp we define
     27 *  export functions for every Action (in essence we use the COMMAND function, see
     28 *  Action_impl_pre.hpp, which makes an Action usable internally as a normal
     29 *  function).
    2930 *
    3031 *  Then, at the beginning of the BOOST_PYTHON_MODULE declaration we initialize
     
    4849 *  \endcode
    4950 *  which loads a file \b test.xyz into the (internal) World, selects the first
    50  *  atom and removes it. Notice \b mol.wait() at the end. This might be necessary
    51  *  as actions are executed in a different thread than the python script itself.
     51 *  atom and removes it.
     52 *
     53 *  \subsection userinterfaces-python-first-test-wait Wait may be important ...
     54 *
     55 *  \note Notice \b mol.wait() at the end. This might be necessary as actions are
     56 *  executed in a different thread than the python script itself. This is only
     57 *  enabled when configure is called with \b enable-action-thread.
     58 *
    5259 *  Hence, if you require values from molecuilder you have to make sure that
    5360 *  all your actions have been processed by this second thread. That's what
     
    8289 *
    8390 *  If in the current directory a file \b molecuilder.py is found, the contents
    84  *  is executed as a regular python script.
     91 *  is executed as a regular python script prior to any other Action's.
    8592 *
    8693 *  \note Each commands needs to be taken from a molecule called \a pyMoleCuilder.
     
    141148 *  gives you the docu string on WorldInputAction.
    142149 *
    143  * \subsection userinterfaces-python-notes-wait Waiting for the action queue
    144  *
    145  * Note again that actions are executed in a different thread as the python
    146  * script. Hence, we require synchronization at certain intervals where you
    147  * require molecuilder to be up to speed. All commands you executed such
    148  * as
    149  * \code
    150  * import pyMoleCuilder as mol
    151  * mol.WorldInput("foo.xyz")
    152  * mol.wait()
    153  * \endcode
    154  * just queue this specific input action but not execute it right away. That's
    155  * left to the other thread. Hence, you need to wait() before:
    156  * -# you access mol.get...() functions as these are not actions themselves.
    157  * -# you need to have files written by molecuilder to be parsed in the python
    158  *    script.
    159150 *
    160151 *
    161  * \date 2013-09-28
     152 * \date 2014-03-10
    162153 *
    163154 */
  • src/documentation/userinterfaces/textmenu.dox

    r74459a rcaece4  
    33 * Description: creates and alters molecular systems
    44 * Copyright (C)  2010 University of Bonn. All rights reserved.
     5 * Copyright (C)  2014 Frederik Heber. All rights reserved.
    56 * Please see the LICENSE file or "Copyright notice" in builder.cpp for details.
    67 */
     
    1617 * \page userinterfaces-textmenu Text Menu Interface
    1718 *
    18  *  The textmenu mimicks the graphical interface in having the very same menu
    19  *  with actions at the same positions. Only visual output can only be obtained
    20  *  by saving the world at intervals and inspecting the outcome. This is a sort
    21  *  of lowman's way to a graphical interface but can be done via a remote
    22  * machine if its filesystem is mountable.
     19 * The textmenu mimicks the graphical interface in having the very same menu
     20 * with actions at the same positions. Only visual output can only be obtained
     21 * by saving the world at intervals and inspecting the outcome via another program.
     22 * This is a sort of layman's way to a graphical interface but can be done via a
     23 * remote machine if its filesystem is mountable.
    2324 *
    24  *  \note The textmenu interface is the least maintained part of the user
    25  *  interfaces, so be cautious in using it. However, it also has the smallest
    26  *  impact in terms of code lines. In effect it may work just as well as the
    27  *  others.
     25 * \note The textmenu interface is the least maintained part of the user
     26 * interfaces, so be cautious in using it. However, it also has the smallest
     27 * impact in terms of code lines. In effect it may work just as well as the
     28 * others.
    2829 *
    2930 *
    30  *  \date 2011-10-31
     31 * \date 2014-03-10
    3132 *
    3233 */
Note: See TracChangeset for help on using the changeset viewer.