Changeset 7d320c for src


Ignore:
Timestamp:
Oct 19, 2014, 5:13:09 PM (10 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:
1b6cec
Parents:
4da4de
git-author:
Frederik Heber <heber@…> (09/29/14 14:40:10)
git-committer:
Frederik Heber <heber@…> (10/19/14 17:13:09)
Message:

MEMFIX: Static coordinator instances of specificv potentials need to be Memory::ignore()'d.

Location:
src/Potentials/Specifics
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • src/Potentials/Specifics/ConstantPotential.cpp

    r4da4de r7d320c  
    6363    ;
    6464const std::string ConstantPotential::potential_token("constant");
    65 Coordinator::ptr ConstantPotential::coordinator(new OneBody_Constant());
     65Coordinator::ptr ConstantPotential::coordinator(Memory::ignore(new OneBody_Constant()));
    6666
    6767ConstantPotential::ConstantPotential() :
  • src/Potentials/Specifics/FourBodyPotential_Improper.cpp

    r4da4de r7d320c  
    4949    ;
    5050const std::string FourBodyPotential_Improper::improper_token("improper");
    51 Coordinator::ptr FourBodyPotential_Improper::coordinator(new FourBody_ImproperAngle());
     51Coordinator::ptr FourBodyPotential_Improper::coordinator(Memory::ignore(new FourBody_ImproperAngle()));
    5252
    5353FourBodyPotential_Improper::FourBodyPotential_Improper() :
  • src/Potentials/Specifics/FourBodyPotential_Torsion.cpp

    r4da4de r7d320c  
    6464    ;
    6565const std::string FourBodyPotential_Torsion::potential_token("torsion");
    66 Coordinator::ptr FourBodyPotential_Torsion::coordinator(new FourBody_TorsionAngle());
     66Coordinator::ptr FourBodyPotential_Torsion::coordinator(Memory::ignore(new FourBody_TorsionAngle()));
    6767
    6868FourBodyPotential_Torsion::FourBodyPotential_Torsion() :
  • src/Potentials/Specifics/ManyBodyPotential_Tersoff.cpp

    r4da4de r7d320c  
    8080    ;
    8181const std::string ManyBodyPotential_Tersoff::potential_token("tersoff");
    82 Coordinator::ptr ManyBodyPotential_Tersoff::coordinator(new OneBody_Constant());
     82Coordinator::ptr ManyBodyPotential_Tersoff::coordinator(Memory::ignore(new OneBody_Constant()));
    8383
    8484ManyBodyPotential_Tersoff::ManyBodyPotential_Tersoff() :
  • src/Potentials/Specifics/PairPotential_Harmonic.cpp

    r4da4de r7d320c  
    6565    ;
    6666const std::string PairPotential_Harmonic::potential_token("harmonic_bond");
    67 Coordinator::ptr PairPotential_Harmonic::coordinator(new TwoBody_Length());
     67Coordinator::ptr PairPotential_Harmonic::coordinator(Memory::ignore(new TwoBody_Length()));
    6868
    6969PairPotential_Harmonic::PairPotential_Harmonic() :
  • src/Potentials/Specifics/PairPotential_LennardJones.cpp

    r4da4de r7d320c  
    6565    ;
    6666const std::string PairPotential_LennardJones::potential_token("lennardjones");
    67 Coordinator::ptr PairPotential_LennardJones::coordinator(new TwoBody_Length());
     67Coordinator::ptr PairPotential_LennardJones::coordinator(Memory::ignore(new TwoBody_Length()));
    6868
    6969void PairPotential_LennardJones::setDefaultParameters()
  • src/Potentials/Specifics/PairPotential_Morse.cpp

    r4da4de r7d320c  
    6767    ;
    6868const std::string PairPotential_Morse::potential_token("morse");
    69 Coordinator::ptr PairPotential_Morse::coordinator(new TwoBody_Length());
     69Coordinator::ptr PairPotential_Morse::coordinator(Memory::ignore(new TwoBody_Length()));
    7070
    7171PairPotential_Morse::PairPotential_Morse() :
  • src/Potentials/Specifics/ThreeBodyPotential_Angle.cpp

    r4da4de r7d320c  
    6565    ;
    6666const std::string ThreeBodyPotential_Angle::potential_token("harmonic_angle");
    67 Coordinator::ptr ThreeBodyPotential_Angle::coordinator(new ThreeBody_Angle());
     67Coordinator::ptr ThreeBodyPotential_Angle::coordinator(Memory::ignore(new ThreeBody_Angle()));
    6868
    6969ThreeBodyPotential_Angle::ThreeBodyPotential_Angle() :
Note: See TracChangeset for help on using the changeset viewer.