addComponent
Add a component to the group. Adding a component does not add that component's statistics which must be subsequently added with addStatistic.
Syntax
group.addComponent(comp)
Parameters
- comp Component/SubComponent to add to the group
- returns none
Example
import sst
component0 = sst.Component("c0", "simpleElementExample.example0")
statGroup = sst.StatisticGroup("StatGroup")
statGroup.addComponent(component0)
Import
import sst