Files
geant4/source/externals/g4tools/include/tools/impi_world
T
2021-06-25 16:12:29 +02:00

24 lines
445 B
Plaintext

// Copyright (C) 2010, Guy Barrand. All rights reserved.
// See the file tools.license for terms.
#ifndef tools_impi_world
#define tools_impi_world
#include <string>
namespace tools {
class impi_world {
public:
virtual ~impi_world(){}
public:
virtual bool init(int*,char***) = 0;
virtual bool rank(int& a_rank) const = 0;
virtual bool size(int& a_size) const = 0;
virtual bool processor_name(std::string&) const = 0;
};
}
#endif