g4tools
5.4.0
g4tools
tools
histo
hmpi
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_histo_hmpi
5
#define tools_histo_hmpi
6
7
namespace
tools
{
8
namespace
histo {
9
class
h1d;
10
class
h2d;
11
class
h3d;
12
class
p1d;
13
class
p2d;
14
}}
15
16
#include <string>
17
#include <vector>
18
19
namespace
tools
{
20
namespace
histo {
21
22
class
hmpi
{
23
public
:
24
virtual
~hmpi
(){}
25
public
:
26
virtual
bool
pack
(
const
h1d
&) = 0;
27
virtual
bool
pack
(
const
h2d
&) = 0;
28
virtual
bool
pack
(
const
h3d
&) = 0;
29
virtual
bool
pack
(
const
p1d
&) = 0;
30
virtual
bool
pack
(
const
p2d
&) = 0;
31
32
virtual
bool
beg_send
(
unsigned
int
/*a_nhist*/
) = 0;
33
virtual
bool
send
(
int
/*a_dest*/
) = 0;
34
35
virtual
bool
wait_histos
(
int
/*a_src*/
,std::vector< std::pair<std::string,void*> >&
/*a_hists*/
) = 0;
36
37
virtual
int
rank
()
const
= 0;
38
virtual
bool
comm_rank
(
int
&)
const
= 0;
39
virtual
bool
comm_size
(
int
&)
const
= 0;
40
};
41
42
}}
43
44
#endif
tools::histo::p1d
Definition:
p1d:12
tools::histo::hmpi::wait_histos
virtual bool wait_histos(int, std::vector< std::pair< std::string, void * > > &)=0
tools::histo::hmpi::pack
virtual bool pack(const h2d &)=0
tools::histo::h1d
Definition:
h1d:14
tools::histo::hmpi::pack
virtual bool pack(const h1d &)=0
tools::histo::p2d
Definition:
p2d:12
tools::histo::hmpi::rank
virtual int rank() const =0
tools::histo::h2d
Definition:
h2d:12
tools::histo::hmpi::send
virtual bool send(int)=0
tools::histo::hmpi::pack
virtual bool pack(const p1d &)=0
tools::histo::hmpi::comm_size
virtual bool comm_size(int &) const =0
tools::histo::hmpi::beg_send
virtual bool beg_send(unsigned int)=0
tools::histo::hmpi
Definition:
hmpi:22
tools
inlined C code : ///////////////////////////////////
Definition:
aida_ntuple:26
tools::histo::hmpi::comm_rank
virtual bool comm_rank(int &) const =0
tools::histo::hmpi::pack
virtual bool pack(const p2d &)=0
tools::histo::h3d
Definition:
h3d:12
tools::histo::hmpi::~hmpi
virtual ~hmpi()
Definition:
hmpi:24
tools::histo::hmpi::pack
virtual bool pack(const h3d &)=0
Generated by
1.8.20