15 #ifndef GEOS_FILEIO_TIMEHISTORY_PACKCOLLECTION_HPP_
16 #define GEOS_FILEIO_TIMEHISTORY_PACKCOLLECTION_HPP_
19 #include "HistoryCollectionBase.hpp"
44 virtual void initializePostSubGroups()
override;
73 static constexpr
char const * objectPathString() {
return "objectPath"; }
74 static constexpr
char const * fieldNameString() {
return "fieldName"; }
75 static constexpr
char const * setNamesString() {
return "setNames"; }
76 static constexpr
char const * onlyOnSetChangeString() {
return "onlyOnSetChange"; }
77 static constexpr
char const * disableCoordCollectionString() {
return "disableCoordCollection"; }
88 void buildMetaDataCollectors();
92 void disableCoordCollection()
94 m_disableCoordCollection =
true;
98 void collect( DomainPartition
const & domain,
108 bool collectAll()
const;
117 std::vector< array1d< localIndex > > m_setsIndices;
130 integer m_disableCoordCollection;
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
Intermediate class for code factorisation. It mainly deals with collector and buffer management....
A minimal class to specify information about time history information being collected and output.
PackCollection(string const &name, Group *parent)
Constructor.
virtual localIndex numMetaDataCollectors() const override final
Get the number of collectors of meta-information (set indices, etc) writing time-independent informat...
virtual void updateSetsIndices(DomainPartition const &domain) override final
Update the indices related to the sets being collected.
static string catalogName()
Catalog name interface.
virtual HistoryMetadata getMetaData(DomainPartition const &domain, localIndex collectionIdx) const override
Get the metadata for what this collector collects.
virtual const string & getTargetName() const override
Get the name of the object being targeted for collection.
Group::wrapperMap::KeyIndex ViewKey
Type alias for KeyIndexT type used for wrapper lookups.
array1d< string > string_array
A 1-dimensional array of geos::string types.
std::int32_t integer
Signed integer type.
signed char buffer_unit_type
Type stored in communication buffers.
GEOSX_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
struct containing the view access keys to be bound with class data member