endOfSimulation
virtual void endOfSimulation() =0;
This function must be implemented.
The function is called at the end of simulation, allowing any pre-destructor cleanup such as closing files.
Parameters
- returns none
Examples
Example 1
void endOfSimulation() override
{
fclose(file_handle_);
}
Header
#include <sst/core/statapi/statoutput.h>