Skip to content
Snippets Groups Projects
Commit 68cb6c96 authored by Lynch, Vickie's avatar Lynch, Vickie
Browse files

Refs #13350 add systemTests to cmake

parent 988ef562
No related merge requests found
......@@ -23,7 +23,7 @@ include_directories( ${Boost_INCLUDE_DIRS} )
# Add a definition that's used to guard MPI-specific parts of the main code
add_definitions ( -DMPI_BUILD )
#add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/Testing/SystemTests/scripts )
add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/Testing/SystemTests/scripts )
# Add the ability to build a 'mantid-mpi' rpm
set ( CPACK_PACKAGE_NAME mantid-mpi )
......
......@@ -92,15 +92,10 @@ protected:
/// Add a matrix workspace to another matrix workspace
MatrixWorkspace_sptr plus(const MatrixWorkspace_sptr lhs,
const MatrixWorkspace_sptr rhs);
/// Add a single value to a matrix workspace
MatrixWorkspace_sptr plus(const MatrixWorkspace_sptr lhs,
const double &rhsValue);
/// Add a matrix workspace to another matrix workspace
MatrixWorkspace_sptr plus2(MatrixWorkspace_sptr lhs,
MatrixWorkspace_sptr rhs);
/// Subract a matrix workspace by another matrix workspace
MatrixWorkspace_sptr minus(const MatrixWorkspace_sptr lhs,
const MatrixWorkspace_sptr rhs);
......
......@@ -477,20 +477,6 @@ DataProcessorAlgorithm::plus(const MatrixWorkspace_sptr lhs,
"Plus", lhs, rhs);
}
/**
* Add a matrix workspace to another matrix workspace
* @param lhs :: the workspace on the left hand side of the addition symbol
* @param rhs :: the workspace on the right hand side of the addition symbol
* @return matrix workspace resulting from the operation
*/
MatrixWorkspace_sptr
DataProcessorAlgorithm::plus2(MatrixWorkspace_sptr lhs,
MatrixWorkspace_sptr rhs) {
return this->executeBinaryAlgorithm<
MatrixWorkspace_sptr, MatrixWorkspace_sptr, MatrixWorkspace_sptr>(
"Plus", lhs, rhs);
}
/**
* Add a single value to another matrix workspace
* @param lhs :: the workspace on the left hand side of the addition symbol
......
......@@ -70,11 +70,11 @@ void GatherWorkspaces::init() {
// Output is optional - only the root process will output a workspace
declareProperty(new WorkspaceProperty<>(
"OutputWorkspace", "", Direction::Output, PropertyMode::Optional));
declareProperty("PreserveEvents", true,
declareProperty("PreserveEvents", false,
"Keep the output workspace as an EventWorkspace, if the "
"input has events (default).\n"
"input has events.\n"
"If false, then the workspace gets converted to a "
"Workspace2D histogram.");
"Workspace2D histogram(default to save memory for reduced data)");
std::vector<std::string> propOptions;
propOptions.push_back("Add");
// propOptions.push_back("Replace");
......
......@@ -213,7 +213,7 @@ void LoadEventAndCompress::exec() {
for (size_t i = 1; i < numRows; ++i) {
MatrixWorkspace_sptr temp = loadChunk(i);
temp = processChunk(temp);
resultWS = plus2(resultWS,temp);
resultWS = plus(resultWS,temp);
}
Workspace_sptr total = assemble(resultWS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment