GEOSX
|
#include <PackCollection.hpp>
Public Member Functions | |
PackCollection (string const &name, Group *parent) | |
Constructor. More... | |
virtual void | initializePostSubGroups () override |
virtual HistoryMetadata | getMetaData (DomainPartition const &domain, localIndex collectionIdx) const override |
Get the metadata for what this collector collects. More... | |
virtual const string & | getTargetName () const override |
Get the name of the object being targeted for collection. More... | |
virtual void | updateSetsIndices (DomainPartition const &domain) override final |
Update the indices related to the sets being collected. More... | |
virtual localIndex | numMetaDataCollectors () const override final |
Get the number of collectors of meta-information (set indices, etc) writing time-independent information during initialization. More... | |
Public Member Functions inherited from geos::HistoryCollectionBase | |
HistoryCollectionBase (string const &name, Group *parent) | |
Constructor. More... | |
void | initializePostSubGroups () override |
localIndex | numCollectors () const override |
Get the number of discrete collection operations this collector conducts. More... | |
virtual bool | execute (real64 const time_n, real64 const dt, integer const cycleNumber, integer const eventCounter, real64 const eventProgress, DomainPartition &domain) override |
void | registerBufferProvider (localIndex collectionIdx, BufferProvider bufferProvider) override |
Register a callback that provides the current head of the time history data buffer. More... | |
HistoryMetadata | getTimeMetaData () const override |
Get a metadata object relating the the Time variable itself. More... | |
void | registerTimeBufferProvider (TimeBufferProvider timeBufferProvider) override |
Register a callback that gives the current head of the time data buffer. More... | |
HistoryCollection & | getMetaDataCollector (localIndex metaIdx) override |
Get a collector of meta-information for this collector. More... | |
Public Member Functions inherited from geos::HistoryCollection | |
HistoryCollection (string const &name, Group *parent) | |
Constructor. More... | |
void | initializePostSubGroups () override |
Forwarding public initializing function... | |
Static Public Member Functions | |
static string | catalogName () |
Catalog name interface. More... | |
Additional Inherited Members | |
Public Types inherited from geos::HistoryCollection | |
using | BufferProvider = std::function< buffer_unit_type *(localIndex) > |
Type of buffer provider. | |
using | TimeBufferProvider = std::function< buffer_unit_type *() > |
Type of time buffer provider. | |
Protected Member Functions inherited from geos::HistoryCollectionBase | |
const dataRepository::Group * | getTargetObject (DomainPartition const &domain, string const &objectPath) const |
Retrieve the target object from the data repository. More... | |
Protected Attributes inherited from geos::HistoryCollectionBase | |
bool | m_targetIsMeshObject |
whether the target object is associated with mesh entities (fields, etc) | |
localIndex | m_collectionCount |
The number of discrete collection operations described by metadata this collection collects. | |
TimeBufferProvider | m_timeBufferProvider |
Callbacks to get the current time buffer head to write time data into. | |
std::vector< BufferProvider > | m_bufferProviders |
Callbacks to get the current buffer head to write history data into. | |
std::vector< std::unique_ptr< HistoryCollection > > | m_metaDataCollectors |
The set of metadata collectors for this collector. More... | |
A task class for serializing history information using the MPI communication packing routines.
Definition at line 29 of file PackCollection.hpp.
Constructor.
name | The name of this Group. |
parent | The parent Group. |
|
inlinestatic |
Catalog name interface.
Definition at line 42 of file PackCollection.hpp.
|
overridevirtual |
Get the metadata for what this collector collects.
[in] | domain | The DomainPartition. |
[in] | collectionIdx | Which collected item to get metadata for. |
Implements geos::HistoryCollection.
|
inlineoverridevirtual |
Get the name of the object being targeted for collection.
Implements geos::HistoryCollection.
Definition at line 50 of file PackCollection.hpp.
|
finaloverridevirtual |
Get the number of collectors of meta-information (set indices, etc) writing time-independent information during initialization.
Implements geos::HistoryCollection.
|
finaloverridevirtual |
Update the indices related to the sets being collected.
[in] | domain | The domain partition. |