preCICE
v3.1.2
Loading...
Searching...
No Matches
src
com
MPIPortsCommunicationFactory.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
MPIPortsCommunicationFactory
:
public
CommunicationFactory
{
13
public
:
14
explicit
MPIPortsCommunicationFactory
(
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::MPIPortsCommunicationFactory
Definition
MPIPortsCommunicationFactory.hpp:12
precice::com::MPIPortsCommunicationFactory::_addressDirectory
std::string _addressDirectory
Definition
MPIPortsCommunicationFactory.hpp:21
precice::com::MPIPortsCommunicationFactory::addressDirectory
std::string addressDirectory() override
Definition
MPIPortsCommunicationFactory.cpp:24
precice::com::MPIPortsCommunicationFactory::MPIPortsCommunicationFactory
MPIPortsCommunicationFactory(std::string addressDirectory=".")
Definition
MPIPortsCommunicationFactory.cpp:11
precice::com::MPIPortsCommunicationFactory::newCommunication
PtrCommunication newCommunication() override
Definition
MPIPortsCommunicationFactory.cpp:19
SharedPointer.hpp
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
std::shared_ptr< Communication >
string