Mantid
Loading...
Searching...
No Matches
SerialAlgorithm.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2017 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include "MantidAPI/DllConfig.h"
11
12namespace Mantid {
13namespace API {
14
34class MANTID_API_DLL SerialAlgorithm : public API::Algorithm {
35protected:
36 Parallel::ExecutionMode
37 getParallelExecutionMode(const std::map<std::string, Parallel::StorageMode> &storageModes) const override;
38 ~SerialAlgorithm() = default;
39};
40
41} // namespace API
42} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Base class for algorithms that can only run serially (Parallel::ExecutionMode::MasterOnly) in an MPI ...
Helper class which provides the Collimation Length for SANS instruments.