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