1 #ifndef __PERIODIC_ENTROPY_TESTS_H__ 2 #define __PERIODIC_ENTROPY_TESTS_H__ 4 #include "periodic_cube_flow.h" 5 #include "physics/euler.h" 10 template <
int dim,
int nstate>
40 const int overintegrate=10
48 const std::shared_ptr<dealii::TableHandler> unsteady_data_table)
override;
63 std::shared_ptr < Physics::Euler<dim, nstate, double > > euler_physics;
double compute_integrated_quantities(DGBase< dim, double > &dg, IntegratedQuantityEnum quantity, const int overintegrate=10) const
Compute and update integrated quantities.
PeriodicEntropyTests(const Parameters::AllParameters *const parameters_input)
Constructor.
double previous_time
Last time (for calculating relaxation factor)
std::string unsteady_data_table_filename_with_extension
Filename for unsteady data.
Files for the baseline physics.
double previous_numerical_entropy
Store previous entropy.
Main parameter class that contains the various other sub-parameter classes.
IntegratedQuantityEnum
Enum of integrated quantities to calculate.
double initial_entropy
Storing entropy at first step.
double get_constant_time_step(std::shared_ptr< DGBase< dim, double >> dg) const override
Function to compute the constant time step.
double compute_entropy(const std::shared_ptr< DGBase< dim, double >> dg) const
void compute_unsteady_data_and_write_to_table(const std::shared_ptr< ODE::ODESolverBase< dim, double >> ode_solver, 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.
DGBase is independent of the number of state variables.