Changeset 6866aa for src


Ignore:
Timestamp:
Jun 11, 2010, 3:59:53 PM (15 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:
f6bd32
Parents:
a307af
Message:

Case 'I' is now handled by CommandLineUI.

Location:
src
Files:
3 edited

Legend:

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

    ra307af r6866aa  
    2424#include "Actions/MapOfActions.hpp"
    2525
    26 const char FragmentationSubgraphDissectionAction::NAME[] = "subspace-dissect";
     26const char FragmentationSubgraphDissectionAction::NAME[] = "subgraph-dissect";
    2727
    2828FragmentationSubgraphDissectionAction::FragmentationSubgraphDissectionAction() :
     
    3939
    4040  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());
    4145    delete dialog;
    4246    return Action::success;
  • src/Actions/MapOfActions.cpp

    ra307af r6866aa  
    9696  DescriptionMap["save-temperature"] = "name of the temperature file to write to";
    9797  DescriptionMap["scale-box"] = "scale box and atomic positions inside";
    98   DescriptionMap["subspace-dissect"] = "dissect the molecular system into molecules representing disconnected subgraphs";
     98  DescriptionMap["subgraph-dissect"] = "dissect the molecular system into molecules representing disconnected subgraphs";
    9999  DescriptionMap["suspend-in-water"] = "suspend the given molecule in water such that in the domain the mean density is as specified";
    100100  DescriptionMap["translate-mol"] = "translate molecule by given vector";
     
    158158  ShortFormMap["scale-box"] = "s";
    159159  ShortFormMap["set-basis"] = "M";
    160   ShortFormMap["subspace-dissect"] = "I";
     160  ShortFormMap["subgraph-dissect"] = "I";
    161161  ShortFormMap["suspend-in-water"] = "u";
    162162  ShortFormMap["translate-mol"] = "t";
     
    197197  TypeMap["scale-box"] = Vector;
    198198  TypeMap["set-basis"] = String;
     199  TypeMap["subgraph-dissect"] = None;
    199200  TypeMap["suspend-in-water"] = Double;
    200201  TypeMap["translate-mol"] = Vector;
     
    268269  generic.insert("scale-box");
    269270  generic.insert("set-basis");
    270 //      generic.insert("subspace-dissect");
     271        generic.insert("subgraph-dissect");
    271272  generic.insert("suspend-in-water");
    272273  generic.insert("translate-mol");
  • src/builder.cpp

    ra307af r6866aa  
    17371737            case 'I':
    17381738              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;
    17541741              break;
    17551742            case 'C':
Note: See TracChangeset for help on using the changeset viewer.