16 #ifndef SST_CORE_CORETEST_LOOKUPTABLECOMPONENT_H
17 #define SST_CORE_CORETEST_LOOKUPTABLECOMPONENT_H
19 #include "sst/core/component.h"
20 #include "sst/core/output.h"
21 #include "sst/core/sharedRegion.h"
24 namespace CoreTestLookupTableComponent {
30 SST_ELI_REGISTER_COMPONENT(
33 "coreTestLookupTableComponent",
34 SST_ELI_ELEMENT_VERSION(1,0,0),
35 "Demonstrates using a Shared Lookup Table",
36 COMPONENT_CATEGORY_UNCATEGORIZED
39 SST_ELI_DOCUMENT_PARAMS(
40 {
"filename",
"Filename to load as the table",
""},
41 {
"num_entities",
"Number of entities in the sim",
"1"},
42 {
"myid",
"ID Number (0 <= myid < num_entities)",
"0"}
46 SST_ELI_DOCUMENT_STATISTICS(
50 SST_ELI_DOCUMENT_PORTS(
54 SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
60 virtual void init(
unsigned int phase);
64 bool tick(SST::Cycle_t);
70 SharedRegion* sregion;
76 #endif // SST_CORE_CORETEST_LOOKUPTABLECOMPONENT_H
Output object provides consistent method for outputting data to stdout, stderr and/or sst debug file...
Definition: output.h:51
Definition: coreTest_LookupTableComponent.h:26
virtual void finish()
Called after complete phase, but before objects are destroyed.
Definition: coreTest_LookupTableComponent.cc:85
Main component object for the simulation.
Definition: component.h:30
virtual void setup()
Called after all components have been constructed and initialization has completed, but before simulation time has begun.
Definition: coreTest_LookupTableComponent.cc:79
Parameter store.
Definition: params.h:55