16 #ifndef SST_CORE_CORETEST_RNGCOMPONENT_H 
   17 #define SST_CORE_CORETEST_RNGCOMPONENT_H 
   19 #include "sst/core/component.h" 
   20 #include "sst/core/rng/sstrng.h" 
   23 using namespace SST::RNG;
 
   26 namespace CoreTestRNGComponent {
 
   32     SST_ELI_REGISTER_COMPONENT(
 
   35         "coreTestRNGComponent",
 
   36         SST_ELI_ELEMENT_VERSION(1,0,0),
 
   37         "Random number generation component",
 
   38         COMPONENT_CATEGORY_UNCATEGORIZED
 
   41     SST_ELI_DOCUMENT_PARAMS(
 
   42         { 
"seed_w",  
"The seed to use for the random number generator", 
"7" },
 
   43         { 
"seed_z",  
"The seed to use for the random number generator", 
"5" },
 
   44         { 
"seed",    
"The seed to use for the random number generator.", 
"11" },
 
   45         { 
"rng",     
"The random number generator to use (Marsaglia or Mersenne), default is Mersenne", 
"Mersenne"},
 
   46         { 
"count",   
"The number of random numbers to generate, default is 1000", 
"1000" },
 
   47         { 
"verbose", 
"Sets the output verbosity of the component", 
"0" }
 
   51     SST_ELI_DOCUMENT_STATISTICS(
 
   55     SST_ELI_DOCUMENT_PORTS(
 
   59     SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
 
   72     virtual bool tick(SST::Cycle_t);
 
   84 #endif // SST_CORE_CORETEST_RNGCOMPONENT_H 
Output object provides consistent method for outputting data to stdout, stderr and/or sst debug file...
Definition: output.h:51
Implements the base class for random number generators for the SST core. 
Definition: rng.h:27
Main component object for the simulation. 
Definition: component.h:30
void setup()
Called after all components have been constructed and initialization has  completed, but before simulation time has begun. 
Definition: coreTest_RNGComponent.h:64
void finish()
Called after simulation completes, but before objects are destroyed. 
Definition: coreTest_RNGComponent.h:65
Parameter store. 
Definition: params.h:43
Definition: coreTest_RNGComponent.h:28