Changes in / [0174b62:bd81f9]
- Files:
-
- 46 added
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r0174b62 rbd81f9 163 163 # Boost headers with libraries 164 164 BOOST_FILESYSTEM 165 BOOST_IOSTREAMS 165 166 BOOST_PROGRAM_OPTIONS 166 167 AS_IF([test x"$enable_python" != x"no"], [BOOST_PYTHON]) … … 169 170 170 171 171 # CodePatterns library (needs Chronos clock time conversion bugfix) 172 AM_PATH_CODEPATTERNS([1.2.1], $have_debug,,[AC_MSG_ERROR([Missing CodePatterns library, please specify PKG_CONFIG_PATH or use --with-codepatterns...])]) 172 # CodePatterns library (needs boost/archive/iserializer.hpp before MemDebug.hpp) 173 AM_PATH_CODEPATTERNS([1.2.2], $have_debug,,[AC_MSG_ERROR([Missing CodePatterns library, please specify PKG_CONFIG_PATH or use --with-codepatterns...])]) 174 175 # JobMarket library (needs boost/archive/iserializer.hpp before MemDebug.hpp) 176 AC_ARG_ENABLE( 177 [jobmarket], 178 AS_HELP_STRING([--enable-jobmarket],[turn on JobMarket feature [default=yes]]), 179 enable_jobmarket=$enableval, 180 enable_jobmarket="yes") 181 AC_MSG_RESULT($enable_jobmarket) 182 AS_IF([test x"$enable_jobmarket" != x"no"],[ 183 AM_PATH_JOBMARKET([1.0.0], $have_debug,[ 184 # the following is only required if we have JobMarket 185 BOOST_ASIO 186 AC_DEFINE(HAVE_JOBMARKET,1, ["use JobMarket to calculate fragment jobs."]) 187 ],[ 188 enable_jobmarket="no" 189 ]) 190 ] 191 #[ 192 # AC_DEFINE(HAVE_JOBMARKET,0, ["use JobMarket to calculate fragment jobs."]) 193 #] 194 ) 195 AC_SUBST(HAVE_JOBMARKET) 196 AM_CONDITIONAL([CONDJOBMARKET], [test x"$enable_jobmarket" = x"yes"]) 173 197 174 198 # Checks for header files. … … 271 295 AC_CONFIG_FILES([tests/Fragmentations/molecuilder], [chmod +x tests/Fragmentations/molecuilder]) 272 296 297 AC_CONFIG_TESTDIR(tests/JobMarket) 298 AC_CONFIG_FILES([ 299 tests/JobMarket/atlocal 300 tests/JobMarket/Makefile]) 301 AC_CONFIG_FILES([tests/JobMarket/molecuilder], [chmod +x tests/JobMarket/molecuilder]) 302 273 303 AC_CONFIG_TESTDIR(tests/regression) 274 304 AC_CONFIG_FILES([ … … 296 326 src/unittests/Makefile 297 327 ]) 328 298 329 # produce python scripts and tests only when python's present 299 330 AM_COND_IF([CONDPYTHON],[ … … 305 336 AC_CONFIG_FILES([tests/Python/Makefile]) 306 337 ]) 338 307 339 AC_OUTPUT -
src/Actions/GlobalListOfActions.hpp
r0174b62 rbd81f9 14 14 #endif 15 15 16 #include <boost/preprocessor/seq/push_back.hpp> 17 18 // this is global list of actions valid for all cases 19 #define GLOBALLISTOFACTIONS_initial \ 20 (Redo) \ 21 (GraphSubgraphDissection) \ 22 (GraphCreateAdjacency) \ 23 (GraphDepthFirstSearch) \ 24 (MoleculeSaveTemperature) \ 25 (MoleculeCopy) \ 26 (MoleculeSuspendInWater) \ 27 (MoleculeFillWithMolecule) \ 28 (MoleculeRotateToPrincipalAxisSystem) \ 29 (MoleculeSaveAdjacency) \ 30 (MoleculeFillVoidWithMolecule) \ 31 (MoleculeVerletIntegration) \ 32 (MoleculeChangeName) \ 33 (MoleculeRotateAroundSelfByAngle) \ 34 (MoleculeSaveSelectedMolecules) \ 35 (MoleculeSaveBonds) \ 36 (MoleculeLinearInterpolationofTrajectories) \ 37 (MoleculeLoad) \ 38 (MoleculeBondFile) \ 39 (TesselationNonConvexEnvelope) \ 40 (TesselationConvexEnvelope) \ 41 (CommandElementDb) \ 42 (CommandVerbose) \ 43 (CommandWarranty) \ 44 (CommandVersion) \ 45 (CommandHelp) \ 46 (CommandBondLengthTable) \ 47 (CommandFastParsing) \ 48 (ParserSetTremoloAtomdata) \ 49 (ParserParseTremoloPotentials) \ 50 (ParserSaveSelectedAtomsAsExtTypes) \ 51 (ParserSetParserParameters) \ 52 (ParserSetOutputFormats) \ 53 (AnalysisCalculateBoundingBox) \ 54 (AnalysisCalculateCellVolume) \ 55 (AnalysisCalculateMolarMass) \ 56 (AnalysisDipoleAngularCorrelation) \ 57 (AnalysisDipoleCorrelation) \ 58 (AnalysisPairCorrelation) \ 59 (AnalysisPointCorrelation) \ 60 (AnalysisSurfaceCorrelation) \ 61 (AnalysisMolecularVolume) \ 62 (AnalysisPrincipalAxisSystem) \ 63 (CommandSetRandomNumbersEngine) \ 64 (CommandSetRandomNumbersDistribution) \ 65 (Undo) \ 66 (AtomSaveSelectedAtoms) \ 67 (AtomRotateAroundOriginByAngle) \ 68 (AtomChangeElement) \ 69 (AtomRemove) \ 70 (AtomTranslate) \ 71 (AtomAdd) \ 72 (WorldCenterInBox) \ 73 (WorldRepeatBox) \ 74 (WorldChangeBox) \ 75 (WorldCenterOnEdge) \ 76 (WorldSetWorldTime) \ 77 (WorldSetBoundaryConditions) \ 78 (WorldOutput) \ 79 (WorldSetDefaultName) \ 80 (WorldScaleBox) \ 81 (WorldAddEmptyBoundary) \ 82 (WorldBoundInBox) \ 83 (WorldInput) \ 84 (SelectionNotMoleculeOfAtom) \ 85 (SelectionNotAllMolecules) \ 86 (SelectionNotMoleculeById) \ 87 (SelectionMoleculeByOrder) \ 88 (SelectionMoleculeOfAtom) \ 89 (SelectionNotMoleculeByOrder) \ 90 (SelectionMoleculeByName) \ 91 (SelectionMoleculeById) \ 92 (SelectionAllMolecules) \ 93 (SelectionClearAllMolecules) \ 94 (SelectionInvertMolecules) \ 95 (SelectionMoleculeByFormula) \ 96 (SelectionNotMoleculeByFormula) \ 97 (SelectionNotMoleculeByName) \ 98 (SelectionNotAtomById) \ 99 (SelectionNotAtomByOrder) \ 100 (SelectionAllAtomsInsideCuboid) \ 101 (SelectionAllAtoms) \ 102 (SelectionClearAllAtoms) \ 103 (SelectionInvertAtoms) \ 104 (SelectionNotAllAtoms) \ 105 (SelectionNotAtomByElement) \ 106 (SelectionAllAtomsInsideSphere) \ 107 (SelectionAllAtomsOfMolecule) \ 108 (SelectionNotAllAtomsInsideSphere) \ 109 (SelectionAtomByElement) \ 110 (SelectionNotAllAtomsOfMolecule) \ 111 (SelectionNotAllAtomsInsideCuboid) \ 112 (SelectionAtomById) \ 113 (SelectionAtomByOrder) \ 114 (FragmentationFragmentation) \ 115 (FillRegularGrid) \ 116 (FillSphericalSurface) 117 118 // we need to append the automation action in case we have the JobMarket 119 #ifdef HAVE_JOBMARKET 16 120 #define GLOBALLISTOFACTIONS \ 17 (Redo) \ 18 (GraphSubgraphDissection) \ 19 (GraphCreateAdjacency) \ 20 (GraphDepthFirstSearch) \ 21 (MoleculeSaveTemperature) \ 22 (MoleculeCopy) \ 23 (MoleculeSuspendInWater) \ 24 (MoleculeFillWithMolecule) \ 25 (MoleculeRotateToPrincipalAxisSystem) \ 26 (MoleculeSaveAdjacency) \ 27 (MoleculeFillVoidWithMolecule) \ 28 (MoleculeVerletIntegration) \ 29 (MoleculeChangeName) \ 30 (MoleculeRotateAroundSelfByAngle) \ 31 (MoleculeSaveSelectedMolecules) \ 32 (MoleculeSaveBonds) \ 33 (MoleculeLinearInterpolationofTrajectories) \ 34 (MoleculeLoad) \ 35 (MoleculeBondFile) \ 36 (TesselationNonConvexEnvelope) \ 37 (TesselationConvexEnvelope) \ 38 (CommandElementDb) \ 39 (CommandVerbose) \ 40 (CommandWarranty) \ 41 (CommandVersion) \ 42 (CommandHelp) \ 43 (CommandBondLengthTable) \ 44 (CommandFastParsing) \ 45 (ParserSetTremoloAtomdata) \ 46 (ParserParseTremoloPotentials) \ 47 (ParserSaveSelectedAtomsAsExtTypes) \ 48 (ParserSetParserParameters) \ 49 (ParserSetOutputFormats) \ 50 (AnalysisCalculateBoundingBox) \ 51 (AnalysisCalculateCellVolume) \ 52 (AnalysisCalculateMolarMass) \ 53 (AnalysisDipoleAngularCorrelation) \ 54 (AnalysisDipoleCorrelation) \ 55 (AnalysisPairCorrelation) \ 56 (AnalysisPointCorrelation) \ 57 (AnalysisSurfaceCorrelation) \ 58 (AnalysisMolecularVolume) \ 59 (AnalysisPrincipalAxisSystem) \ 60 (CommandSetRandomNumbersEngine) \ 61 (CommandSetRandomNumbersDistribution) \ 62 (Undo) \ 63 (AtomSaveSelectedAtoms) \ 64 (AtomRotateAroundOriginByAngle) \ 65 (AtomChangeElement) \ 66 (AtomRemove) \ 67 (AtomTranslate) \ 68 (AtomAdd) \ 69 (WorldCenterInBox) \ 70 (WorldRepeatBox) \ 71 (WorldChangeBox) \ 72 (WorldCenterOnEdge) \ 73 (WorldSetWorldTime) \ 74 (WorldSetBoundaryConditions) \ 75 (WorldOutput) \ 76 (WorldSetDefaultName) \ 77 (WorldScaleBox) \ 78 (WorldAddEmptyBoundary) \ 79 (WorldBoundInBox) \ 80 (WorldInput) \ 81 (SelectionNotMoleculeOfAtom) \ 82 (SelectionNotAllMolecules) \ 83 (SelectionNotMoleculeById) \ 84 (SelectionMoleculeByOrder) \ 85 (SelectionMoleculeOfAtom) \ 86 (SelectionNotMoleculeByOrder) \ 87 (SelectionMoleculeByName) \ 88 (SelectionMoleculeById) \ 89 (SelectionAllMolecules) \ 90 (SelectionClearAllMolecules) \ 91 (SelectionInvertMolecules) \ 92 (SelectionMoleculeByFormula) \ 93 (SelectionNotMoleculeByFormula) \ 94 (SelectionNotMoleculeByName) \ 95 (SelectionNotAtomById) \ 96 (SelectionNotAtomByOrder) \ 97 (SelectionAllAtomsInsideCuboid) \ 98 (SelectionAllAtoms) \ 99 (SelectionClearAllAtoms) \ 100 (SelectionInvertAtoms) \ 101 (SelectionNotAllAtoms) \ 102 (SelectionNotAtomByElement) \ 103 (SelectionAllAtomsInsideSphere) \ 104 (SelectionAllAtomsOfMolecule) \ 105 (SelectionNotAllAtomsInsideSphere) \ 106 (SelectionAtomByElement) \ 107 (SelectionNotAllAtomsOfMolecule) \ 108 (SelectionNotAllAtomsInsideCuboid) \ 109 (SelectionAtomById) \ 110 (SelectionAtomByOrder) \ 111 (FragmentationFragmentation) \ 112 (FillRegularGrid) \ 113 (FillSphericalSurface) 121 BOOST_PP_SEQ_PUSH_BACK( \ 122 GLOBALLISTOFACTIONS_initial, \ 123 FragmentationFragmentationAutomation \ 124 ) 125 #else 126 #define GLOBALLISTOFACTIONS \ 127 GLOBALLISTOFACTIONS_initial 128 #endif /* HAVE_JOBMARKET */ 114 129 115 130 #endif /* GLOBALLISTOFACTIONS_HPP_ */ -
src/Actions/Makefile.am
r0174b62 rbd81f9 196 196 FRAGMENTATIONACTIONDEFS = \ 197 197 Actions/FragmentationAction/FragmentationAction.def 198 199 if CONDJOBMARKET 200 FRAGMENTATIONACTIONSOURCE += \ 201 Actions/FragmentationAction/FragmentationAutomationAction.cpp 202 FRAGMENTATIONACTIONHEADER += \ 203 Actions/FragmentationAction/FragmentationAutomationAction.hpp 204 FRAGMENTATIONACTIONDEFS += \ 205 Actions/FragmentationAction/FragmentationAutomationAction.def 206 endif 198 207 199 208 GRAPHACTIONSOURCE = \ … … 454 463 libMolecuilderActionPrototypes.la 455 464 # libMolecuilderActionPython.la 465 libMolecuilderActionPrototypes_la_CPPFLAGS = $(AM_CPPFLAGS) 466 if CONDJOBMARKET 467 libMolecuilderActionPrototypes_la_CPPFLAGS += $(JobMarket_CFLAGS) 468 endif 456 469 libMolecuilderActions_la_includedir = $(includedir)/MoleCuilder/Actions/ 457 470 libMolecuilderActionPrototypes_la_includedir = $(includedir)/MoleCuilder/Actions/ -
src/Actions/unittests/stubs/DummyUI.hpp
r0174b62 rbd81f9 44 44 virtual void queryElements(Parameter<std::vector<const element *> > &, const char*, std::string = ""){} 45 45 virtual void queryFile(Parameter<boost::filesystem::path> &, const char*, std::string = ""){} 46 virtual void queryFiles(Parameter<std::vector< boost::filesystem::path> >&, const char*, std::string = ""){} 46 47 virtual void queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> &, const char*, std::string = ""){} 47 48 }; -
src/Atom/atom_observable.cpp
r0174b62 rbd81f9 40 40 { 41 41 std::map<Observable *, Channels*>::iterator iter = NotificationChannels.find(this); 42 ASSERT(iter != NotificationChannels.end(), 43 "~AtomObservable() - cannot find myself in NotificationChannels."); 42 44 delete iter->second; 43 45 NotificationChannels.erase(iter); -
src/Fragmentation/MatrixContainer.cpp
r0174b62 rbd81f9 88 88 * -# scan header lines for number of columns 89 89 * -# scan lines for number of rows 90 * -# allocate matrix90 * -# allocate a temporary matrix 91 91 * -# loop over found column and row counts and parse in each entry 92 * -# use MatrixContainer::AddMatrix() to add the parsed matrix to the internal 92 93 * \param &input input stream 93 94 * \param skiplines number of inital lines to skip … … 109 110 110 111 // parse header 111 if (Header.size() <= MatrixNr) 112 Header.resize(MatrixNr); 113 Header[MatrixNr] = std::string(""); 112 std::string header; 114 113 char dummy[1024]; 115 114 for (int m=skiplines+1;m--;) … … 117 116 line.str(dummy); 118 117 for(int k=skipcolumns;k--;) 119 line >> Header[MatrixNr];118 line >> header; 120 119 LOG(3, "INFO: Header of Matrix " << MatrixNr << " :" << line.str()); 121 120 122 121 // scan header for number of columns 123 if (ColumnCounter.size() <= MatrixNr) 124 ColumnCounter.resize(MatrixNr); 125 ColumnCounter[MatrixNr]=0; 122 size_t ColumnCounter = 0; 126 123 while ( getline(line,token, '\t') ) { 127 124 if (token.length() > 0) 128 ColumnCounter [MatrixNr]++;125 ColumnCounter++; 129 126 } 130 127 LOG(3, "INFO: "+line.str()); 131 LOG(4, "INFO: ColumnCounter[" << MatrixNr << "]: " << ColumnCounter[MatrixNr] << ".");132 if (ColumnCounter[MatrixNr] == 0) {133 ELOG(0, "ColumnCounter[" << MatrixNr << "]: " << ColumnCounter[MatrixNr] << " from ostream.");134 performCriticalExit();135 }136 128 137 129 // scan rest for number of rows/lines 138 if (RowCounter.size() <= MatrixNr) 139 RowCounter.resize(MatrixNr); 140 RowCounter[MatrixNr]=-1; // counts one line too much 130 size_t RowCounter = -1; 141 131 while (!input.eof()) { 142 132 input.getline(filename, 1023); 143 133 LOG(3, "INFO: Comparing: " << strncmp(filename,"MeanForce",9)); 144 RowCounter [MatrixNr]++; // then line was not last MeanForce134 RowCounter++; // then line was not last MeanForce 145 135 if (strncmp(filename,"MeanForce", 9) == 0) { 146 136 break; 147 137 } 148 138 } 149 LOG(4, "INFO: RowCounter[" << MatrixNr << "]: " << RowCounter[MatrixNr] << " from input stream."); 150 if (RowCounter[MatrixNr] == 0) { 151 ELOG(0, "INFO: RowCounter[" << MatrixNr << "]: " << RowCounter[MatrixNr] << " from input stream."); 152 performCriticalExit(); 153 } 154 155 // allocate matrix if it's not zero dimension in one direction 156 if (Matrix.size() <= MatrixNr) 157 Matrix.resize(MatrixNr+1); 158 if ((Matrix[MatrixNr].size() <= (size_t)RowCounter[MatrixNr] + 1) && (RowCounter[MatrixNr] > -1)) { 159 Matrix[MatrixNr].resize(RowCounter[MatrixNr] + 2); 160 for(int j=0;j<=RowCounter[MatrixNr];j++) { 161 if ((Matrix[MatrixNr][j].size() <= (size_t)ColumnCounter[MatrixNr]) && (ColumnCounter[MatrixNr] > -1)) 162 Matrix[MatrixNr][j].resize(ColumnCounter[MatrixNr]+1); 163 // clear 164 for(int k=0;k<=ColumnCounter[MatrixNr];k++) 165 Matrix[MatrixNr][j][k] = 0; 166 } 167 } else { 168 ELOG(1, "Matrix nr. " << MatrixNr << " has column and row count of (" << ColumnCounter[MatrixNr] << "," << RowCounter[MatrixNr] << "), could not allocate nor parse!"); 169 return false; 170 } 139 140 // allocate temporary matrix 141 MatrixArray temp_matrix; 142 temp_matrix.resize(RowCounter); 143 for(MatrixArray::iterator iter = temp_matrix.begin(); iter != temp_matrix.end(); ++iter) 144 (*iter).resize(ColumnCounter); 171 145 172 146 // parse in each entry for this matrix … … 179 153 for(int k=skipcolumns;k--;) // skip columns in header too 180 154 line >> filename; 181 Header[MatrixNr]= line.str();182 for( int j=0;j<RowCounter[MatrixNr];j++) {155 header = line.str(); 156 for(size_t j=0;j<RowCounter;j++) { 183 157 input.getline(filename, 1023); 184 158 std::stringstream lines(filename); … … 187 161 for(int k=skipcolumns;k--;) 188 162 lines >> filename; 189 for( int k=0;(k<ColumnCounter[MatrixNr]) && (!lines.eof());k++) {190 lines >> Matrix[MatrixNr][j][k];191 output << " " << std::setprecision(2) << Matrix[MatrixNr][j][k] << endl;163 for(size_t k=0;(k<ColumnCounter) && (!lines.eof());k++) { 164 lines >> temp_matrix[j][k]; 165 output << " " << std::setprecision(2) << temp_matrix[j][k] << endl; 192 166 } 193 167 LOG(3, output.str()); 194 168 } 195 169 196 return true; 197 }; 170 // finally add the matrix 171 return AddMatrix(header, temp_matrix, MatrixNr); 172 } 173 174 /** Adds a matrix at position \a MatrixNr to MatrixContainer::Matrix. 175 * 176 * @param header header to add for this matrix 177 * @param matrix to add 178 * @param MatrixNr position in MatrixContainer::Matrix. 179 * @return true - insertion ok, false - invalid matrix 180 */ 181 bool MatrixContainer::AddMatrix(const std::string &header, const MatrixArray &matrix, size_t MatrixNr) 182 { 183 // make some pre-checks 184 if (header.size() == 0) 185 ELOG(2, "The given header of the matrix to add is empty."); 186 if (matrix.size() == 0) { 187 ELOG(1, "RowCounter[" << MatrixNr << "]: " << RowCounter[MatrixNr] << " from input stream."); 188 return false; 189 } 190 if (matrix[0].size() == 0) { 191 ELOG(1, "ColumnCounter[" << MatrixNr << "]: " << ColumnCounter[MatrixNr] << " from ostream."); 192 return false; 193 } 194 195 // add header 196 if (Header.size() <= MatrixNr) 197 Header.resize(MatrixNr+1); 198 Header[MatrixNr] = header; 199 200 // row count 201 if (RowCounter.size() <= MatrixNr) 202 RowCounter.resize(MatrixNr+1); 203 RowCounter[MatrixNr] = matrix.size(); 204 LOG(4, "INFO: RowCounter[" << MatrixNr << "]: " << RowCounter[MatrixNr] << " from input stream."); 205 206 // column count 207 if (ColumnCounter.size() <= MatrixNr) 208 ColumnCounter.resize(MatrixNr+1); 209 ColumnCounter[MatrixNr] = matrix[0].size(); 210 LOG(4, "INFO: ColumnCounter[" << MatrixNr << "]: " << ColumnCounter[MatrixNr] << "."); 211 212 // allocate matrix ... 213 if (Matrix.size() <= MatrixNr) 214 Matrix.resize(MatrixNr+1); 215 MatrixCounter = Matrix.size()-1; 216 Matrix[MatrixNr].resize(RowCounter[MatrixNr] + 1); 217 for(int j=0;j<=RowCounter[MatrixNr];++j) 218 Matrix[MatrixNr][j].resize(ColumnCounter[MatrixNr]+1); 219 220 // .. and copy values 221 for(int j=0;j<RowCounter[MatrixNr];++j) 222 for(int k=0;k<ColumnCounter[MatrixNr];++k) 223 Matrix[MatrixNr][j][k] = matrix[j][k]; 224 // reset last column 225 for(int j=0;j<RowCounter[MatrixNr];++j) 226 Matrix[MatrixNr][j][ ColumnCounter[MatrixNr] ] = 0.; 227 // reset last row 228 for(int k=0;k<=ColumnCounter[MatrixNr];++k) 229 Matrix[MatrixNr][ RowCounter[MatrixNr] ][ k ] = 0.; 230 231 return true; 232 } 198 233 199 234 /** Parsing a number of matrices. -
src/Fragmentation/MatrixContainer.hpp
r0174b62 rbd81f9 41 41 bool InitialiseIndices(class MatrixContainer *Matrix = NULL); 42 42 bool ParseMatrix(std::istream &input, int skiplines, int skipcolumns, size_t MatrixNr); 43 bool AddMatrix(const std::string &header, const MatrixArray &matrix, size_t MatrixNr); 43 44 virtual bool ParseFragmentMatrix(const std::string name, const std::string prefix, std::string suffix, int skiplines, int skipcolumns); 44 45 bool AllocateMatrix(StringVector GivenHeader, int MCounter, IntVector RCounter, IntVector CCounter); -
src/Makefile.am
r0174b62 rbd81f9 8 8 BUILT_SOURCES = 9 9 bin_PROGRAMS = 10 EXTRA_DIST = 10 11 11 12 include Actions/Makefile.am … … 17 18 include Graph/Makefile.am 18 19 include Helpers/Makefile.am 20 21 if CONDJOBMARKET 22 include Jobs/Makefile.am 23 endif 24 19 25 include LinkedCell/Makefile.am 20 26 include Parameters/Makefile.am … … 24 30 include UIElements/Makefile.am 25 31 26 AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} 32 AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS} 27 33 AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 28 34 … … 247 253 248 254 249 INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements -I$(top_srcdir)/LinearAlgebra/src 255 INCLUDES = \ 256 -I$(top_srcdir)/src/unittests \ 257 -I$(top_srcdir)/src/Actions \ 258 -I$(top_srcdir)/src/UIElements \ 259 -I$(top_srcdir)/LinearAlgebra/src 250 260 251 261 libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER} 252 262 noinst_LIBRARIES = libmenu.a 253 bin_PROGRAMS += molecuilder joiner analyzer 263 bin_PROGRAMS += molecuilder joiner analyzer 254 264 EXTRA_PROGRAMS = unity 255 265 … … 287 297 288 298 289 molecuilder_C XXFLAGS = $(AM_CPPFLAGS)299 molecuilder_CPPFLAGS = $(AM_CPPFLAGS) 290 300 #molecuilder_CXXFLAGS += -DNO_CACHING 291 301 molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) … … 352 362 $(BOOST_THREAD_LIBS) 353 363 364 if CONDJOBMARKET 365 CONTROLLERSOURCE = \ 366 controller_MPQCCommandJob.cpp \ 367 ControllerOptions_MPQCCommandJob.cpp 368 369 CONTROLLERHEADER = \ 370 controller_MPQCCommandJob.hpp \ 371 ControllerOptions_MPQCCommandJob.hpp 372 373 374 noinst_LTLIBRARIES += libFragmentationAutomationController.la 375 libFragmentationAutomationController_la_includedir = $(includedir)/MoleCuilder/JobMarket 376 nobase_libFragmentationAutomationController_la_include_HEADERS = $(CONTROLLERHEADER) 377 libFragmentationAutomationController_la_SOURCES = $(CONTROLLERSOURCE) 378 libFragmentationAutomationController_la_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS) 379 libFragmentationAutomationController_la_LIBADD = \ 380 ${JobMarket_Controller_LIBS} \ 381 $(JobMarket_LIBS) 382 383 bin_PROGRAMS += Controller PoolWorker Server 384 385 Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp 386 Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS} 387 Controller_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS) 388 Controller_LDADD = \ 389 libFragmentationAutomationController.la \ 390 libMolecuilderJobs.la \ 391 libMolecuilderFragmentation.la \ 392 libMolecuilderHelpers.la \ 393 $(JobMarket_Controller_LIBS) \ 394 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 395 $(BOOST_PROGRAM_OPTIONS_LIBS) \ 396 ${CodePatterns_LIBS} 397 398 PoolWorker_SOURCES = poolworker.cpp 399 PoolWorker_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS} 400 PoolWorker_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS) 401 PoolWorker_LDADD = \ 402 libMolecuilderJobs.la \ 403 ${JobMarket_PoolWorker_LIBS} \ 404 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 405 ${CodePatterns_LIBS} 406 407 Server_SOURCES = Server.cpp 408 Server_LDFLAGS = $(AM_LDFLAGS) ${CodePatterns_LDFLAGS} 409 Server_CXXFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS) 410 Server_LDADD = \ 411 libMolecuilderJobs.la \ 412 ${JobMarket_Server_LIBS} \ 413 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 414 ${CodePatterns_LIBS} 415 endif 416 354 417 unity_SOURCES = unity.cpp 355 418 unity_CXXFLAGS = $(AM_CPPFLAGS) … … 374 437 fi 375 438 376 EXTRA_DIST = \439 EXTRA_DIST += \ 377 440 $(srcdir)/.git-version \ 378 441 $(bondtable_DATA) \ -
src/Tesselation/unittests/Tesselation_BoundaryTriangleUnitTest.cpp
r0174b62 rbd81f9 54 54 void TesselationBoundaryTriangleTest::createTriangle(const std::vector<Vector> &Vectors) 55 55 { 56 CPPUNIT_ASSERT_EQUAL( (size_t) 3, Vectors.size() );56 CPPUNIT_ASSERT_EQUAL( (size_t)NDIM, Vectors.size() ); 57 57 58 58 // create nodes … … 76 76 } 77 77 78 /** This cleanly removes a triangle created via createTriangle() from memory. 79 * 80 */ 81 void TesselationBoundaryTriangleTest::removeTriangle() 82 { 83 delete(triangle); 84 for (int i=0;i<NDIM;++i) { 85 // TesselPoint does not delete its vector as it only got a reference 86 delete tesselpoints[i]; 87 } 88 } 89 78 90 void TesselationBoundaryTriangleTest::setUp() 79 91 { … … 92 104 void TesselationBoundaryTriangleTest::tearDown() 93 105 { 94 delete(triangle); 95 for (int i=0;i<3;++i) { 96 // TesselPoint does not delete its vector as it only got a reference 97 delete tesselpoints[i]; 98 } 106 removeTriangle(); 99 107 logger::purgeInstance(); 100 108 errorLogger::purgeInstance(); … … 187 195 { 188 196 { 189 delete triangle;197 removeTriangle(); 190 198 // test is from --create-micelle 200 --radius 30. --position "0,0,0" of sles.data 191 199 // failure is: Intersection (23.1644,24.1867,65.1272) is not inside triangle [659|Na2451,O3652,Na3762]. … … 200 208 } 201 209 { 202 delete triangle;210 removeTriangle(); 203 211 // test is from --create-micelle 200 --radius 30. --position "0,0,0" of sles.data 204 212 // failure is: Intersection (20.6787,70.655,71.5657) is not inside triangle [622|Na1197,Na2166,O3366]. … … 214 222 } 215 223 { 216 delete triangle;224 removeTriangle(); 217 225 // test is from --create-micelle 200 --radius 30. --position "0,0,0" of sles.data 218 226 // failure is:Intersection (27.56537519896,13.40256646925,6.672946688134) is not inside triangle [702|Na5016,O6388,Na6498]. … … 254 262 } 255 263 256 delete triangle;264 removeTriangle(); 257 265 // create better triangle; 258 266 VECTORSET(std::vector) Vectors; … … 289 297 { 290 298 { 291 delete triangle;299 removeTriangle(); 292 300 // test is from --create-micelle 200 --radius 30. --position "0,0,0" of sles.data 293 301 // failure is:Intersection (27.56537519896,13.40256646925,6.672946688134) is not inside triangle [702|Na5016,O6388,Na6498]. -
src/Tesselation/unittests/Tesselation_BoundaryTriangleUnitTest.hpp
r0174b62 rbd81f9 52 52 private: 53 53 void createTriangle(const std::vector<Vector> &Vectors); 54 void removeTriangle(); 54 55 55 56 static const double SPHERERADIUS; -
src/UIElements/CommandLineUI/CommandLineDialog.cpp
r0174b62 rbd81f9 116 116 } 117 117 118 void CommandLineDialog::queryFiles(Parameter<std::vector< boost::filesystem::path> > ¶m, const char* title, std::string _description){ 119 registerQuery(new FilesCommandLineQuery(param, title, _description)); 120 } 121 118 122 void CommandLineDialog::queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> ¶m, const char* title, std::string _description){ 119 123 registerQuery(new RandomNumberDistribution_ParametersCommandLineQuery(param, title, _description)); -
src/UIElements/CommandLineUI/CommandLineDialog.hpp
r0174b62 rbd81f9 53 53 virtual void queryElements(Parameter<std::vector<const element *> > &, const char*, std::string = ""); 54 54 virtual void queryFile(Parameter<boost::filesystem::path> &, const char*, std::string = ""); 55 virtual void queryFiles(Parameter<std::vector< boost::filesystem::path> > &, const char*, std::string = ""); 55 56 virtual void queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> &, const char*, std::string = ""); 56 protected:57 57 // specialized stuff for command line queries 58 58 // all placed into Query/CommandLineQuery.hpp … … 67 67 class EmptyCommandLineQuery; 68 68 class FileCommandLineQuery; 69 class FilesCommandLineQuery; 69 70 class IntCommandLineQuery; 70 71 class IntsCommandLineQuery; -
src/UIElements/CommandLineUI/Query/CommandLineQuery.hpp
r0174b62 rbd81f9 157 157 }; 158 158 159 class CommandLineDialog::FilesCommandLineQuery : public Dialog::FilesQuery { 160 public: 161 FilesCommandLineQuery(Parameter<std::vector< boost::filesystem::path> > ¶m, std::string title, std::string _description = ""); 162 virtual ~FilesCommandLineQuery(); 163 virtual bool handle(); 164 }; 165 159 166 class CommandLineDialog::RandomNumberDistribution_ParametersCommandLineQuery : public Dialog::RandomNumberDistribution_ParametersQuery { 160 167 public: -
src/UIElements/Dialog.cpp
r0174b62 rbd81f9 212 212 } 213 213 214 template <> void Dialog::query< std::vector<boost::filesystem::path> >(Parameter<std::vector< boost::filesystem::path> > ¶m, const char *token, std::string description) 215 { 216 queryFiles(param, token, description); 217 } 218 214 219 template <> void Dialog::query< RandomNumberDistribution_Parameters >(Parameter<RandomNumberDistribution_Parameters> ¶m, const char *token, std::string description) 215 220 { -
src/UIElements/Dialog.hpp
r0174b62 rbd81f9 178 178 virtual void queryElements(Parameter<std::vector<const element *> > &, const char*, std::string = "")=0; 179 179 virtual void queryFile(Parameter<boost::filesystem::path> &, const char*, std::string = "")=0; 180 virtual void queryFiles(Parameter< std::vector<boost::filesystem::path> > &, const char*, std::string = "")=0; 180 181 virtual void queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> &, const char*, std::string = "")=0; 181 182 … … 463 464 }; 464 465 466 class FilesQuery : public Query { 467 public: 468 FilesQuery(Parameter<std::vector<boost::filesystem::path> > ¶m, std::string title, std::string _description = ""); 469 virtual ~FilesQuery(); 470 virtual bool handle()=0; 471 virtual void setResult(); 472 protected: 473 Parameter<std::vector<boost::filesystem::path> > &tmp; 474 }; 475 465 476 class RandomNumberDistribution_ParametersQuery : public Query { 466 477 public: -
src/UIElements/Makefile.am
r0174b62 rbd81f9 11 11 UIElements/CommandLineUI/Query/EmptyCommandLineQuery.cpp \ 12 12 UIElements/CommandLineUI/Query/FileCommandLineQuery.cpp \ 13 UIElements/CommandLineUI/Query/FilesCommandLineQuery.cpp \ 13 14 UIElements/CommandLineUI/Query/IntCommandLineQuery.cpp \ 14 15 UIElements/CommandLineUI/Query/IntsCommandLineQuery.cpp \ … … 80 81 UIElements/TextUI/Query/EmptyTextQuery.cpp \ 81 82 UIElements/TextUI/Query/FileTextQuery.cpp \ 83 UIElements/TextUI/Query/FilesTextQuery.cpp \ 82 84 UIElements/TextUI/Query/IntTextQuery.cpp \ 83 85 UIElements/TextUI/Query/IntsTextQuery.cpp \ … … 129 131 UIElements/Query/EmptyQuery.cpp \ 130 132 UIElements/Query/FileQuery.cpp \ 133 UIElements/Query/FilesQuery.cpp \ 131 134 UIElements/Query/IntQuery.cpp \ 132 135 UIElements/Query/IntsQuery.cpp \ … … 181 184 UIElements/Qt4/Query/EmptyQtQuery.cpp \ 182 185 UIElements/Qt4/Query/FileQtQuery.cpp \ 186 UIElements/Qt4/Query/FilesQtQuery.cpp \ 183 187 UIElements/Qt4/Query/IntQtQuery.cpp \ 184 188 UIElements/Qt4/Query/IntsQtQuery.cpp \ … … 256 260 lib_LTLIBRARIES += libMolecuilderUI.la 257 261 libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/UIElements/ 258 libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 259 libMolecuilderUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) 262 libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 263 if CONDJOBMARKET 264 libMolecuilderUI_la_CPPFLAGS += ${JobMarket_CFLAGS} 265 endif 266 libMolecuilderUI_la_LDFLAGS = \ 267 $(AM_LDFLAGS) \ 268 $(BOOST_FILESYSTEM_LDFLAGS) \ 269 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \ 270 $(BOOST_RANDOM_LDFLAGS) \ 271 $(BOOST_SERIALIZATION_LDFLAGS) 272 $(BOOST_SYSTEM_LDFLAGS) \ 273 $(BOOST_THREAD_LDFLAGS) 260 274 261 275 # NOTE: ActionPrototypes BEFORE Actions! … … 277 291 libMolecuilderHelpers.la \ 278 292 libMolecuilderElement.la \ 293 libMolecuilderJobs.la \ 279 294 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 280 libMolecuilderRandomNumbers.la \ 295 libMolecuilderRandomNumbers.la 296 if CONDJOBMARKET 297 libMolecuilderUI_la_LIBADD += ${JobMarket_Controller_LIBS} 298 endif 299 libMolecuilderUI_la_LIBADD += \ 281 300 ${CodePatterns_LIBS} \ 282 301 $(BOOST_SERIALIZATION_LIBS) \ … … 328 347 329 348 libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/ 330 libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 349 libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} 331 350 libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) 332 351 -
src/UIElements/Qt4/QtDialog.cpp
r0174b62 rbd81f9 175 175 } 176 176 177 void QtDialog::queryFiles(Parameter<std::vector< boost::filesystem::path> >¶m, const char* title, std::string) 178 { 179 registerQuery(new FilesQtQuery(param, title,inputLayout,this)); 180 } 181 177 182 void QtDialog::queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> ¶m, const char* title, std::string) 178 183 { -
src/UIElements/Qt4/QtDialog.hpp
r0174b62 rbd81f9 53 53 virtual void queryElements(Parameter<std::vector<const element *> > &, const char*,std::string = ""); 54 54 virtual void queryFile(Parameter<boost::filesystem::path> &, const char*,std::string = ""); 55 virtual void queryFiles(Parameter<std::vector< boost::filesystem::path> > &, const char*,std::string = ""); 55 56 virtual void queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> &, const char*,std::string = ""); 56 57 … … 70 71 class EmptyQtQuery; 71 72 class FileQtQuery; 73 class FilesQtQuery; 72 74 class IntQtQuery; 73 75 class IntsQtQuery; -
src/UIElements/Qt4/Query/QtQuery.hpp
r0174b62 rbd81f9 44 44 class EmptyQtQueryPipe; 45 45 class FileQtQueryPipe; 46 class FilesQtQueryPipe; 46 47 class IntQtQueryPipe; 47 48 class MoleculeQtQueryPipe; … … 196 197 }; 197 198 199 class QtDialog::FilesQtQuery : public Dialog::FilesQuery { 200 public: 201 FilesQtQuery(Parameter<std::vector< boost::filesystem::path> > ¶m, std::string _title, QBoxLayout *_parent, QtDialog *_dialog); 202 virtual ~FilesQtQuery(); 203 virtual bool handle(); 204 void IntegerEntered(const QString&); 205 void IntegerSelected(); 206 void AddInteger(); 207 void RemoveInteger(); 208 private: 209 QBoxLayout *parent; 210 QBoxLayout *thisLayout; 211 QLabel *titleLabel; 212 213 QtQueryListPipe<boost::filesystem::path> *pipe; 214 }; 215 198 216 class QtDialog::IntQtQuery : public Dialog::IntQuery { 199 217 public: -
src/UIElements/TextUI/Query/FileTextQuery.cpp
r0174b62 rbd81f9 48 48 std::cin.clear(); 49 49 std::cin.ignore(std::numeric_limits<streamsize>::max(),'\n'); 50 std::cout << "Input was not a number!" << std::endl;50 std::cout << "Input was not a file!" << std::endl; 51 51 continue; 52 52 } -
src/UIElements/TextUI/Query/TextQuery.hpp
r0174b62 rbd81f9 87 87 }; 88 88 89 class TextDialog::FilesTextQuery : public Dialog::FilesQuery { 90 public: 91 FilesTextQuery(Parameter<std::vector< boost::filesystem::path> > ¶m, std::string title, std::string _description = NULL); 92 virtual ~FilesTextQuery(); 93 virtual bool handle(); 94 }; 95 89 96 class TextDialog::IntTextQuery : public Dialog::IntQuery { 90 97 public: -
src/UIElements/TextUI/TextDialog.cpp
r0174b62 rbd81f9 114 114 } 115 115 116 void TextDialog::queryFiles(Parameter<std::vector< boost::filesystem::path> > ¶m, const char* title, std::string description){ 117 registerQuery(new FilesTextQuery(param, title,description)); 118 } 119 116 120 void TextDialog::queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> ¶m, const char* title, std::string description){ 117 121 registerQuery(new RandomNumberDistribution_ParametersTextQuery(param, title,description)); -
src/UIElements/TextUI/TextDialog.hpp
r0174b62 rbd81f9 51 51 virtual void queryElements(Parameter<std::vector<const element *> > &, const char*, std::string = ""); 52 52 virtual void queryFile(Parameter<boost::filesystem::path> &, const char*, std::string = ""); 53 virtual void queryFiles(Parameter<std::vector<boost::filesystem::path> > &, const char*, std::string = ""); 53 54 virtual void queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> &, const char*, std::string = ""); 54 55 … … 66 67 class EmptyTextQuery; 67 68 class FileTextQuery; 69 class FilesTextQuery; 68 70 class IntTextQuery; 69 71 class IntsTextQuery; -
src/unittests/Makefile.am
r0174b62 rbd81f9 15 15 include ../../src/Fragmentation/unittests/Makefile.am 16 16 include ../../src/Graph/unittests/Makefile.am 17 18 if CONDJOBMARKET 19 include ../../src/Jobs/unittests/Makefile.am 20 endif 21 17 22 include ../../src/LinkedCell/unittests/Makefile.am 18 23 include ../../src/Parameters/unittests/Makefile.am … … 24 29 include ../../src/UIElements/Menu/unittests/Makefile.am 25 30 26 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src 31 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src 27 32 28 33 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl … … 53 58 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \ 54 59 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \ 55 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) 60 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ 61 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) 56 62 57 63 GENERALLIBS = \ … … 134 140 ../libMolecuilderShapes.la \ 135 141 ../libMolecuilderHelpers.la \ 136 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la 142 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 143 ${CodePatterns_LIBS} 137 144 138 145 AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ -
tests/CodeChecks/Makefile.am
r0174b62 rbd81f9 60 60 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \ 61 61 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ 62 } >' $(srcdir)/package.m4'62 } >'package.m4' -
tests/CodeChecks/testsuite-globallistofactions_hpp.at
r0174b62 rbd81f9 23 23 if test $found -eq 0 24 24 then 25 AT_CHECK([grep " (${actionname})" ${abs_top_srcdir}/src/Actions/GlobalListOfActions.hpp], 0, [stdout], [ignore])25 AT_CHECK([grep "${actionname}" ${abs_top_srcdir}/src/Actions/GlobalListOfActions.hpp], 0, [stdout], [ignore]) 26 26 else 27 27 echo "excluded." -
tests/Fragmentations/Makefile.am
r0174b62 rbd81f9 8 8 joiner.in \ 9 9 molecuilder.in \ 10 $(srcdir)/package.m4 \10 package.m4 \ 11 11 $(srcdir)/Analyzing/heptan \ 12 12 $(srcdir)/Fragmenting/1_2-dimethoxyethane \ … … 155 155 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \ 156 156 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ 157 } >' $(srcdir)/package.m4'157 } >'package.m4' -
tests/Makefile.am
r0174b62 rbd81f9 11 11 endif 12 12 13 if CONDJOBMARKET 14 SUBDIRS += JobMarket 15 endif -
tests/Python/AllActions/options.dat
r0174b62 rbd81f9 70 70 fill-void "water.data" 71 71 fill-void "water.xyz" 72 fragment-executable "mpqc" 73 fragment-jobs "Job00.in" 72 74 fragment-molecule "./" 75 fragment-path "test/" 73 76 id-mapping "1" 74 77 input "test.data" … … 161 164 select-molecules-by-formula "H2O" 162 165 select-molecules-by-name "water" 166 server-address "127.0.0.1" 167 server-port "1026" 163 168 set-boundary-conditions "Wrap, Wrap, Wrap" 164 169 set-parser-parameters "basis = 4-31G" -
tests/Python/Makefile.am
r0174b62 rbd81f9 5 5 $(TESTSUITE) \ 6 6 atlocal.in \ 7 $(srcdir)/package.m4 \7 package.m4 \ 8 8 AllActions \ 9 9 BoxMaker \ … … 68 68 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \ 69 69 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ 70 } >' $(srcdir)/package.m4'70 } >'package.m4' -
tests/Tesselations/Makefile.am
r0174b62 rbd81f9 6 6 atlocal.in \ 7 7 molecuilder.in \ 8 $(srcdir)/package.m4 \8 package.m4 \ 9 9 $(srcdir)/1_2-dimethoxyethane \ 10 10 $(srcdir)/1_2-dimethylbenzene \ … … 83 83 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \ 84 84 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ 85 } >' $(srcdir)/package.m4'85 } >'package.m4' -
tests/regression/Fragmentation/testsuite-fragmentation.at
r0174b62 rbd81f9 1 AT_BANNER([MoleCuilder - Fragmentation and Re-fragmentation test])1 AT_BANNER([MoleCuilder - fragmentation tests]) 2 2 3 # fragment the molecule and check the number of configs3 # check fragmentation 4 4 m4_include([Fragmentation/FragmentMolecule/testsuite-fragmentation-fragment-molecule.at]) 5 5 -
tests/regression/Makefile.am
r0174b62 rbd81f9 6 6 atlocal.in \ 7 7 molecuilder.in \ 8 $(srcdir)/package.m4 \8 package.m4 \ 9 9 Analysis \ 10 10 Atoms \ … … 235 235 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \ 236 236 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ 237 } >' $(srcdir)/package.m4'237 } >'package.m4'
Note:
See TracChangeset
for help on using the changeset viewer.