19 #ifndef GEOS_FILEIO_OUTPUTS_OUTPUTBASE_HPP_
20 #define GEOS_FILEIO_OUTPUTS_OUTPUTBASE_HPP_
117 static constexpr
auto childDirectoryString =
"childDirectory";
118 static constexpr
auto parallelThreadsString =
"parallelThreads";
119 } outputBaseViewKeys;
157 real64 const eventProgress,
161 string m_childDirectory;
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
string childDirectory() const
Get the path of the child directory where output will be written.
std::chrono::system_clock::duration m_outputTimer
Timer used to track duration of file writing operations for this specific output type.
virtual void setupDirectoryStructure()
Method for setting up output directories.
virtual void cleanup(real64 const time_n, integer const cycleNumber, integer const eventCounter, real64 const eventProgress, DomainPartition &domain) override
Called as the code exits the main run loop.
static string const & getOutputDirectory()
Getter for the output directory.
static string const & getFileNameRoot()
Getter for the file name root.
integer parallelThreads() const
Get the number of parallel threads to use to write plotfiles.
virtual ~OutputBase() override
Destructor.
virtual void initializePreSubGroups() override
Do initialization prior to calling initialization operations on the subgroups.
OutputBase(string const &name, Group *const parent)
Constructor.
static void setOutputDirectory(string const &outputDir)
Setter for the output directory.
virtual logInfo::OutputTimerBase const & getTimerCategory() const =0
Get the timer category for this output type.
static void setFileNameRoot(string const &root)
Setter for the file name root.
This class provides the base class/interface for the catalog value objects.
std::unordered_map< std::string, std::unique_ptr< CatalogInterface< BASETYPE, ARGS... > > > CatalogType
This is the type that will be used for the catalog. The catalog is actually instantiated in the BASET...
static CatalogInterface::CatalogType & getCatalog()
Get the singleton catalog for this Group.
double real64
64-bit floating point type.
std::int32_t integer
Signed integer type.
std::string_view string_view
String type.
Base interface for specific output type timers.
virtual std::string_view getDescription() const =0
Get the description of this timer.
Base timer category for output operations.
static std::string_view getDescription()
Get the description of this timer.
static constexpr int getMinLogLevel()
Get the minimum log level for this timer.
struct containing the view access keys to be bound with class data member