Ignore:
Timestamp:
Feb 3, 2011, 9:51:19 AM (14 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:
b25fa3
Parents:
cd7a87
git-author:
Frederik Heber <heber@…> (12/30/10 11:10:50)
git-committer:
Frederik Heber <heber@…> (02/03/11 09:51:19)
Message:

Refactored Output..Correlation...() code into a single templated one.

  • template function OutputCorrelationMap() that accepts two function pointers for header and value to print the map's specifics.
  • all other function have been refactored into these two output functions per CorrelationMap type.

TESTFIXES:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/regression/Analysis/2/post/bin_output-5.csv

    rcd7a87 r92e5cb  
    1 BinStart        Count
    2 0       0
    3 0.5     62
    4 1       0
    5 1.5     0
    6 2       24
    7 2.5     63
    8 3       57
    9 3.5     121
    10 4       77
    11 4.5     81
    12 5       82
    13 5.5     74
    14 6       127
    15 6.5     168
    16 7       154
    17 7.5     152
    18 8       94
    19 8.5     105
    20 9       97
    21 9.5     100
    22 10      98
    23 10.5    64
    24 11      40
    25 11.5    47
    26 12      24
    27 12.5    6
    28 13      2
    29 13.5    3
     1BinStart        BinCenter       BinEnd  Count
     20       0.25    0.5     0
     30.5     0.75    1       62
     41       1.25    1.5     0
     51.5     1.75    2       0
     62       2.25    2.5     24
     72.5     2.75    3       63
     83       3.25    3.5     57
     93.5     3.75    4       121
     104       4.25    4.5     77
     114.5     4.75    5       81
     125       5.25    5.5     82
     135.5     5.75    6       74
     146       6.25    6.5     127
     156.5     6.75    7       168
     167       7.25    7.5     154
     177.5     7.75    8       152
     188       8.25    8.5     94
     198.5     8.75    9       105
     209       9.25    9.5     97
     219.5     9.75    10      100
     2210      10.25   10.5    98
     2310.5    10.75   11      64
     2411      11.25   11.5    40
     2511.5    11.75   12      47
     2612      12.25   12.5    24
     2712.5    12.75   13      6
     2813      13.25   13.5    2
     2913.5    0       0       3
Note: See TracChangeset for help on using the changeset viewer.