Mantid
Loading...
Searching...
No Matches
ParallelAlgorithm.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
32class MANTID_API_DLL ParallelAlgorithm : public API::Algorithm {
33protected:
34 ~ParallelAlgorithm() = default;
35 Parallel::ExecutionMode
36 getParallelExecutionMode(const std::map<std::string, Parallel::StorageMode> &storageModes) const override;
37};
38
39} // namespace API
40} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Base class for algorithms that can run in parallel on all MPI ranks but not in a distributed fashion.
Helper class which provides the Collimation Length for SANS instruments.