Changeset 3bd460a
- Timestamp:
- Apr 19, 2011, 11:51:40 AM (14 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:
- 13799e
- Parents:
- b7fbf0
- git-author:
- Frederik Heber <heber@…> (04/18/11 16:02:39)
- git-committer:
- Frederik Heber <heber@…> (04/19/11 11:51:40)
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/AddEmptyBoundaryAction.cpp
rb7fbf0 r3bd460a 22 22 #include "atom.hpp" 23 23 #include "CodePatterns/Log.hpp" 24 #include "LinearAlgebra/RealSpaceMatrix.hpp" 24 25 #include "LinearAlgebra/Vector.hpp" 25 26 #include "World.hpp" … … 74 75 for (; AtomRunner != AllAtoms.end(); ++AtomRunner) 75 76 *(*AtomRunner) -= Min - params.boundary; 77 78 // give final box size 79 LOG(0, "Box domain is now " << World::getInstance().getDomain().getM()); 80 76 81 return Action::success; 77 82 } -
src/Actions/WorldAction/CenterInBoxAction.cpp
rb7fbf0 r3bd460a 22 22 #include "Box.hpp" 23 23 #include "CodePatterns/Log.hpp" 24 #include "LinearAlgebra/RealSpaceMatrix.hpp" 24 25 #include "molecule.hpp" 25 26 #include "World.hpp" … … 47 48 (*MolRunner)->CenterInBox(); 48 49 } 50 51 // give final box size 52 LOG(0, "Box domain is now " << World::getInstance().getDomain().getM()); 53 49 54 return Action::success; 50 55 } -
src/Actions/WorldAction/CenterOnEdgeAction.cpp
rb7fbf0 r3bd460a 70 70 *(*AtomRunner) -= Min; 71 71 72 // give final box size 73 LOG(0, "Box domain is now " << World::getInstance().getDomain().getM()); 74 72 75 return Action::success; 73 76 } -
src/Actions/WorldAction/ChangeBoxAction.cpp
rb7fbf0 r3bd460a 43 43 World::getInstance().setDomain(params.cell_size.getM()); // this is needed as only this function is OBSERVEd. 44 44 45 DoLog(0) && (Log() << Verbose(0) << "Setting box domain to " << World::getInstance().getDomain().getM() << endl); 45 // give final box size 46 LOG(0, "Box domain is now " << World::getInstance().getDomain().getM()); 47 46 48 return Action::success; 47 49 } -
src/Actions/WorldAction/RepeatBoxAction.cpp
rb7fbf0 r3bd460a 124 124 } 125 125 } 126 127 // give final box size 128 LOG(0, "Box domain is now " << World::getInstance().getDomain().getM()); 129 126 130 return Action::success; 127 131 } -
src/Actions/WorldAction/ScaleBoxAction.cpp
rb7fbf0 r3bd460a 62 62 World::getInstance().setDomain(M); 63 63 64 // give final box size 65 LOG(0, "Box domain is now " << World::getInstance().getDomain().getM()); 66 64 67 return Action::success; 65 68 } -
tests/regression/Domain/AddEmptyBoundary/testsuite-domain-add-empty-boundary.at
rb7fbf0 r3bd460a 5 5 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/AddEmptyBoundary/pre/test.conf .], 0) 6 6 AT_CHECK([../../molecuilder -i test.conf -c "5, 10, 15"], 0, [stdout], [stderr]) 7 AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) 7 8 AT_CHECK([diff test.conf ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/AddEmptyBoundary/post/test.conf], 0, [stdout], [stderr]) 8 9 AT_CLEANUP -
tests/regression/Domain/CenterInBox/testsuite-domain-center-in-box.at
rb7fbf0 r3bd460a 5 5 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterInBox/pre/test.conf .], 0) 6 6 AT_CHECK([../../molecuilder -i test.conf -b "15, 0, 15, 0, 0, 15"], 0, [stdout], [stderr]) 7 AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) 7 8 AT_CHECK([diff test.conf ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterInBox/post/test.conf], 0, [stdout], [stderr]) 8 9 AT_CLEANUP -
tests/regression/Domain/CenterOnEdge/testsuite-domain-center-on-edge.at
rb7fbf0 r3bd460a 5 5 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterOnEdge/pre/test.conf .], 0) 6 6 AT_CHECK([../../molecuilder -i test.conf -O], 0, [stdout], [stderr]) 7 AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) 7 8 AT_CHECK([diff test.conf ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterOnEdge/post/test.conf], 0, [stdout], [stderr]) 8 9 AT_CLEANUP -
tests/regression/Domain/ChangeBox/testsuite-domain-change-box.at
rb7fbf0 r3bd460a 4 4 AT_KEYWORDS([domain]) 5 5 AT_CHECK([../../molecuilder -i test.conf -o pcp -B "10, 0, 10, 0, 0, 10"], 0, [stdout], [stderr]) 6 AT_CHECK([fgrep "BoxLength" test.conf], 0, [stdout], [stderr]) 6 AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) 7 AT_CHECK([fgrep "BoxLength" test.conf], 0, [ignore], [ignore]) 7 8 AT_CHECK([diff test.conf ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/ChangeBox/post/test.conf], 0, [stdout], [stderr]) 8 9 AT_CLEANUP -
tests/regression/Domain/RepeatBox/testsuite-domain-repeat-box.at
rb7fbf0 r3bd460a 5 5 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/RepeatBox/pre/test.conf .], 0) 6 6 AT_CHECK([../../molecuilder -i test.conf -o xyz -d "1, 1, 1"], 0, [stdout], [stderr]) 7 AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) 7 8 AT_CHECK([file=test.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore]) 8 9 AT_CHECK([file=test.xyz;sort -n ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/RepeatBox/post/$file | grep -v "Created by" >$file-sorted2], 0, [ignore], [ignore]) … … 10 11 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/RepeatBox/pre/test.conf test-x.conf], 0) 11 12 AT_CHECK([../../molecuilder -i test-x.conf -o xyz -d "2, 1, 1"], 0, [stdout], [stderr]) 13 AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) 12 14 AT_CHECK([file=test-x.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore]) 13 15 AT_CHECK([file=test-x.xyz;sort -n ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/RepeatBox/post/$file | grep -v "Created by" >$file-sorted2], 0, [ignore], [ignore]) … … 15 17 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/RepeatBox/pre/test.conf test-y.conf], 0) 16 18 AT_CHECK([../../molecuilder -i test-y.conf -o xyz -d "1, 2, 1"], 0, [stdout], [stderr]) 19 AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) 17 20 AT_CHECK([file=test-y.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore]) 18 21 AT_CHECK([file=test-y.xyz;sort -n ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/RepeatBox/post/$file | grep -v "Created by" >$file-sorted2], 0, [ignore], [ignore]) … … 20 23 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/RepeatBox/pre/test.conf test-z.conf], 0) 21 24 AT_CHECK([../../molecuilder -i test-z.conf -o xyz -d "1, 1, 2"], 0, [stdout], [stderr]) 25 AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) 22 26 AT_CHECK([file=test-z.xyz;sort -n $file | grep -v "Created by" >$file-sorted], 0, [ignore], [ignore]) 23 27 AT_CHECK([file=test-z.xyz;sort -n ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/RepeatBox/post/$file | grep -v "Created by" >$file-sorted2], 0, [ignore], [ignore]) -
tests/regression/Domain/ScaleBox/testsuite-domain-scale-box.at
rb7fbf0 r3bd460a 5 5 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/ScaleBox/pre/test.conf .], 0) 6 6 AT_CHECK([../../molecuilder -i test.conf --scale-box "0.5, 1., 0.9"], 0, [stdout], [stderr]) 7 AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) 7 8 AT_CHECK([diff test.conf ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/ScaleBox/post/test.conf], 0, [stdout], [stderr]) 8 9 AT_CLEANUP
Note:
See TracChangeset
for help on using the changeset viewer.