101 static_assert(TableValueBase::isSupportedType<T>(),
"Unsupported table value type.");
121 const std::string & obj_name =
name.getObjectName();
122 const std::string & val_name =
name.getValueName();
129 table.
addData<T>(val_name, vector);
bool absoluteFuzzyEqual(const T &var1, const T2 &var2, const T3 &tol=libMesh::TOLERANCE *libMesh::TOLERANCE)
Function to check whether two variables are equal within an absolute tolerance.
FormattedTable & _postprocessor_table
Table containing postprocessor data.
int & _t_step
The current time step.
std::pair< typename M::iterator, bool > moose_try_emplace(M &m, const typename M::key_type &k, Args &&... args)
Function to mirror the behavior of the C++17 std::map::try_emplace() method (no hint).
virtual const std::string & name() const
Get the name of the class.
virtual void outputVectorPostprocessors() override
Populates the tables with VectorPostprocessor values.
void outputReporter(const ReporterName &name)
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
const T & getReporterValue(const ReporterName &reporter_name, const MooseObject &consumer, const ReporterMode &mode, const std::size_t time_index=0) const
Method for returning read only references to Reporter values.
TableOutput(const InputParameters ¶meters)
Class constructor.
FormattedTable & _scalar_table
Table containing scalar aux variables.
const bool _time_column
Enable/disable output of time column for Postprocessors.
bool _tables_restartable
Flag for allowing all table data to become restartable.
virtual void outputReporters() override
Populates the tables with Reporter values.
const bool _time_data
Enable/disable VecptorPostprocessor time data file.
virtual void outputPostprocessors() override
Populates the tables with postprocessor values.
const ReporterData & _reporter_data
Storage for Reporter values.
FormattedTable & _all_data_table
Table containing postprocessor values, scalar aux variables, and Real Reporters.
Based class for output objects.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for scalar variables and postprocessors output objects.
const InputParameters & parameters() const
Get the parameters of the object.
FormattedTable & _reporter_table
Table containing Real Reporter values.
bool hasReporterValue(const ReporterName &reporter_name) const
Return True if a Reporter value with the given type and name have been created.
const Real _new_row_tol
Tolerance used when deciding whether or not to add a new row to the table.
Real & _time
The current time for output purposes.
virtual Real getOutputTime()
Get the time that will be used for stream/file outputting.
std::map< std::string, FormattedTable > _vector_postprocessor_tables
Formatted tables for outputting vector postprocessor data. One per VectorPostprocessor.
The Reporter system is comprised of objects that can contain any number of data values.
virtual void outputScalarVariables() override
Populates the tables with scalar aux variables.
std::map< std::string, FormattedTable > & _vector_postprocessor_time_tables
Table for vector postprocessor time data.
static InputParameters validParams()