Changeset e4afb4 for src/Actions/AnalysisAction
- Timestamp:
- Oct 30, 2010, 8:42:44 PM (15 years ago)
- 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, Candidate_v1.7.0, 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:
- 76cec6, c38826
- Parents:
- 23359f
- git-author:
- Frederik Heber <heber@…> (10/30/10 19:55:54)
- git-committer:
- Frederik Heber <heber@…> (10/30/10 20:42:44)
- Location:
- src/Actions/AnalysisAction
- Files:
-
- 10 edited
-
MolecularVolumeAction.cpp (modified) (1 diff)
-
MolecularVolumeAction.def (modified) (2 diffs)
-
PairCorrelationAction.cpp (modified) (2 diffs)
-
PairCorrelationAction.def (modified) (2 diffs)
-
PointCorrelationAction.cpp (modified) (2 diffs)
-
PointCorrelationAction.def (modified) (2 diffs)
-
PrincipalAxisSystemAction.cpp (modified) (1 diff)
-
PrincipalAxisSystemAction.def (modified) (3 diffs)
-
SurfaceCorrelationAction.cpp (modified) (2 diffs)
-
SurfaceCorrelationAction.def (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/AnalysisAction/MolecularVolumeAction.cpp
r23359f re4afb4 82 82 return true; 83 83 } 84 85 const string AnalysisMolecularVolumeAction::getName() {86 return NAME;87 }88 84 /** =========== end of function ====================== */ -
src/Actions/AnalysisAction/MolecularVolumeAction.def
r23359f re4afb4 10 10 // i.e. there is an integer with variable name Z that can be found in 11 11 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 12 // "undefine" if no parameters are required 12 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 13 13 #undef paramtypes 14 14 #undef paramreferences 15 15 #undef paramtokens 16 16 #undef paramdescriptions 17 #undef paramdefaults 17 18 18 19 // some defines for all the names, you may use ACTION, STATE and PARAMS … … 24 25 25 26 // finally the information stored in the ActionTrait specialization 26 #undef DEFAULTVALUE27 27 #define DESCRIPTION "calculate the volume of a given molecule" 28 28 #undef SHORTFORM 29 #define TYPEINFO &typeid(molecule) -
src/Actions/AnalysisAction/PairCorrelationAction.cpp
r23359f re4afb4 54 54 55 55 // execute action 56 output.open(params.outputname. c_str());57 binoutput.open(params.binoutputname. c_str());56 output.open(params.outputname.string().c_str()); 57 binoutput.open(params.binoutputname.string().c_str()); 58 58 PairCorrelationMap *correlationmap = NULL; 59 59 std::vector<molecule*> molecules = World::getInstance().getSelectedMolecules(); … … 87 87 return true; 88 88 } 89 90 const string AnalysisPairCorrelationAction::getName() {91 return NAME;92 }93 89 /** =========== end of function ====================== */ -
src/Actions/AnalysisAction/PairCorrelationAction.def
r23359f re4afb4 13 13 // i.e. there is an integer with variable name Z that can be found in 14 14 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 15 // "undefine" if no parameters are required 16 #define paramtypes (std::vector<const element *>)(double)(double)(double)( std::string)(std::string)(bool)15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 #define paramtypes (std::vector<const element *>)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool) 17 17 #define paramreferences (elements)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic) 18 18 #define paramtokens ("elements")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic") 19 19 #define paramdescriptions ("set of elements")("start of the first bin")("width of the bins")("start of the last bin")("name of the output file")("name of the bin output file")("system is constraint to periodic boundary conditions") 20 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0") 20 21 21 22 // some defines for all the names, you may use ACTION, STATE and PARAMS … … 27 28 28 29 // finally the information stored in the ActionTrait specialization 29 #undef DEFAULTVALUE30 30 #define DESCRIPTION "pair correlation analysis between two elements" 31 31 #define SHORTFORM "C" 32 #define TYPEINFO &typeid(void) -
src/Actions/AnalysisAction/PointCorrelationAction.cpp
r23359f re4afb4 56 56 57 57 // execute action 58 output.open(params.outputname. c_str());59 binoutput.open(params.binoutputname. c_str());58 output.open(params.outputname.string().c_str()); 59 binoutput.open(params.binoutputname.string().c_str()); 60 60 cout << "Point to correlate to is " << params.Point << endl; 61 61 CorrelationToPointMap *correlationmap = NULL; … … 92 92 return true; 93 93 } 94 95 const string AnalysisPointCorrelationAction::getName() {96 return NAME;97 }98 94 /** =========== end of function ====================== */ -
src/Actions/AnalysisAction/PointCorrelationAction.def
r23359f re4afb4 15 15 // i.e. there is an integer with variable name Z that can be found in 16 16 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 17 // "undefine" if no parameters are required 18 #define paramtypes (std::vector<const element *>)(Vector)(double)(double)(double)( std::string)(std::string)(bool)17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 18 #define paramtypes (std::vector<const element *>)(Vector)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool) 19 19 #define paramreferences (elements)(Point)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic) 20 20 #define paramtokens ("elements")("position")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic") 21 21 #define paramdescriptions ("set of elements")("position in R^3 space")("start of the first bin")("width of the bins")("start of the last bin")("name of the output file")("name of the bin output file")("system is constraint to periodic boundary conditions") 22 #define paramdefaults (NODEFAULT)(NODEFAULT)(NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0") 22 23 23 24 // some defines for all the names, you may use ACTION, STATE and PARAMS … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE32 32 #define DESCRIPTION "pair correlation analysis between element and point" 33 33 #undef SHORTFORM 34 #define TYPEINFO &typeid(void) -
src/Actions/AnalysisAction/PrincipalAxisSystemAction.cpp
r23359f re4afb4 86 86 return true; 87 87 } 88 89 const string AnalysisPrincipalAxisSystemAction::getName() {90 return NAME;91 }92 88 /** =========== end of function ====================== */ -
src/Actions/AnalysisAction/PrincipalAxisSystemAction.def
r23359f re4afb4 1 1 #undef paramdescriptions 2 #undef paramdefaults 2 3 /* 3 4 * PrincipalAxisSystemAction.def … … 11 12 // i.e. there is an integer with variable name Z that can be found in 12 13 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 15 #undef paramtypes 15 16 #undef paramreferences 16 17 #undef paramtokens 17 18 #undef paramdescriptions 19 #undef paramdefaults 18 20 19 21 // some defines for all the names, you may use ACTION, STATE and PARAMS … … 25 27 26 28 // finally the information stored in the ActionTrait specialization 27 #undef DEFAULTVALUE28 29 #define DESCRIPTION "calculate the principal axis system of the specified molecule" 29 30 #undef SHORTFORM 30 #define TYPEINFO &typeid(void) -
src/Actions/AnalysisAction/SurfaceCorrelationAction.cpp
r23359f re4afb4 55 55 56 56 // execute action 57 output.open(params.outputname. c_str());58 binoutput.open(params.binoutputname. c_str());57 output.open(params.outputname.string().c_str()); 58 binoutput.open(params.binoutputname.string().c_str()); 59 59 ASSERT(params.Boundary != NULL, "No molecule specified for SurfaceCorrelation."); 60 60 const double radius = 4.; … … 114 114 return true; 115 115 } 116 117 const string AnalysisSurfaceCorrelationAction::getName() {118 return NAME;119 }120 116 /** =========== end of function ====================== */ -
src/Actions/AnalysisAction/SurfaceCorrelationAction.def
r23359f re4afb4 14 14 // i.e. there is an integer with variable name Z that can be found in 15 15 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 16 // "undefine" if no parameters are required 17 #define paramtypes (std::vector<const element *>)( molecule *)(double)(double)(double)(std::string)(std::string)(bool)16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 17 #define paramtypes (std::vector<const element *>)(const molecule *)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool) 18 18 #define paramreferences (elements)(Boundary)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic) 19 19 #define paramtokens ("elements")("molecule-by-id")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic") 20 20 #define paramdescriptions ("set of elements")("index of a molecule")("start of the first bin")("width of the bins")("start of the last bin")("name of the output file")("name of the bin output file")("system is constraint to periodic boundary conditions") 21 #define paramdefaults (NODEFAULT)(NODEFAULT)(NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0") 21 22 22 23 // some defines for all the names, you may use ACTION, STATE and PARAMS … … 28 29 29 30 // finally the information stored in the ActionTrait specialization 30 #undef DEFAULTVALUE31 31 #define DESCRIPTION "pair correlation analysis between element and surface" 32 32 #undef SHORTFORM 33 #define TYPEINFO &typeid(void)
Note:
See TracChangeset
for help on using the changeset viewer.
