g4tools  5.4.0
impi_world
Go to the documentation of this file.
1 // Copyright (C) 2010, Guy Barrand. All rights reserved.
2 // See the file tools.license for terms.
3 
4 #ifndef tools_impi_world
5 #define tools_impi_world
6 
7 #include <string>
8 
9 namespace tools {
10 
11 class impi_world {
12 public:
13  virtual ~impi_world(){}
14 public:
15  virtual bool init(int*,char***) = 0;
16  virtual bool rank(int& a_rank) const = 0;
17  virtual bool size(int& a_size) const = 0;
18  virtual bool processor_name(std::string&) const = 0;
19 };
20 
21 }
22 
23 #endif
tools::impi_world::processor_name
virtual bool processor_name(std::string &) const =0
tools::impi_world::rank
virtual bool rank(int &a_rank) const =0
tools::impi_world::size
virtual bool size(int &a_size) const =0
tools::impi_world::init
virtual bool init(int *, char ***)=0
tools::impi_world::~impi_world
virtual ~impi_world()
Definition: impi_world:13
tools
inlined C code : ///////////////////////////////////
Definition: aida_ntuple:26
tools::impi_world
Definition: impi_world:11