MUQ  0.4.3
ParallelizableMIComponentFactory.h
Go to the documentation of this file.
1 #ifndef PARALLELIZABLEMICOMPONENTFACTORY_H_
2 #define PARALLELIZABLEMICOMPONENTFACTORY_H_
3 
4 #include "MUQ/config.h"
5 
6 #if MUQ_HAS_MPI
7 
9 
10 #if !MUQ_HAS_PARCER
11 #error
12 #endif
13 
14 
15 namespace muq {
16  namespace SamplingAlgorithms {
17 
26  public:
27  virtual void SetComm(std::shared_ptr<parcer::Communicator> const& comm) = 0;
28  };
29 
30  }
31 }
32 
33 #endif
34 
35 #endif
Interface defining models on a multiindex structure.
MIComponentFactory subclass allowing a communicator to be passed.
virtual void SetComm(std::shared_ptr< parcer::Communicator > const &comm)=0