RepastHPC
2.3.1
|
Source of data and a reduction operation. More...
#include <NCReducibleDataSource.h>
Public Member Functions | |
NCReducibleDataSource (std::string name, TDataSource< T > *dataSource, Op op) | |
virtual NcType | ncType () |
virtual void | record () |
virtual void | write (NcVar *var) |
Public Member Functions inherited from repast::NCDataSource | |
NCDataSource (std::string name) | |
const std::string | name () const |
Protected Attributes | |
Op | op_ |
std::vector< T > | data |
TDataSource< T > * | dataSource_ |
int | rank |
int | start |
Protected Attributes inherited from repast::NCDataSource | |
std::string | _name |
Source of data and a reduction operation.
Used internally by a NCDataSet to store the data sources. their associated ops etc.