preCICE
v3.1.2
Loading...
Searching...
No Matches
src
m2n
PointToPointComFactory.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
DistributedComFactory.hpp
"
4
#include "
com/SharedPointer.hpp
"
5
#include "
m2n/DistributedCommunication.hpp
"
6
#include "
mesh/SharedPointer.hpp
"
7
8
namespace
precice
{
9
namespace
m2n {
10
11
class
PointToPointComFactory
:
public
DistributedComFactory
{
12
13
public
:
14
explicit
PointToPointComFactory
(
com::PtrCommunicationFactory
comFactory);
15
16
DistributedCommunication::SharedPointer
newDistributedCommunication
(
17
mesh::PtrMesh
mesh);
18
19
private
:
21
com::PtrCommunicationFactory
_comFactory
;
22
};
23
24
}
// namespace m2n
25
}
// namespace precice
DistributedComFactory.hpp
DistributedCommunication.hpp
precice::m2n::DistributedComFactory
Definition
DistributedComFactory.hpp:9
precice::m2n::PointToPointComFactory
Definition
PointToPointComFactory.hpp:11
precice::m2n::PointToPointComFactory::PointToPointComFactory
PointToPointComFactory(com::PtrCommunicationFactory comFactory)
Definition
PointToPointComFactory.cpp:11
precice::m2n::PointToPointComFactory::_comFactory
com::PtrCommunicationFactory _comFactory
communication factory for 1:M communications
Definition
PointToPointComFactory.hpp:21
precice::m2n::PointToPointComFactory::newDistributedCommunication
DistributedCommunication::SharedPointer newDistributedCommunication(mesh::PtrMesh mesh)
Definition
PointToPointComFactory.cpp:15
SharedPointer.hpp
SharedPointer.hpp
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
std::shared_ptr< CommunicationFactory >