preCICE v3.1.1
Loading...
Searching...
No Matches
MPIPortsCommunicationFactory.cpp
Go to the documentation of this file.
1#ifndef PRECICE_NO_MPI
2
4#include <memory>
5#include <utility>
6
9
10namespace precice::com {
12 : _addressDirectory(std::move(addressDirectory))
13{
16 }
17}
18
20{
21 return std::make_shared<MPIPortsCommunication>(_addressDirectory);
22}
23
28} // namespace precice::com
29
30#endif // not PRECICE_NO_MPI
MPIPortsCommunicationFactory(std::string addressDirectory=".")
T empty(T... args)
contains the data communication abstraction layer.
STL namespace.