26 #ifndef G4MPIRUNMERGER_HH
27 #define G4MPIRUNMERGER_HH
46 virtual void Pack() = 0;
49 void InputUserData(
void* input_data ,
const MPI::Datatype& dt,
int count) {
75 void Send(
const unsigned int destination);
76 void Receive(
const unsigned int source);
114 #endif //G4MPIRUNMERGER_HH
void InputUserData(void *input_data, const MPI::Datatype &dt, int count)
void Receive(const unsigned int source)
void SetDestinationRank(G4int i)
void SetupOutputBuffer(char *buff, G4int size, G4int position)
G4int GetBufferSize() const
G4int outputBufferPosition
unsigned int destinationRank
const_registered_data & operator=(const const_registered_data &)=default
void OutputUserData(void *input_data, const MPI::Datatype &dt, int count)
virtual G4Run * UnPack()=0
G4int GetPosition() const
void SetVerbosity(G4int ver)
const_registered_data(const const_registered_data &)=default
void Send(const unsigned int destination)
virtual ~G4VUserMPIrunMerger()
registered_data(const registered_data &)=default
MPI::Intracomm COMM_G4COMMAND_
std::vector< const_registered_data > input_userdata
std::vector< registered_data > output_userdata
registered_data & operator=(const registered_data &)=default