Skip to content
Snippets Groups Projects
Commit 749e67b7 authored by Simon Heybrock's avatar Simon Heybrock
Browse files

Re #21181. Non-distributed MPI support for CalculateFlatBackground.

parent ef7c64d5
No related branches found
No related tags found
No related merge requests found
#ifndef MANTID_ALGORITHMS_CALCULATEFLATBACKGROUND_H_ #ifndef MANTID_ALGORITHMS_CALCULATEFLATBACKGROUND_H_
#define MANTID_ALGORITHMS_CALCULATEFLATBACKGROUND_H_ #define MANTID_ALGORITHMS_CALCULATEFLATBACKGROUND_H_
//---------------------------------------------------------------------- #include "MantidAPI/ParallelAlgorithm.h"
// Includes
//----------------------------------------------------------------------
#include "MantidAPI/Algorithm.h"
namespace Mantid { namespace Mantid {
namespace HistogramData { namespace HistogramData {
...@@ -53,13 +50,8 @@ namespace Algorithms { ...@@ -53,13 +50,8 @@ namespace Algorithms {
File change history is stored at: <https://github.com/mantidproject/mantid> File change history is stored at: <https://github.com/mantidproject/mantid>
Code Documentation is available at: <http://doxygen.mantidproject.org> Code Documentation is available at: <http://doxygen.mantidproject.org>
*/ */
class DLLExport CalculateFlatBackground : public API::Algorithm { class DLLExport CalculateFlatBackground : public API::ParallelAlgorithm {
public: public:
/// (Empty) Constructor
CalculateFlatBackground() : API::Algorithm() {}
/// Virtual destructor
~CalculateFlatBackground() = default;
/// Algorithm's name /// Algorithm's name
const std::string name() const override { return "CalculateFlatBackground"; } const std::string name() const override { return "CalculateFlatBackground"; }
/// Summary of algorithms purpose /// Summary of algorithms purpose
......
...@@ -457,6 +457,7 @@ Algorithm Supported modes Comments ...@@ -457,6 +457,7 @@ Algorithm Supported modes Comments
BinaryOperation all not supported if ``AllowDifferentNumberSpectra`` is enabled BinaryOperation all not supported if ``AllowDifferentNumberSpectra`` is enabled
CalculateChiSquared MasterOnly, Identical see ``IFittingAlgorithm`` CalculateChiSquared MasterOnly, Identical see ``IFittingAlgorithm``
CalculateCostFunction MasterOnly, Identical see ``IFittingAlgorithm`` CalculateCostFunction MasterOnly, Identical see ``IFittingAlgorithm``
CalculateFlatBackground MasterOnly, Identical
CalculateTransmission MasterOnly, Identical CalculateTransmission MasterOnly, Identical
CloneWorkspace all CloneWorkspace all
CompressEvents all CompressEvents all
......
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