Changeset edac7c
- Timestamp:
- Feb 25, 2013, 5:28:58 PM (12 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:
- d94e7e
- Parents:
- dd8094
- git-author:
- Frederik Heber <heber@…> (11/19/12 14:25:29)
- git-committer:
- Frederik Heber <heber@…> (02/25/13 17:28:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/LevMartester.cpp ¶
rdd8094 redac7c 213 213 { 214 214 // then we ought to pick the right HomologyGraph ... 215 const HomologyGraph graph = getFirstGraphwithTimesSpecificElement(homologies, 6,3);215 const HomologyGraph graph = getFirstGraphwithTimesSpecificElement(homologies,8,1); 216 216 if (graph != HomologyGraph()) { 217 217 LOG(1, "First representative graph containing three saturated carbons is " << graph << "."); 218 218 219 219 // Afterwards we go through all of this type and gather the distance and the energy value 220 Fragment::charges_t h2o; 221 h2o += 8,1,1; 220 222 TrainingData AngleData( 221 223 boost::bind(&Extractors::reorderArgumentsByIncreasingDistance, 222 224 boost::bind(&Extractors::gatherAllSymmetricDistanceArguments, 223 225 boost::bind(&Extractors::gatherPositionOfTuples, 224 _1, Fragment::charges_t(3,6.)226 _1, boost::cref(h2o) 225 227 ), _2 // gather carbon triples 226 228 ) … … 256 258 { 257 259 // then we ought to pick the right HomologyGraph ... 258 const HomologyGraph graph = getFirstGraphwithTimesSpecificElement(homologies, 6,2);260 const HomologyGraph graph = getFirstGraphwithTimesSpecificElement(homologies,8,1); 259 261 if (graph != HomologyGraph()) { 260 262 LOG(1, "First representative graph containing two saturated carbons is " << graph << "."); 261 263 262 264 // Afterwards we go through all of this type and gather the distance and the energy value 265 Fragment::charges_t h2o; 266 h2o += 8,1; 263 267 TrainingData MorseData( 264 268 boost::bind(&Extractors::gatherAllSymmetricDistanceArguments, 265 269 boost::bind(&Extractors::gatherPositionOfTuples, 266 _1, Fragment::charges_t(2,6.)270 _1, boost::cref(h2o) 267 271 ), _2 // gather first carbon pair 268 272 ) … … 299 303 { 300 304 // then we ought to pick the right HomologyGraph ... 301 const HomologyGraph graph = getFirstGraphwithTimesSpecificElement(homologies, 6,1);305 const HomologyGraph graph = getFirstGraphwithTimesSpecificElement(homologies,8,1); 302 306 if (graph != HomologyGraph()) { 303 307 LOG(1, "First representative graph containing one saturated carbon is " << graph << "."); … … 305 309 // Afterwards we go through all of this type and gather the distance and the energy value 306 310 Fragment::charges_t SaturatedCarbon; 307 SaturatedCarbon += 6.,1.;311 SaturatedCarbon += 8.,1.; 308 312 TrainingData TersoffData( 309 313 // boost::bind(&Extractors::gatherAllSymmetricDistanceArguments,
Note:
See TracChangeset
for help on using the changeset viewer.