Skip to content
Snippets Groups Projects
Commit ec3a3b44 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/communicator_construction' into 'master'

communicator construction

See merge request !140
parents 7c678ccb 8ace3ea4
No related branches found
No related tags found
1 merge request!140communicator construction
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment