preCICE
v3.1.2
Loading...
Searching...
No Matches
src
m2n
GatherScatterComFactory.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
class
GatherScatterComFactory
:
public
DistributedComFactory
{
11
public
:
12
GatherScatterComFactory
(
com::PtrCommunication
intraComm);
13
14
DistributedCommunication::SharedPointer
newDistributedCommunication
(
15
mesh::PtrMesh
mesh);
16
17
private
:
19
com::PtrCommunication
_intraComm
;
20
};
21
}
// namespace m2n
22
}
// namespace precice
DistributedComFactory.hpp
DistributedCommunication.hpp
precice::m2n::DistributedComFactory
Definition
DistributedComFactory.hpp:9
precice::m2n::GatherScatterComFactory
Definition
GatherScatterComFactory.hpp:10
precice::m2n::GatherScatterComFactory::GatherScatterComFactory
GatherScatterComFactory(com::PtrCommunication intraComm)
Definition
GatherScatterComFactory.cpp:8
precice::m2n::GatherScatterComFactory::newDistributedCommunication
DistributedCommunication::SharedPointer newDistributedCommunication(mesh::PtrMesh mesh)
Definition
GatherScatterComFactory.cpp:15
precice::m2n::GatherScatterComFactory::_intraComm
com::PtrCommunication _intraComm
communication between the primary processes
Definition
GatherScatterComFactory.hpp:19
SharedPointer.hpp
SharedPointer.hpp
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
std::shared_ptr< Communication >