1 #ifndef __PERIODIC_1D_UNSTEADY_H__ 2 #define __PERIODIC_1D_UNSTEADY_H__ 4 #include "periodic_cube_flow.h" 9 template <
int dim,
int nstate>
28 const unsigned int current_iteration,
29 const double current_time,
31 const std::shared_ptr<dealii::TableHandler> unsteady_data_table)
override;
double compute_energy(const std::shared_ptr< DGBase< dim, double >> dg) const
Calculate energy as a matrix-vector product, solution^T (M+K) solution.
Periodic1DUnsteady(const Parameters::AllParameters *const parameters_input)
Constructor.
Files for the baseline physics.
Main parameter class that contains the various other sub-parameter classes.
std::string unsteady_data_table_filename_with_extension
Filename for unsteady data.
double get_numerical_entropy(const std::shared_ptr< DGBase< dim, double >> dg) const
DGBase is independent of the number of state variables.
void compute_unsteady_data_and_write_to_table(const unsigned int current_iteration, const double current_time, const std::shared_ptr< DGBase< dim, double >> dg, const std::shared_ptr< dealii::TableHandler > unsteady_data_table) override
Compute the desired unsteady data and write it to a table.