Changeset a91710 for src/Actions
- Timestamp:
- Aug 21, 2014, 6:59:33 AM (11 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, 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:
- 29b35e
- Parents:
- 4c9101 (diff), 0c72e2 (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. - Location:
- src/Actions
- Files:
-
- 4 edited
-
ActionQueue.cpp (modified) (1 diff)
-
Action_impl_python.hpp (modified) (5 diffs)
-
FragmentationAction/FragmentationAutomationAction.cpp (modified) (1 diff)
-
unittests/Makefile.am (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ActionQueue.cpp
r4c9101 ra91710 145 145 run_thread.sleep(boost::get_system_time() + boost::posix_time::milliseconds(100)); 146 146 #else 147 run_thread.sleep_for(100);147 boost::this_thread::sleep_for(boost::chrono::milliseconds(100)); 148 148 #endif 149 149 } catch(boost::thread_interrupted &e) { -
src/Actions/Action_impl_python.hpp
r4c9101 ra91710 21 21 #include <boost/preprocessor/punctuation/comma_if.hpp> 22 22 #include <boost/preprocessor/punctuation/paren.hpp> 23 #include <boost/preprocessor/seq/elem.hpp> 24 #include <boost/preprocessor/seq/size.hpp> 25 #include <boost/preprocessor/seq/transform.hpp> 23 26 24 27 // some derived names: if CATEGORY is not given, we don't prefix with it … … 48 51 BOOST_PP_ASSERT_MSG(BOOST_PP_EQUAL(MAXPARAMTYPES, BOOST_PP_SEQ_SIZE(paramdescriptions)),\ 49 52 ERROR: There are not the same number of "paramtokens" and "paramdescriptions" in: __FILE__ \ 53 ) 54 #endif 55 #ifdef paramreferences 56 BOOST_PP_ASSERT_MSG(BOOST_PP_EQUAL(MAXPARAMTYPES, BOOST_PP_SEQ_SIZE(paramreferences)),\ 57 ERROR: There are not the same number of "paramtokens" and "paramreferences" in: __FILE__ \ 58 ) 59 #endif 60 61 #ifdef paramtypes 62 BOOST_PP_ASSERT_MSG(BOOST_PP_EQUAL(MAXPARAMTYPES, BOOST_PP_SEQ_SIZE(paramtypes)),\ 63 ERROR: There are not the same number of "paramtokens" and "paramtypes" in: __FILE__ \ 50 64 ) 51 65 #endif … … 83 97 // print a list of type ref followed, i.e. "int i, double position" 84 98 #define type_list(z,n,TYPELIST, VARLIST) \ 85 BOOST_PP_COMMA_IF(n) \99 BOOST_PP_COMMA_IF(n) \ 86 100 BOOST_PP_SEQ_ELEM(n, TYPELIST) \ 87 101 BOOST_PP_SEQ_ELEM(n, VARLIST) … … 90 104 #define value_print(z, n, container, prefix) \ 91 105 prefix \ 92 BOOST_PP_SEQ_ELEM(n, container) \93 .set( \94 BOOST_PP_SEQ_ELEM(n, container) \106 BOOST_PP_SEQ_ELEM(n, container) \ 107 .set( \ 108 BOOST_PP_SEQ_ELEM(n, container) \ 95 109 ); 96 110 … … 110 124 BOOST_PP_CAT( COMMAND, _stringargs)( 111 125 #if defined paramtypes 112 #define BOOST_PP_LOCAL_MACRO(n) type_list(~, n, BOOST_PP_SEQ_TRANSFORM( type2string, , paramtypes), paramreferences)126 #define BOOST_PP_LOCAL_MACRO(n) type_list(~, n, BOOST_PP_SEQ_TRANSFORM( type2string, ~, paramtypes), paramreferences) 113 127 #define BOOST_PP_LOCAL_LIMITS (0, MAXPARAMTYPES-1) 114 128 #include BOOST_PP_LOCAL_ITERATE() -
src/Actions/FragmentationAction/FragmentationAutomationAction.cpp
r4c9101 ra91710 175 175 params.executable.get().string() 176 176 ); 177 if (NoJobs != NumberJobs) { 178 ELOG(1, "Not all jobs were added succesfully."); 179 return Action::failure; 180 } 177 181 LOG(1, "INFO: Added " << NoJobs << " from FragmentJobsQueue."); 178 182 -
src/Actions/unittests/Makefile.am
r4c9101 ra91710 25 25 26 26 ACTIONLIBS = \ 27 libUnitTest.la \ 28 ../libMolecuilder.la \ 27 29 ../libMolecuilderUI.la 28 30 if CONDJOBMARKET … … 33 35 # note that DummyUI inherits Dialog which depends on boost/file_system ... 34 36 35 ActionRegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp\37 ActionRegistryUnitTest_SOURCES = \ 36 38 ../Actions/unittests/ActionRegistryUnitTest.cpp \ 37 39 ../Actions/unittests/ActionRegistryUnitTest.hpp \ … … 40 42 ../Parameters/unittests/stubs/BoxVectorValidatorStub.cpp \ 41 43 ../Parameters/unittests/stubs/TimeStepPresentValidatorStub.cpp 42 ActionRegistryUnitTest_LDADD = ${ACTIONLIBS} 44 ActionRegistryUnitTest_LDADD = ${ACTIONLIBS} \ 45 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) 43 46 44 ActionSequenceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp\47 ActionSequenceUnitTest_SOURCES = \ 45 48 ../Actions/unittests/ActionSequenceUnitTest.cpp \ 46 49 ../Actions/unittests/ActionSequenceUnitTest.hpp \ … … 55 58 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) 56 59 57 AtomsCalculationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp\60 AtomsCalculationUnitTest_SOURCES = \ 58 61 ../Actions/unittests/AtomsCalculationUnitTest.cpp \ 59 62 ../Actions/unittests/AtomsCalculationUnitTest.hpp 60 63 AtomsCalculationUnitTest_LDADD = ${ACTIONLIBS} 61 64 62 ManipulateAtomsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp\65 ManipulateAtomsUnitTest_SOURCES = \ 63 66 ../Actions/unittests/ManipulateAtomsUnitTest.cpp \ 64 67 ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
Note:
See TracChangeset
for help on using the changeset viewer.
