- Timestamp:
- Jun 11, 2010, 3:59:53 PM (15 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:
- f6bd32
- Parents:
- a307af
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/FragmentationAction/SubgraphDissectionAction.cpp
ra307af r6866aa 24 24 #include "Actions/MapOfActions.hpp" 25 25 26 const char FragmentationSubgraphDissectionAction::NAME[] = "sub space-dissect";26 const char FragmentationSubgraphDissectionAction::NAME[] = "subgraph-dissect"; 27 27 28 28 FragmentationSubgraphDissectionAction::FragmentationSubgraphDissectionAction() : … … 39 39 40 40 if(dialog->display()) { 41 DoLog(1) && (Log() << Verbose(1) << "Dissecting molecular system into a set of disconnected subgraphs ... " << endl); 42 // @TODO rather do the dissection afterwards 43 MoleculeListClass *molecules = World::getInstance().getMolecules(); 44 molecules->DissectMoleculeIntoConnectedSubgraphs(World::getInstance().getPeriode(), World::getInstance().getConfig()); 41 45 delete dialog; 42 46 return Action::success; -
src/Actions/MapOfActions.cpp
ra307af r6866aa 96 96 DescriptionMap["save-temperature"] = "name of the temperature file to write to"; 97 97 DescriptionMap["scale-box"] = "scale box and atomic positions inside"; 98 DescriptionMap["sub space-dissect"] = "dissect the molecular system into molecules representing disconnected subgraphs";98 DescriptionMap["subgraph-dissect"] = "dissect the molecular system into molecules representing disconnected subgraphs"; 99 99 DescriptionMap["suspend-in-water"] = "suspend the given molecule in water such that in the domain the mean density is as specified"; 100 100 DescriptionMap["translate-mol"] = "translate molecule by given vector"; … … 158 158 ShortFormMap["scale-box"] = "s"; 159 159 ShortFormMap["set-basis"] = "M"; 160 ShortFormMap["sub space-dissect"] = "I";160 ShortFormMap["subgraph-dissect"] = "I"; 161 161 ShortFormMap["suspend-in-water"] = "u"; 162 162 ShortFormMap["translate-mol"] = "t"; … … 197 197 TypeMap["scale-box"] = Vector; 198 198 TypeMap["set-basis"] = String; 199 TypeMap["subgraph-dissect"] = None; 199 200 TypeMap["suspend-in-water"] = Double; 200 201 TypeMap["translate-mol"] = Vector; … … 268 269 generic.insert("scale-box"); 269 270 generic.insert("set-basis"); 270 // generic.insert("subspace-dissect");271 generic.insert("subgraph-dissect"); 271 272 generic.insert("suspend-in-water"); 272 273 generic.insert("translate-mol"); -
src/builder.cpp
ra307af r6866aa 1737 1737 case 'I': 1738 1738 DoLog(1) && (Log() << Verbose(1) << "Dissecting molecular system into a set of disconnected subgraphs ... " << endl); 1739 // @TODO rather do the dissection afterwards 1740 molecules->DissectMoleculeIntoConnectedSubgraphs(periode, &configuration); 1741 mol = NULL; 1742 if (molecules->ListOfMolecules.size() != 0) { 1743 for (MoleculeList::iterator ListRunner = molecules->ListOfMolecules.begin(); ListRunner != molecules->ListOfMolecules.end(); ListRunner++) 1744 if ((*ListRunner)->ActiveFlag) { 1745 mol = *ListRunner; 1746 break; 1747 } 1748 } 1749 if ((mol == NULL) && (!molecules->ListOfMolecules.empty())) { 1750 mol = *(molecules->ListOfMolecules.begin()); 1751 if (mol != NULL) 1752 mol->ActiveFlag = true; 1753 } 1739 ArgcList.insert(argptr-1); 1740 argptr+=0; 1754 1741 break; 1755 1742 case 'C':
Note:
See TracChangeset
for help on using the changeset viewer.