Ignore:
Timestamp:
Mar 11, 2010, 2:46:41 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
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, Candidate_v1.7.0, 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:
68d781
Parents:
a77c96 (diff), ed58ad (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'StructureRefactoring' into QT4Refactoring

Conflicts:

molecuilder/src/builder.cpp
molecuilder/src/defs.hpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/moleculelist.cpp

    ra77c96 rcd032d  
    215215  // remove src
    216216  ListOfMolecules.remove(srcmol);
    217   World::get()->destroyMolecule(srcmol);
     217  World::getInstance().destroyMolecule(srcmol);
    218218  return true;
    219219};
     
    750750void MoleculeListClass::DissectMoleculeIntoConnectedSubgraphs(const periodentafel * const periode, config * const configuration)
    751751{
    752   molecule *mol = World::get()->createMolecule();
     752  molecule *mol = World::getInstance().createMolecule();
    753753  atom *Walker = NULL;
    754754  atom *Advancer = NULL;
     
    775775    }
    776776    // remove the molecule
    777     World::get()->destroyMolecule(*MolRunner);
     777    World::getInstance().destroyMolecule(*MolRunner);
    778778    ListOfMolecules.erase(MolRunner);
    779779  }
     
    797797  molecule **molecules = Malloc<molecule *>(MolCount, "config::Load() - **molecules");
    798798  for (int i=0;i<MolCount;i++) {
    799     molecules[i] = World::get()->createMolecule();
     799    molecules[i] = World::getInstance().createMolecule();
    800800    molecules[i]->ActiveFlag = true;
    801801    strncpy(molecules[i]->name, mol->name, MAXSTRINGSIZE);
     
    895895  OBSERVE;
    896896  molecule *mol = NULL;
    897   mol = World::get()->createMolecule();
     897  mol = World::getInstance().createMolecule();
    898898  insert(mol);
    899899};
     
    904904  char filename[MAXSTRINGSIZE];
    905905  Log() << Verbose(0) << "Format should be XYZ with: ShorthandOfElement\tX\tY\tZ" << endl;
    906   mol = World::get()->createMolecule();
     906  mol = World::getInstance().createMolecule();
    907907  do {
    908908    Log() << Verbose(0) << "Enter file name: ";
     
    962962      mol = *ListRunner;
    963963      ListOfMolecules.erase(ListRunner);
    964       World::get()->destroyMolecule(mol);
     964      World::getInstance().destroyMolecule(mol);
    965965      break;
    966966    }
     
    10091009  // remove the leaf itself
    10101010  if (Leaf != NULL) {
    1011     World::get()->destroyMolecule(Leaf);
     1011    World::getInstance().destroyMolecule(Leaf);
    10121012    Leaf = NULL;
    10131013  }
Note: See TracChangeset for help on using the changeset viewer.