Changeset 27e6a7 for src/Actions


Ignore:
Timestamp:
Sep 9, 2016, 8:22:09 AM (8 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, 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_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, 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, GeometryObjects, Gui_displays_atomic_force_velocity, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes, stable
Children:
647148
Parents:
ce70d25
git-author:
Frederik Heber <heber@…> (09/01/16 20:31:09)
git-committer:
Frederik Heber <heber@…> (09/09/16 08:22:09)
Message:

Enhanced verbosity of printed homologous graphs.

Location:
src/Actions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/FragmentationAction/AnalyseFragmentationResultsAction.cpp

    rce70d25 r27e6a7  
    315315    LOG(1, "INFO: Creating new graph with " << **forceiter << ".");
    316316    HomologyGraph graph(**forceiter);
    317     LOG(2, "DEBUG: Created graph " << graph << ".");
    318317    const IndexSet::ptr &index = *iter;
    319318    if (!(**forceiter).contains(**iter)) {
     
    338337    }
    339338    value.fragment = boost::fusion::at_key<MPQCDataFused::fragment>(fragmentiter->second.first);
     339    LOG(1, "DEBUG: Created graph " << graph << " to fragment " << value.fragment << ".");
    340340
    341341    // obtain energy
  • src/Actions/PotentialAction/FitPotentialAction.cpp

    rce70d25 r27e6a7  
    118118  const HomologyContainer &homologies = World::getInstance().getHomologies();
    119119
    120   // first we try to look into the HomologyContainer
    121   LOG(1, "INFO: Listing all present homologies ...");
    122   for (HomologyContainer::container_t::const_iterator iter =
    123       homologies.begin(); iter != homologies.end(); ++iter) {
    124     LOG(1, "INFO: graph " << iter->first
    125         << " has Fragment " << iter->second.fragment
    126         << ", associated energy " << iter->second.energy
    127         << ", and sampled grid integral " << iter->second.charge_distribution.integral()
    128         << ".");
    129   }
    130 
    131120  // then we ought to pick the right HomologyGraph ...
    132121  const HomologyGraph graph =
     
    138127    STATUS("Specific fragment "+toString(fragmentnumbers)+" not found in homologies!");
    139128    return Action::failure;
     129  }
     130
     131  // for debugging we list all matching fragments
     132  HomologyContainer::range_t graphrange = homologies.getHomologousGraphs(graph);
     133  LOG(1, "INFO: Listing all matching homologous graphs ...");
     134  for (HomologyContainer::container_t::const_iterator iter =
     135      graphrange.first; iter != graphrange.second; ++iter) {
     136    LOG(1, "INFO: graph " << iter->first
     137        << " has Fragment " << iter->second.fragment
     138        << ", associated energy " << iter->second.energy
     139        << ", and sampled grid integral " << iter->second.charge_distribution.integral()
     140        << ".");
    140141  }
    141142
Note: See TracChangeset for help on using the changeset viewer.