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/3/post/bin_output.csv

    rcd7a87 r92e5cb  
    1 BinStart        Count
    2 0       0
    3 0.5     0
    4 1       0
    5 1.5     0
    6 2       0
    7 2.5     1
    8 3       1
    9 3.5     6
    10 4       7
    11 4.5     10
    12 5       8
    13 5.5     13
    14 6       5
    15 6.5     6
    16 7       4
    17 7.5     1
    18 8       0
    19 8.5     0
    20 9       0
    21 9.5     0
    22 10      0
    23 10.5    0
    24 11      0
    25 11.5    0
    26 12      0
    27 12.5    0
    28 13      0
    29 13.5    0
    30 14      0
    31 14.5    0
    32 15      0
    33 15.5    0
    34 16      0
    35 16.5    0
    36 17      0
    37 17.5    0
    38 18      0
    39 18.5    0
    40 19      0
    41 19.5    0
    42 20      0
     1BinStart        BinCenter       BinEnd  Count
     20       0.25    0.5     0
     30.5     0.75    1       0
     41       1.25    1.5     0
     51.5     1.75    2       0
     62       2.25    2.5     0
     72.5     2.75    3       1
     83       3.25    3.5     1
     93.5     3.75    4       6
     104       4.25    4.5     7
     114.5     4.75    5       10
     125       5.25    5.5     8
     135.5     5.75    6       13
     146       6.25    6.5     5
     156.5     6.75    7       6
     167       7.25    7.5     4
     177.5     7.75    8       1
     188       8.25    8.5     0
     198.5     8.75    9       0
     209       9.25    9.5     0
     219.5     9.75    10      0
     2210      10.25   10.5    0
     2310.5    10.75   11      0
     2411      11.25   11.5    0
     2511.5    11.75   12      0
     2612      12.25   12.5    0
     2712.5    12.75   13      0
     2813      13.25   13.5    0
     2913.5    13.75   14      0
     3014      14.25   14.5    0
     3114.5    14.75   15      0
     3215      15.25   15.5    0
     3315.5    15.75   16      0
     3416      16.25   16.5    0
     3516.5    16.75   17      0
     3617      17.25   17.5    0
     3717.5    17.75   18      0
     3818      18.25   18.5    0
     3918.5    18.75   19      0
     4019      19.25   19.5    0
     4119.5    19.75   20      0
     4220      0       0       0
Note: See TracChangeset for help on using the changeset viewer.