16 #ifndef GEOS_FILEIO_TIMEHISTORY_PACKCOLLECTION_HPP_
17 #define GEOS_FILEIO_TIMEHISTORY_PACKCOLLECTION_HPP_
20 #include "HistoryCollectionBase.hpp"
74 static constexpr
char const * objectPathString() {
return "objectPath"; }
75 static constexpr
char const * fieldNameString() {
return "fieldName"; }
76 static constexpr
char const * setNamesString() {
return "setNames"; }
77 static constexpr
char const * onlyOnSetChangeString() {
return "onlyOnSetChange"; }
78 static constexpr
char const * disableCoordCollectionString() {
return "disableCoordCollection"; }
89 void buildMetaDataCollectors();
93 void disableCoordCollection()
95 m_disableCoordCollection =
true;
99 void collect( DomainPartition
const & domain,
109 bool collectAll()
const;
118 std::vector< array1d< localIndex > > m_setsIndices;
131 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 void initializePostSubGroups() override
Forwarding public initializing function...
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.
GEOS_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
std::int32_t integer
Signed integer type.
signed char buffer_unit_type
Type stored in communication buffers.
struct containing the view access keys to be bound with class data member