STORMM Source Documentation
Loading...
Searching...
No Matches
stormm::energy::ScoreCardWriter Struct Reference

Writeable abstract for the ScoreCard object, useful for accumulating energies in many kernels. More...

#include <scorecard.h>

Public Member Functions

 ScoreCardWriter (int system_count_in, int data_stride_in, int sampled_step_count_in, float nrg_scale_f_in, double nrg_scale_lf_in, float inverse_nrg_scale_f_in, double inverse_nrg_scale_lf_in, int *time_steps_in, llint *instantaneous_accumulators_in, double *running_accumulators_in, double *squared_accumulators_in, llint *time_series_in)
 The constructor is, as usual, a collection of the relevant constants and pointers.
 
 ScoreCardWriter (const ScoreCardWriter &original)=default
 Take only the default copy constructor and copy assignemnt operator for this struct with const elements.
 
 ScoreCardWriter (ScoreCardWriter &&original)=default
 

Public Attributes

const int system_count
 Number of independent systems tracked.
 
const int data_stride
 
const int sampled_step_count
 The number of steps in the sample.
 
const float nrg_scale_f
 Conversion factor for fixed-precision accumulation.
 
const double nrg_scale_lf
 Conversion factor for fixed-precision accumulation.
 
const float inverse_nrg_scale_f
 Conversion for fixed-precision interpretation.
 
const double inverse_nrg_scale_lf
 Conversion for fixed-precision interpretation.
 
int * time_steps
 
llint * instantaneous_accumulators
 State variables for each system.
 
double * running_accumulators
 Running sums of state variables for each system.
 
double * squared_accumulators
 Running squared sums of state variables for each system.
 
llint * time_series
 

Detailed Description

Writeable abstract for the ScoreCard object, useful for accumulating energies in many kernels.

Member Data Documentation

◆ data_stride

const int stormm::energy::ScoreCardWriter::data_stride

Size of the StateVariable enumerator rounded up to the nearest multiple of the HPC warp size

◆ time_series

llint* stormm::energy::ScoreCardWriter::time_series

Details of energy values in each component's accumulator at each time step

◆ time_steps

int* stormm::energy::ScoreCardWriter::time_steps

Time steps in the simulation at which each energy sample was taken


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