20 #ifndef SRC_CORECOMPONENTS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASESTATISTICS_HPP_
21 #define SRC_CORECOMPONENTS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASESTATISTICS_HPP_
29 class SinglePhaseBase;
31 namespace singlePhaseStatistics
49 static string catalogName() {
return "SinglePhaseStatistics"; }
62 real64 const eventProgress,
68 {
return *m_aggregator; }
71 {
return *m_aggregator; }
83 constexpr
static char const * setNamesString() {
return "setNames"; }
86 void postInputInitialization()
override;
88 void registerDataOnMesh(
Group & meshBodies )
override;
90 void prepareLogTableLayouts(
string_view tableName );
92 void prepareCsvTableLayouts(
string_view tableName );
94 string getCsvFileName(
string_view meshName )
const;
96 void outputLogStats(
real64 statsTime,
98 RegionStatistics & meshSetsStatistics );
100 void outputCsvStats(
real64 statsTime,
102 RegionStatistics & meshSetsStatistics );
105 stdMap< string, std::unique_ptr< TableTextFormatter > > m_logFormatters;
108 stdMap< string, std::unique_ptr< TableCSVFormatter > > m_csvFormatters;
111 std::unique_ptr< StatsAggregator > m_aggregator;
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
Group()=delete
Deleted default constructor.
Reponsible of computing physical statistics over the grid, registering the result in the data reposit...
static string catalogName()
Accessor for the catalog name.
StatsTask(const string &name, dataRepository::Group *const parent)
Constructor for the statistics class.
virtual bool execute(real64 const time_n, real64 const dt, integer const cycleNumber, integer const eventCounter, real64 const eventProgress, DomainPartition &domain) override
Main extension point of executable targets.
stdVector< string > string_array
A 1-dimensional array of geos::string types.
double real64
64-bit floating point type.
int integer
Signed integer type.
std::string_view string_view
String type.