19 #ifndef GEOSX_PackCollection_HPP_ 20 #define GEOSX_PackCollection_HPP_ 83 static constexpr
auto objectPath =
"objectPath";
84 static constexpr
auto fieldName =
"fieldName";
85 static constexpr
auto setNames =
"setNames";
86 static constexpr
auto minSetSize =
"minSetSize";
109 std::vector< array1d< localIndex > > m_setsIndices;
virtual HistoryMetadata getMetadata(ProblemManager &problemManager, localIndex collectionIdx) override
Get the metadata for what this collector collects.
ObjectManagerBase const * getTargetObject(DomainPartition &domain)
Get the target object from which to collect time history data.
virtual void updateSetsIndices(DomainPartition &domain) override final
Update the indices related to the sets being collected.
static string CatalogName()
Catalog name interface.
This class serves to provide a "view" of a multidimensional array.
double real64
64-bit floating point type.
virtual const string & getTargetName() const override
Get the name of the object being targeted for collection.
The ObjectManagerBase is the base object of all object managers in the mesh data hierachy.
PackCollection(string const &name, Group *parent)
Constructor.
virtual void collect(DomainPartition &domain, real64 const time_n, real64 const dt, localIndex const collectionIdx, buffer_unit_type *&buffer) override
Collect history information into the provided buffer. Typically called from HistoryCollection::Execut...
signed char buffer_unit_type
Type stored in communication buffers.
void filterGhostIndices(localIndex const setIndex, array1d< localIndex > &set, arrayView1d< integer const > const &ghostRank)
Filters out ghost rank indices from setIndices to be collected.
std::ptrdiff_t localIndex
Local index type (for indexing objects within an MPI partition).
This is the class handling the operation flow of the problem being ran in GEOSX.
void InitializePostSubGroups(Group *const group) override
Called by Initialize() after to initializing sub-Groups.
struct containing the view access keys to be bound with class data member
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
A minimal class to specify information about time history information being collected and output...