source: src/Actions/ActionCalls.hpp@ a8f6ae

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
Last change on this file since a8f6ae was a8f6ae, checked in by Frederik Heber <heber@…>, 15 years ago

All WorldActions contain now a ActionCall.hpp function.

  • Property mode set to 100644
File size: 3.7 KB
Line 
1/*
2 * ActionCalls.hpp
3 *
4 * Due to the ValueStorage Action's can be called non-interactively. However,
5 * when they need parameters, these have to be placed into the Storage which
6 * bloats the code.
7 * Rather we want to have one function per Action that obtains the required
8 * arguments of the action as parameters, places them into the Storage and
9 * calls the Action. If the Action is a Calculation, i.e. has a return value,
10 * the ActionCall can easily return the result.
11 *
12 * The major advantage of using Action is their Undo/Redo- and sequence-
13 * capabilities.
14 *
15 * Created on: Jul 26, 2010
16 * Author: heber
17 */
18
19#ifndef ACTIONCALLS_HPP_
20#define ACTIONCALLS_HPP_
21
22#include "Actions/ActionRegistry.hpp"
23#include "Box.hpp"
24#include "vector.hpp"
25
26using namespace std;
27
28class atom;
29class element;
30class molecule;
31
32void AnalysisMolecularVolume();
33void AnalysisPairCorrelation(std::vector< element *> &elements, double BinStart, double BinWidth, double BinEnd, std::string &outputname, std::string &binoutputname, bool periodic);
34void AnalysisPointCorrelation(std::vector< element *> &elements, Vector &position, double BinStart, double BinWidth, double BinEnd, std::string &outputname, std::string &binoutputname, bool periodic);
35void AnalysisPrincipalAxisSystem();
36void AnalysisSurfaceCorrelation(std::vector< element *> &elements, molecule *mol, double BinStart, double BinWidth, double BinEnd, std::string &outputname, std::string &binoutputname, bool periodic);
37
38void AtomAdd(element *elemental, Vector &position);
39void AtomChangeElement(element *elemental);
40void AtomRemove();
41
42void CommandBondLengthTable(std::string &BondGraphFileName);
43void CommandElementDb(std::string &databasepath);
44void CommandFastParsing(bool fastparsing);
45void CommandHelp();
46void CommandVerbose(int verbosity);
47void CommandVersion();
48
49void FragmentationDepthFirstSearch(double distance);
50void FragmentationFragmentation(std::string &path, double distance, int order);
51void FragmentationSubgraphDissection();
52
53void MoleculeBondFile(std::string &bondfile);
54void MoleculeChangeName(std::string &name);
55void MoleculeFillWithMolecule(std::string &fillername, Vector &distances, Vector &lengths, double MaxDistance, bool DoRotate);
56void MoleculeLinearInterpolationofTrajectories(std::string &filename, int start, int end, bool IdMapping);
57void MoleculeRotateToPrincipalAxisSystem();
58void MoleculeSaveAdjacency(std::string &adjacencyfile);
59void MoleculeSaveBonds(std::string &bondsfile);
60void MoleculeSaveTemperature(std::string &temperaturefile);
61void MoleculeSuspendInWater(double density);
62void MoleculeTranslate(Vector &x, bool periodic);
63void MoleculeVerletIntegration(std::string &forcesfile);
64
65void ParserLoadXyz(std::string &filename);
66void ParserSaveXyz(std::string &filename);
67
68void SelectionAllAtoms();
69void SelectionAllMolecules();
70void SelectionAtomById(atom *_atom);
71void SelectionMoleculeById(molecule *_mol);
72void SelectionNotAllAtoms();
73void SelectionNotAllMolecules();
74void SelectionNotAtomById(atom *_atom);
75void SelectionNotMoleculeById(molecule *_mol);
76
77void TesselationConvexEnvelope(std::string &filenameConvex, std::string &filenameNonConvex);
78void TesselationNonConvexEnvelope(double radius, std::string &filename);
79
80void WorldAddEmptyBoundary(Vector &boundary);
81void WorldBoundInBox();
82void WorldCenterInBox(Box &_box);
83void WorldCenterOnEdge();
84void WorldChangeBox(Box &_box);
85void WorldInput(std::string &filename);
86void WorldOutput();
87void WorldRemoveSphereOfAtoms(double radius, Vector &point);
88void WorldRepeatBox(Vector &Repeater);
89void WorldScaleBox(Vector &Scaler);
90void WorldSetDefaultName(std::string &defaultname);
91void WorldSetGaussianBasis(std::string &basisname);
92void WorldSetOutputFormats(std::vector<std::string> &FormatList);
93
94#endif /* ACTIONCALLS_HPP_ */
Note: See TracBrowser for help on using the repository browser.