#include <Doxymodules_parallel.h>
Definition at line 69 of file Doxymodules_parallel.h.
◆ anonymous enum
◆ G4MPIstatus()
G4MPIstatus::G4MPIstatus |
( |
| ) |
|
Definition at line 32 of file G4MPIstatus.cc.
35{
37}
G4ApplicationState g4state_
G4int nevent_to_be_processed_
◆ ~G4MPIstatus()
G4MPIstatus::~G4MPIstatus |
( |
| ) |
|
◆ SetStatus()
void G4MPIstatus::SetStatus |
( |
G4int |
arank, |
|
|
G4int |
runid, |
|
|
G4int |
noe, |
|
|
G4int |
evtid, |
|
|
G4ApplicationState |
state |
|
) |
| |
◆ GetRank()
G4int G4MPIstatus::GetRank |
( |
| ) |
const |
|
inline |
◆ GetRunID()
G4int G4MPIstatus::GetRunID |
( |
| ) |
const |
|
inline |
◆ GetNEventToBeProcessed()
G4int G4MPIstatus::GetNEventToBeProcessed |
( |
| ) |
const |
|
inline |
◆ GetEventID()
G4int G4MPIstatus::GetEventID |
( |
| ) |
const |
|
inline |
◆ GetCPUTime()
G4double G4MPIstatus::GetCPUTime |
( |
| ) |
const |
|
inline |
◆ GetG4State()
G4ApplicationState G4MPIstatus::GetG4State |
( |
| ) |
const |
|
inline |
◆ SizeOf()
G4int G4MPIstatus::SizeOf |
( |
| ) |
const |
|
inline |
◆ Pack()
void G4MPIstatus::Pack |
( |
G4int * |
data | ) |
const |
Definition at line 71 of file G4MPIstatus.cc.
72{
78
79 G4double* ddata = (G4double*)(data+5);
81}
◆ UnPack()
void G4MPIstatus::UnPack |
( |
G4int * |
data | ) |
|
Definition at line 84 of file G4MPIstatus.cc.
85{
90 g4state_ = (G4ApplicationState)data[4];
91
92 G4double* ddata = (G4double*)(data+5);
94}
◆ StartTimer()
void G4MPIstatus::StartTimer |
( |
| ) |
|
◆ StopTimer()
void G4MPIstatus::StopTimer |
( |
| ) |
|
◆ Print()
void G4MPIstatus::Print |
( |
| ) |
const |
Definition at line 97 of file G4MPIstatus.cc.
98{
99
100 G4cout <<
"* rank= " <<
rank_
105 << G4endl;
106}
G4String GetStateString(G4ApplicationState astate) const
◆ GetStateString()
G4String G4MPIstatus::GetStateString |
( |
G4ApplicationState |
astate | ) |
const |
|
private |
Definition at line 109 of file G4MPIstatus.cc.
110{
112
113 switch(astate) {
114 case G4State_PreInit:
115 sname = "PreInit";
116 break;
117 case G4State_Init:
118 sname = "Init";
119 break;
120 case G4State_Idle:
121 sname = "Idle";
122 break;
123 case G4State_GeomClosed:
124 sname = "GeomClosed";
125 break;
126 case G4State_EventProc:
127 sname = "EventProc";
128 break;
129 case G4State_Quit:
130 sname = "Quit";
131 break;
132 case G4State_Abort:
133 sname = "Abort";
134 break;
135 default:
136 sname = "Unknown";
137 break;
138 }
139
140 return sname;
141}
◆ rank_
◆ run_id_
G4int G4MPIstatus::run_id_ |
|
private |
◆ nevent_to_be_processed_
G4int G4MPIstatus::nevent_to_be_processed_ |
|
private |
◆ event_id_
G4int G4MPIstatus::event_id_ |
|
private |
◆ cputime_
G4double G4MPIstatus::cputime_ |
|
private |
◆ g4state_
G4ApplicationState G4MPIstatus::g4state_ |
|
private |
◆ timer_
The documentation for this class was generated from the following files: