Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
8ace3ea4
Commit
8ace3ea4
authored
Dec 28, 2019
by
Praetorius, Simon
Browse files
communicator construction
parent
7c678ccb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/functions/ParallelGlobalBasis.hpp
View file @
8ace3ea4
...
...
@@ -86,12 +86,7 @@ namespace AMDiS
ParallelGlobalBasis
(
std
::
string
const
&
name
,
Grid
const
&
grid
,
Args
&&
...
args
)
:
Super
(
FWD
(
args
)...)
,
Observer
<
event
::
adapt
>
(
grid
)
,
comm_
([
&
]()
{
// need to call initialize, before it can be passed to the constructor of
// a communicator.
Super
::
preBasis
().
initializeIndices
();
return
CommunicationCreator
<
Comm
>::
create
(
static_cast
<
Super
const
&>
(
*
this
),
name
+
"->solver"
);
}())
,
comm_
(
CommunicationCreator
<
Comm
>::
create
(
static_cast
<
Super
const
&>
(
*
this
),
name
+
"->solver"
))
{}
/// Construct this global basis with empty name
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment