Changeset 9b7db1


Ignore:
Timestamp:
May 30, 2010, 4:51:45 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:
5d12d2
Parents:
c7a473
Message:

Added case '-R' (removing atoms outside of sphere) to testsuite.

  • basically works, but molecuilder crashes with SIGABT when destroying world.
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/builder.cpp

    rc7a473 r9b7db1  
    21342134                    first = second;
    21352135                    second = first->next;
    2136                     if (first->x.DistanceSquared(third->x) > tmp1*tmp1) // distance to first above radius ...
     2136                    if (first->x.DistanceSquared(third->x) > tmp1*tmp1) {// distance to first above radius ...
    21372137                      mol->RemoveAtom(first);
     2138                    }
    21382139                  }
    21392140                } else {
  • tests/regression/testsuite.at

    rc7a473 r9b7db1  
    158158AT_CLEANUP
    159159
     160# 8. Removing sphere of atoms
     161AT_SETUP([Molecules - BROKEN: Removing sphere of atoms])
     162AT_KEYWORDS([Molecules])
     163AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/8/pre/test.* .], 0)
     164AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -R 2 7.], 134, [stdout], [stderr])
     165AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/8/post/$file], 0, [ignore], [ignore])
     166AT_CLEANUP
     167
    160168
    161169AT_BANNER([MoleCuilder - simulation domain])
     
    221229
    222230# 2. Storing adjacency info
    223 AT_SETUP([Graph - Storing bond info])
     231AT_SETUP([Molecules - Storing bond info])
    224232AT_KEYWORDS([Molecules])
    225233AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/2/pre/test.conf .], 0)
     
    231239
    232240# 3. Storing temperature
    233 AT_SETUP([Graph - Storing temperature])
     241AT_SETUP([Molecules - Storing temperature])
    234242AT_KEYWORDS([Molecules])
    235243AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/3/pre/test.conf .], 0)
     
    239247
    240248# 4. linear interpolation
    241 AT_SETUP([Graph - Linear interpolation])
     249AT_SETUP([Molecules - BROKEN: Linear interpolation])
    242250AT_KEYWORDS([Molecules])
    243251AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/4/pre/test.conf .], 0)
     
    246254
    247255# 5. Verlet force integration
    248 AT_SETUP([Graph - Verlet force integration])
     256AT_SETUP([Molecules - BROKEN: Verlet force integration])
    249257AT_KEYWORDS([Molecules])
    250258AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/5/pre/test.* .], 0)
     
    252260#AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/5/post/$file], 0, [ignore], [ignore])
    253261AT_CLEANUP
    254 
    255262
    256263AT_BANNER([MoleCuilder - Fragmentation and Re-fragmentation test])
Note: See TracChangeset for help on using the changeset viewer.