20 #ifndef GEOS_FILEIO_OUTPUTS_HISTORYOUTPUT_HPP_
21 #define GEOS_FILEIO_OUTPUTS_HISTORYOUTPUT_HPP_
24 #include "fileIO/timeHistory/HistoryCollection.hpp"
25 #include "fileIO/timeHistory/BufferedHistoryIO.hpp"
26 #include "fileIO/timeHistory/HDFHistoryIO.hpp"
28 #include "LvArray/src/Array.hpp"
43 Group *
const parent );
82 real64 const eventProgress,
91 real64 const eventProgress,
97 static constexpr
char const * timeHistoryOutputTargetString() {
return "sources"; }
98 static constexpr
char const * timeHistoryOutputFilenameString() {
return "filename"; }
99 static constexpr
char const * timeHistoryOutputFormatString() {
return "format"; }
100 static constexpr
char const * timeHistoryRestartString() {
return "restart"; }
106 } timeHistoryOutputViewKeys;
113 #if defined(GEOS_USE_PYGEOSX)
114 virtual PyTypeObject * getPythonType()
const override;
124 void initCollectorParallel( DomainPartition
const & domain, HistoryCollection & collector );
135 std::vector< std::unique_ptr< BufferedHistoryIO > > m_io;
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
virtual void initializePostInitialConditionsPostSubGroups() override
Perform initalization after all subgroups have been initialized. Check for existing files and data sp...
TimeHistoryOutput(string const &name, Group *const parent)
Constructor.
virtual void cleanup(real64 const time_n, integer const cycleNumber, integer const eventCounter, real64 const eventProgress, DomainPartition &domain) override
Writes out a time history file at the end of the simulation.
void setFileName(string const &root)
Set the output filename (This is usefull for pygeosx user)
virtual bool execute(real64 const time_n, real64 const dt, integer const cycleNumber, integer const eventCounter, real64 const eventProgress, DomainPartition &domain) override
Writes out a time history file.
static string catalogName()
Catalog name interface.
virtual void reinit() override
Performs re-initialization of certain variable depending on the solver being used.
virtual ~TimeHistoryOutput() override
Destructor.
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.
double real64
64-bit floating point type.
std::int32_t integer
Signed integer type.