preCICE
v3.1.2
Loading...
Searching...
No Matches
src
m2n
DistributedComFactory.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
DistributedCommunication.hpp
"
4
5
#include <
memory
>
6
7
namespace
precice
{
8
namespace
m2n {
9
class
DistributedComFactory
{
10
11
public
:
12
using
SharedPointer
=
std::shared_ptr<DistributedComFactory>
;
13
14
virtual
~DistributedComFactory
(){};
15
16
virtual
DistributedCommunication::SharedPointer
newDistributedCommunication
(
17
mesh::PtrMesh
mesh) = 0;
18
};
19
}
// namespace m2n
20
}
// namespace precice
DistributedCommunication.hpp
precice::m2n::DistributedComFactory
Definition
DistributedComFactory.hpp:9
precice::m2n::DistributedComFactory::newDistributedCommunication
virtual DistributedCommunication::SharedPointer newDistributedCommunication(mesh::PtrMesh mesh)=0
precice::m2n::DistributedComFactory::~DistributedComFactory
virtual ~DistributedComFactory()
Definition
DistributedComFactory.hpp:14
memory
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
std::shared_ptr< DistributedComFactory >