preCICE
v3.2.0
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
h
i
m
n
p
r
s
t
Typedefs
b
d
e
g
l
m
p
r
s
t
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
i
k
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
c
d
e
i
l
m
n
o
r
s
u
v
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
g
i
j
m
n
o
p
r
s
t
v
Functions
a
b
c
g
m
p
r
s
t
v
Variables
Typedefs
Macros
b
d
m
n
p
t
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
src
acceleration
test
helper.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
memory
>
4
5
#include "
cplscheme/CouplingData.hpp
"
6
#include "
cplscheme/SharedPointer.hpp
"
7
#include "
mesh/SharedPointer.hpp
"
8
9
namespace
precice::testing
{
10
inline
cplscheme::PtrCouplingData
makeCouplingData
(
mesh::PtrData
data,
mesh::PtrMesh
mesh,
bool
exchangeSubsteps)
11
{
12
bool
requiresInitialization =
false
;
13
return
std::make_shared<cplscheme::CouplingData>
(std::move(data), std::move(mesh), requiresInitialization, exchangeSubsteps,
cplscheme::CouplingData::Direction::Send
);
14
}
10
inline
cplscheme::PtrCouplingData
makeCouplingData
(
mesh::PtrData
data,
mesh::PtrMesh
mesh,
bool
exchangeSubsteps) {
…
}
15
}
// namespace precice::testing
9
namespace
precice::testing
{
…
}
CouplingData.hpp
precice::cplscheme::CouplingData::Direction::Send
@ Send
SharedPointer.hpp
std::make_unique
T make_unique(T... args)
memory
SharedPointer.hpp
precice::testing
contains the testing framework.
Definition
helper.hpp:9
precice::testing::makeCouplingData
cplscheme::PtrCouplingData makeCouplingData(mesh::PtrData data, mesh::PtrMesh mesh, bool exchangeSubsteps)
Definition
helper.hpp:10
std::shared_ptr< CouplingData >