Changeset 99db9b for src/Analysis/analysis_correlation.hpp
- Timestamp:
- Jul 24, 2015, 4:44:35 PM (10 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, 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:
- fac58f
- Parents:
- a58c16
- git-author:
- Frederik Heber <heber@…> (06/02/15 08:32:10)
- git-committer:
- Frederik Heber <heber@…> (07/24/15 16:44:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Analysis/analysis_correlation.hpp
ra58c16 r99db9b 61 61 /********************************************** declarations *******************************/ 62 62 63 range<size_t> getMaximumTrajectoryBounds(const std::vector<atom *> &atoms); 64 std::map<atomId_t, Vector> CalculateZeroAngularDipole(const std::vector<molecule *> &molecules); 65 66 DipoleAngularCorrelationMap *DipoleAngularCorrelation(const Formula &DipoleFormula, const size_t timestep, const std::map<atomId_t, Vector> &ZeroVector, const enum ResetWorldTime DoTimeReset = DontResetTime); 67 DipoleCorrelationMap *DipoleCorrelation(std::vector<molecule *> &molecules); 63 range<size_t> getMaximumTrajectoryBounds( 64 const std::vector<const atom *> &atoms); 65 std::map<atomId_t, Vector> CalculateZeroAngularDipole( 66 const std::vector<const molecule *> &molecules); 67 68 DipoleAngularCorrelationMap *DipoleAngularCorrelation( 69 const Formula &DipoleFormula, 70 const size_t timestep, 71 const std::map<atomId_t, Vector> &ZeroVector, 72 const enum ResetWorldTime DoTimeReset = DontResetTime); 73 DipoleCorrelationMap *DipoleCorrelation( 74 const std::vector<const molecule *> &molecules); 68 75 PairCorrelationMap *PairCorrelation( 69 76 const World::ConstAtomComposite &atoms_first, 70 77 const World::ConstAtomComposite &atoms_second, 71 78 const double max_distance); 72 CorrelationToPointMap *CorrelationToPoint(std::vector<molecule *> &molecules, const std::vector<const element *> &elements, const Vector *point ); 73 CorrelationToSurfaceMap *CorrelationToSurface(std::vector<molecule *> &molecules, const std::vector<const element *> &elements, const Tesselation * const Surface, const LinkedCell_deprecated *LC ); 74 CorrelationToPointMap *PeriodicCorrelationToPoint(std::vector<molecule *> &molecules, const std::vector<const element *> &elements, const Vector *point, const int ranges[NDIM] ); 75 CorrelationToSurfaceMap *PeriodicCorrelationToSurface(std::vector<molecule *> &molecules, const std::vector<const element *> &elements, const Tesselation * const Surface, const LinkedCell_deprecated *LC, const int ranges[NDIM] ); 76 int GetBin ( const double value, const double BinWidth, const double BinStart ); 77 void OutputCorrelation_Header( ofstream * const file ); 78 void OutputCorrelation_Value( ofstream * const file, BinPairMap::const_iterator &runner ); 79 void OutputDipoleAngularCorrelation_Header( ofstream * const file ); 80 void OutputDipoleAngularCorrelation_Value( ofstream * const file, DipoleAngularCorrelationMap::const_iterator &runner ); 81 void OutputDipoleCorrelation_Header( ofstream * const file ); 82 void OutputDipoleCorrelation_Value( ofstream * const file, DipoleCorrelationMap::const_iterator &runner ); 83 void OutputPairCorrelation_Header( ofstream * const file ); 84 void OutputPairCorrelation_Value( ofstream * const file, PairCorrelationMap::const_iterator &runner ); 85 void OutputCorrelationToPoint_Header( ofstream * const file ); 86 void OutputCorrelationToPoint_Value( ofstream * const file, CorrelationToPointMap::const_iterator &runner ); 87 void OutputCorrelationToSurface_Header( ofstream * const file ); 88 void OutputCorrelationToSurface_Value( ofstream * const file, CorrelationToSurfaceMap::const_iterator &runner ); 79 CorrelationToPointMap *CorrelationToPoint( 80 const std::vector<const molecule *> &molecules, 81 const std::vector<const element *> &elements, 82 const Vector *point ); 83 CorrelationToSurfaceMap *CorrelationToSurface( 84 const std::vector<const molecule *> &molecules, 85 const std::vector<const element *> &elements, 86 const Tesselation * const Surface, 87 const LinkedCell_deprecated *LC ); 88 CorrelationToPointMap *PeriodicCorrelationToPoint( 89 const std::vector<const molecule *> &molecules, 90 const std::vector<const element *> &elements, 91 const Vector *point, const int ranges[NDIM] ); 92 CorrelationToSurfaceMap *PeriodicCorrelationToSurface( 93 const std::vector<const molecule *> &molecules, 94 const std::vector<const element *> &elements, 95 const Tesselation * const Surface, 96 const LinkedCell_deprecated *LC, 97 const int ranges[NDIM] ); 98 int GetBin ( 99 const double value, 100 const double BinWidth, 101 const double BinStart ); 102 void OutputCorrelation_Header( 103 ofstream * const file ); 104 void OutputCorrelation_Value( 105 ofstream * const file, 106 BinPairMap::const_iterator &runner ); 107 void OutputDipoleAngularCorrelation_Header( 108 ofstream * const file ); 109 void OutputDipoleAngularCorrelation_Value( 110 ofstream * const file, 111 DipoleAngularCorrelationMap::const_iterator &runner ); 112 void OutputDipoleCorrelation_Header( 113 ofstream * const file ); 114 void OutputDipoleCorrelation_Value( 115 ofstream * const file, 116 DipoleCorrelationMap::const_iterator &runner ); 117 void OutputPairCorrelation_Header( 118 ofstream * const file ); 119 void OutputPairCorrelation_Value( 120 ofstream * const file, 121 PairCorrelationMap::const_iterator &runner ); 122 void OutputCorrelationToPoint_Header( 123 ofstream * const file ); 124 void OutputCorrelationToPoint_Value( 125 ofstream * const file, 126 CorrelationToPointMap::const_iterator &runner ); 127 void OutputCorrelationToSurface_Header( 128 ofstream * const file ); 129 void OutputCorrelationToSurface_Value( 130 ofstream * const file, 131 CorrelationToSurfaceMap::const_iterator &runner ); 89 132 90 133 /** Searches for lowest and highest value in a given map of doubles.
Note:
See TracChangeset
for help on using the changeset viewer.