Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VMPIseedGenerator Class Referenceabstract

#include <G4VMPIseedGenerator.hh>

Inheritance diagram for G4VMPIseedGenerator:

Public Member Functions

 G4VMPIseedGenerator ()
 
virtual ~G4VMPIseedGenerator ()
 
void SetMasterSeed (G4long aseed)
 
G4long GetMasterSeed () const
 
const std::vector< G4long > & GetSeedList () const
 

Protected Member Functions

virtual void GenerateSeeds ()=0
 

Protected Attributes

G4long master_seed_
 
std::vector< G4longseed_list_
 

Detailed Description

Definition at line 34 of file G4VMPIseedGenerator.hh.

Constructor & Destructor Documentation

G4VMPIseedGenerator::G4VMPIseedGenerator ( )

Definition at line 31 of file G4VMPIseedGenerator.cc.

32  : master_seed_(123456789)
33 {
34 }
G4VMPIseedGenerator::~G4VMPIseedGenerator ( )
virtual

Definition at line 37 of file G4VMPIseedGenerator.cc.

38 {
39 }

Member Function Documentation

virtual void G4VMPIseedGenerator::GenerateSeeds ( )
protectedpure virtual

Implemented in G4MPIrandomSeedGenerator.

Here is the caller graph for this function:

G4long G4VMPIseedGenerator::GetMasterSeed ( ) const
inline

Definition at line 54 of file G4VMPIseedGenerator.hh.

55 {
56  return master_seed_;
57 }
const std::vector< G4long > & G4VMPIseedGenerator::GetSeedList ( ) const
inline

Definition at line 59 of file G4VMPIseedGenerator.hh.

60 {
61  return seed_list_;
62 }
std::vector< G4long > seed_list_
void G4VMPIseedGenerator::SetMasterSeed ( G4long  aseed)

Definition at line 42 of file G4VMPIseedGenerator.cc.

43 {
44  master_seed_ = aseed;
45  GenerateSeeds();
46 }
virtual void GenerateSeeds()=0

Here is the call graph for this function:

Member Data Documentation

G4long G4VMPIseedGenerator::master_seed_
protected

Definition at line 46 of file G4VMPIseedGenerator.hh.

std::vector<G4long> G4VMPIseedGenerator::seed_list_
protected

Definition at line 47 of file G4VMPIseedGenerator.hh.


The documentation for this class was generated from the following files: