1 | /*
|
---|
2 | * ActionCalls.hpp
|
---|
3 | *
|
---|
4 | * Created on: Jul 26, 2010
|
---|
5 | * Author: heber
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef ACTIONCALLS_HPP_
|
---|
9 | #define ACTIONCALLS_HPP_
|
---|
10 |
|
---|
11 | #include "Actions/ActionRegistry.hpp"
|
---|
12 | #include "Box.hpp"
|
---|
13 | #include "vector.hpp"
|
---|
14 |
|
---|
15 | using namespace std;
|
---|
16 |
|
---|
17 | class atom;
|
---|
18 | class element;
|
---|
19 | class molecule;
|
---|
20 |
|
---|
21 | void AnalysisMolecularVolume();
|
---|
22 | void AnalysisPairCorrelation(std::vector< element *> &elements, double BinStart, double BinWidth, double BinEnd, std::string &outputname, std::string &binoutputname, bool periodic);
|
---|
23 | void AnalysisPointCorrelation(std::vector< element *> &elements, Vector &position, double BinStart, double BinWidth, double BinEnd, std::string &outputname, std::string &binoutputname, bool periodic);
|
---|
24 | void AnalysisPrincipalAxisSystem();
|
---|
25 | void AnalysisSurfaceCorrelation(std::vector< element *> &elements, molecule *mol, double BinStart, double BinWidth, double BinEnd, std::string &outputname, std::string &binoutputname, bool periodic);
|
---|
26 |
|
---|
27 | void AtomAdd(element *elemental, Vector &position);
|
---|
28 | void AtomChangeElement(element *elemental);
|
---|
29 | void AtomRemove();
|
---|
30 |
|
---|
31 | void CommandBondLengthTable(std::string &BondGraphFileName);
|
---|
32 | void CommandElementDb(std::string &databasepath);
|
---|
33 | void CommandFastParsing(bool fastparsing);
|
---|
34 | void CommandHelp();
|
---|
35 | void CommandVerbose(int verbosity);
|
---|
36 | void CommandVersion();
|
---|
37 |
|
---|
38 | void FragmentationDepthFirstSearch(double distance);
|
---|
39 | void FragmentationFragmentation(std::string &path, double distance, int order);
|
---|
40 | void FragmentationSubgraphDissection();
|
---|
41 |
|
---|
42 | void MoleculeBondFile(std::string &bondfile);
|
---|
43 | void MoleculeChangeName(std::string &name);
|
---|
44 | void MoleculeFillWithMolecule(std::string &fillername, Vector &distances, Vector &lengths, double MaxDistance, bool DoRotate);
|
---|
45 | void MoleculeLinearInterpolationofTrajectories(std::string &filename, int start, int end, bool IdMapping);
|
---|
46 | void MoleculeRotateToPrincipalAxisSystem();
|
---|
47 | void MoleculeSaveAdjacency(std::string &adjacencyfile);
|
---|
48 | void MoleculeSaveBonds(std::string &bondsfile);
|
---|
49 | void MoleculeSaveTemperature(std::string &temperaturefile);
|
---|
50 | void MoleculeSuspendInWater(double density);
|
---|
51 | void MoleculeTranslate(Vector &x, bool periodic);
|
---|
52 | void MoleculeVerletIntegration(std::string &forcesfile);
|
---|
53 |
|
---|
54 | void ParserLoadXyz(std::string &filename);
|
---|
55 | void ParserSaveXyz(std::string &filename);
|
---|
56 |
|
---|
57 | void SelectionAllAtoms();
|
---|
58 | void SelectionAllMolecules();
|
---|
59 | void SelectionAtomById(atom *_atom);
|
---|
60 | void SelectionMoleculeById(molecule *_mol);
|
---|
61 | void SelectionNotAllAtoms();
|
---|
62 | void SelectionNotAllMolecules();
|
---|
63 | void SelectionNotAtomById(atom *_atom);
|
---|
64 | void SelectionNotMoleculeById(molecule *_mol);
|
---|
65 |
|
---|
66 | void TesselationConvexEnvelope(std::string &filenameConvex, std::string &filenameNonConvex);
|
---|
67 | void TesselationNonConvexEnvelope(double radius, std::string &filename);
|
---|
68 |
|
---|
69 | void WorldAddEmptyBoundary(Vector &boundary);
|
---|
70 | void WorldBoundInBox();
|
---|
71 | void WorldCenterInBox(Box &_box);
|
---|
72 | void WorldCenterOnEdge();
|
---|
73 | void WorldChangeBox(Box &_box);
|
---|
74 | void WorldInput(std::string &filename);
|
---|
75 | void WorldOutput();
|
---|
76 | void WorldRemoveSphereOfAtoms(double radius, Vector &point);
|
---|
77 | void WorldRepeatBox(Vector &Repeater);
|
---|
78 | void WorldScaleBox(Vector &Scaler);
|
---|
79 | void WorldSetDefaultName(std::string &defaultname);
|
---|
80 | void WorldSetGaussianBasis(std::string &basisname);
|
---|
81 | void WorldSetOutputFormats(vector<std::string> &FormatList);
|
---|
82 |
|
---|
83 | #endif /* ACTIONCALLS_HPP_ */
|
---|