Code organisation, splitted headers files in implementation files, as much as possible (impossible for templates functions, thank you C++)
This commit is contained in:
parent
0e56778327
commit
191b280371
10 changed files with 559 additions and 487 deletions
19
eo/src/mpi/eoMpiNode.cpp
Normal file
19
eo/src/mpi/eoMpiNode.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# include "eoMpiNode.h"
|
||||
|
||||
namespace eo
|
||||
{
|
||||
namespace mpi
|
||||
{
|
||||
void Node::init( int argc, char** argv )
|
||||
{
|
||||
static bmpi::environment env( argc, argv );
|
||||
}
|
||||
|
||||
bmpi::communicator& Node::comm()
|
||||
{
|
||||
return _comm;
|
||||
}
|
||||
|
||||
bmpi::communicator Node::_comm;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue