preCICE
v3.1.2
Loading...
Searching...
No Matches
src
com
MPISinglePortsCommunicationFactory.hpp
Go to the documentation of this file.
1
#ifndef PRECICE_NO_MPI
2
3
#pragma once
4
5
#include "
CommunicationFactory.hpp
"
6
#include "
com/SharedPointer.hpp
"
7
8
#include <
string
>
9
10
namespace
precice
{
11
namespace
com {
12
class
MPISinglePortsCommunicationFactory
:
public
CommunicationFactory
{
13
public
:
14
explicit
MPISinglePortsCommunicationFactory
(
std::string
addressDirectory
=
"."
);
15
16
PtrCommunication
newCommunication
()
override
;
17
18
std::string
addressDirectory
()
override
;
19
20
private
:
21
std::string
_addressDirectory
;
22
};
23
}
// namespace com
24
}
// namespace precice
25
26
#endif
// not PRECICE_NO_MPI
CommunicationFactory.hpp
std::string
precice::com::CommunicationFactory
Definition
CommunicationFactory.hpp:9
precice::com::MPISinglePortsCommunicationFactory
Definition
MPISinglePortsCommunicationFactory.hpp:12
precice::com::MPISinglePortsCommunicationFactory::addressDirectory
std::string addressDirectory() override
Definition
MPISinglePortsCommunicationFactory.cpp:24
precice::com::MPISinglePortsCommunicationFactory::newCommunication
PtrCommunication newCommunication() override
Definition
MPISinglePortsCommunicationFactory.cpp:19
precice::com::MPISinglePortsCommunicationFactory::MPISinglePortsCommunicationFactory
MPISinglePortsCommunicationFactory(std::string addressDirectory=".")
Definition
MPISinglePortsCommunicationFactory.cpp:11
precice::com::MPISinglePortsCommunicationFactory::_addressDirectory
std::string _addressDirectory
Definition
MPISinglePortsCommunicationFactory.hpp:21
SharedPointer.hpp
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
std::shared_ptr< Communication >
string