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:

Location:
tests/regression/Analysis/2/post
Files:
3 edited

Legend:

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

    rcd7a87 r92e5cb  
    1 BinStart        Count
    2 0.5     62
    3 2       24
    4 2.5     63
    5 3       57
    6 3.5     121
    7 4       77
    8 4.5     81
    9 5       82
    10 5.5     74
    11 6       127
    12 6.5     168
    13 7       154
    14 7.5     152
    15 8       94
    16 8.5     105
    17 9       97
    18 9.5     100
    19 10      98
    20 10.5    64
    21 11      40
    22 11.5    47
    23 12      24
    24 12.5    6
    25 13      2
    26 13.5    3
     1BinStart        BinCenter       BinEnd  Count
     20.5     1.25    2       62
     32       2.25    2.5     24
     42.5     2.75    3       63
     53       3.25    3.5     57
     63.5     3.75    4       121
     74       4.25    4.5     77
     84.5     4.75    5       81
     95       5.25    5.5     82
     105.5     5.75    6       74
     116       6.25    6.5     127
     126.5     6.75    7       168
     137       7.25    7.5     154
     147.5     7.75    8       152
     158       8.25    8.5     94
     168.5     8.75    9       105
     179       9.25    9.5     97
     189.5     9.75    10      100
     1910      10.25   10.5    98
     2010.5    10.75   11      64
     2111      11.25   11.5    40
     2211.5    11.75   12      47
     2312      12.25   12.5    24
     2412.5    12.75   13      6
     2513      13.25   13.5    2
     2613.5    0       0       3
  • tests/regression/Analysis/2/post/bin_output-20.csv

    rcd7a87 r92e5cb  
    1 BinStart        Count
    2 0.5     62
    3 2       24
    4 2.5     63
    5 3       57
    6 3.5     121
    7 4       77
    8 4.5     81
    9 5       82
    10 5.5     74
    11 6       127
    12 6.5     168
    13 7       154
    14 7.5     152
    15 8       94
    16 8.5     105
    17 9       97
    18 9.5     100
    19 10      98
    20 10.5    64
    21 11      40
    22 11.5    47
    23 12      24
    24 12.5    6
    25 13      2
    26 13.5    3
    27 14      0
    28 14.5    0
    29 15      0
    30 15.5    0
    31 16      0
    32 16.5    0
    33 17      0
    34 17.5    0
    35 18      0
    36 18.5    0
    37 19      0
    38 19.5    0
    39 20      0
     1BinStart        BinCenter       BinEnd  Count
     20.5     1.25    2       62
     32       2.25    2.5     24
     42.5     2.75    3       63
     53       3.25    3.5     57
     63.5     3.75    4       121
     74       4.25    4.5     77
     84.5     4.75    5       81
     95       5.25    5.5     82
     105.5     5.75    6       74
     116       6.25    6.5     127
     126.5     6.75    7       168
     137       7.25    7.5     154
     147.5     7.75    8       152
     158       8.25    8.5     94
     168.5     8.75    9       105
     179       9.25    9.5     97
     189.5     9.75    10      100
     1910      10.25   10.5    98
     2010.5    10.75   11      64
     2111      11.25   11.5    40
     2211.5    11.75   12      47
     2312      12.25   12.5    24
     2412.5    12.75   13      6
     2513      13.25   13.5    2
     2613.5    13.75   14      3
     2714      14.25   14.5    0
     2814.5    14.75   15      0
     2915      15.25   15.5    0
     3015.5    15.75   16      0
     3116      16.25   16.5    0
     3216.5    16.75   17      0
     3317      17.25   17.5    0
     3417.5    17.75   18      0
     3518      18.25   18.5    0
     3618.5    18.75   19      0
     3719      19.25   19.5    0
     3819.5    19.75   20      0
     3920      0       0       0
  • 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.