Changeset c24071 for src/Fragmentation
- Timestamp:
- Sep 14, 2016, 6:42:52 PM (8 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, 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_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, 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, 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:
- c6ddcb
- Parents:
- c4abf2
- git-author:
- Frederik Heber <heber@…> (03/10/16 14:11:01)
- git-committer:
- Frederik Heber <heber@…> (09/14/16 18:42:52)
- Location:
- src/Fragmentation/Exporters
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Exporters/ExportGraph.hpp
rc4abf2 rc24071 48 48 typedef boost::shared_ptr<SaturatedFragment> SaturatedFragment_ptr; 49 49 50 virtual voidoperator()()=0;50 virtual bool operator()()=0; 51 51 52 52 /** Returns a saturated fragment for immediate use only. -
src/Fragmentation/Exporters/ExportGraph_ToAtomFragments.cpp
rc4abf2 rc24071 57 57 {} 58 58 59 voidExportGraph_ToAtomFragments::operator()()59 bool ExportGraph_ToAtomFragments::operator()() 60 60 { 61 61 AtomFragmentsMap &atomfragments = AtomFragmentsMap::getInstance(); … … 92 92 if (CurrentFragment == NULL) { 93 93 ELOG(1, "Some error while obtaining the next fragment occured."); 94 return ;94 return false; 95 95 } 96 return true; 96 97 } -
src/Fragmentation/Exporters/ExportGraph_ToAtomFragments.hpp
rc4abf2 rc24071 42 42 virtual ~ExportGraph_ToAtomFragments(); 43 43 44 voidoperator()();44 bool operator()(); 45 45 }; 46 46 -
src/Fragmentation/Exporters/ExportGraph_ToFiles.cpp
rc4abf2 rc24071 103 103 /** Actual implementation of the export to files function. 104 104 */ 105 voidExportGraph_ToFiles::operator()()105 bool ExportGraph_ToFiles::operator()() 106 106 { 107 107 LOG(1, "INFO: Writing " << TotalGraph.size() << " possible bond fragmentation configs."); … … 136 136 if (CurrentFragment == NULL) { 137 137 ELOG(1, "Some error while obtaining the next fragment occured."); 138 return ;138 return false; 139 139 } 140 140 ForcesFile.close(); … … 150 150 // restore orbital and Stop values 151 151 //CalculateOrbitals(*configuration); 152 return true; 152 153 } 153 154 -
src/Fragmentation/Exporters/ExportGraph_ToFiles.hpp
rc4abf2 rc24071 37 37 virtual ~ExportGraph_ToFiles(); 38 38 39 voidoperator()();39 bool operator()(); 40 40 41 41 void setPrefix(const std::string &_prefix) { -
src/Fragmentation/Exporters/ExportGraph_ToJobs.cpp
rc4abf2 rc24071 68 68 {} 69 69 70 voidExportGraph_ToJobs::operator()()70 bool ExportGraph_ToJobs::operator()() 71 71 { 72 72 std::vector<FragmentJob::ptr> jobs; … … 131 131 if (CurrentFragment == NULL) { 132 132 ELOG(1, "Some error while obtaining the next fragment occured."); 133 return ;133 return false; 134 134 } 135 135 136 136 // push final jobs 137 137 FragmentJobQueue::getInstance().addJobs(jobs, KeySets, FullKeySets); 138 139 return true; 138 140 } -
src/Fragmentation/Exporters/ExportGraph_ToJobs.hpp
rc4abf2 rc24071 44 44 virtual ~ExportGraph_ToJobs(); 45 45 46 voidoperator()();46 bool operator()(); 47 47 48 48 /** Sets the level for the sampling of the density.
Note:
See TracChangeset
for help on using the changeset viewer.