Loading...
Searching...
No Matches
Classes | Macros
G4MPImessenger.hh File Reference

Define MPI commands. More...

#include "G4UImessenger.hh"

Go to the source code of this file.

Classes

class  G4MPImessenger
 

Macros

#define DISALLOW_COPY_AND_ASSIGN(TypeName)
 

Detailed Description

Define MPI commands.

Definition in file G4MPImessenger.hh.

Macro Definition Documentation

◆ DISALLOW_COPY_AND_ASSIGN

#define DISALLOW_COPY_AND_ASSIGN (   TypeName)
Value:
TypeName(const TypeName&); \
void operator=(const TypeName&)

Definition at line 33 of file G4MPImessenger.hh.

44 : public G4UImessenger {
45public:
48
49 virtual void SetNewValue(G4UIcommand* command, G4String newValue);
50 virtual G4String GetCurrentValue(G4UIcommand* command);
51
52 void SetTargetObject(G4MPImanager* mpi_manager);
53
54private:
56
57 G4MPImanager* g4mpi_;
58
59 // /mpi
60 G4UIdirectory* dir_;
61
62 G4UIcmdWithAnInteger* verbose_;
64
65 G4UIcmdWithAString* execute_;
66
67 G4UIcommand* beam_on_;
68 G4UIcommand* dot_beam_on_;
69 G4UIcmdWithADouble* master_weight_;
70
71 G4UIcmdWithoutParameter* show_seeds_;
72 G4UIcmdWithAnInteger* set_master_seed_;
73 G4UIcommand* set_seed_;
74};
75
76// ====================================================================
77inline void G4MPImessenger::SetTargetObject(G4MPImanager* mpi_manager)
78{
79 g4mpi_ = mpi_manager;
80}
81
82#endif
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
G4MPImanager * g4mpi_
void SetTargetObject(G4MPImanager *mpi_manager)

Applications | User Support | Publications | Collaboration