29template <
class T> std::unique_ptr<T> create(
const Mantid::Parallel::Communicator &comm) {
31 auto alg = std::make_unique<T>();
33 alg->setCommunicator(comm);
35 const auto &props = alg->getProperties();
36 for (
auto prop : props) {
38 if (prop->direction() == Kernel::Direction::Output && wsProp) {
39 if (prop->value().empty()) {
40 prop->createTemporaryValue();
An interface that is implemented by WorkspaceProperty.
Helper class which provides the Collimation Length for SANS instruments.