[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
Public Member Functions | |
Periodic1DUnsteady (const Parameters::AllParameters *const parameters_input) | |
Constructor. | |
double | compute_energy (const std::shared_ptr< DGBase< dim, 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, double >> dg) const |
![]() | |
PeriodicCubeFlow (const Parameters::AllParameters *const parameters_input) | |
Constructor. | |
std::shared_ptr< Triangulation > | generate_grid () const override |
Function to generate the grid. | |
![]() | |
CubeFlow_UniformGrid (const Parameters::AllParameters *const parameters_input) | |
double | get_adaptive_time_step (std::shared_ptr< DGBase< dim, double >> dg) const override |
Function to compute the adaptive time step. | |
double | get_adaptive_time_step_initial (std::shared_ptr< DGBase< dim, double >> dg) override |
Function to compute the initial adaptive time step. | |
void | update_maximum_local_wave_speed (DGBase< dim, double > &dg) |
Updates the maximum local wave speed. | |
![]() | |
FlowSolverCaseBase (const Parameters::AllParameters *const parameters_input) | |
Constructor. | |
virtual | ~FlowSolverCaseBase ()=default |
Destructor. | |
void | display_flow_solver_setup (std::shared_ptr< DGBase< dim, double >> dg) const |
Displays the flow setup parameters. | |
virtual void | set_higher_order_grid (std::shared_ptr< DGBase< dim, double >> dg) const |
Set higher order grid. | |
virtual 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) |
virtual double | get_constant_time_step (std::shared_ptr< DGBase< dim, double >> dg) const |
Virtual function to compute the constant time step. | |
virtual void | steady_state_postprocessing (std::shared_ptr< DGBase< dim, double >> dg) const |
Virtual function for postprocessing when solving for steady state. | |
void | set_time_step (const double time_step_input) |
Setter for time step. | |
Protected Member Functions | |
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. | |
![]() | |
virtual void | display_additional_flow_case_specific_parameters () const override |
Display additional more specific flow case parameters. | |
void | display_grid_parameters () const |
Display grid parameters. | |
![]() | |
void | add_value_to_data_table (const double value, const std::string value_string, const std::shared_ptr< dealii::TableHandler > data_table) const |
Add a value to a given data table with scientific format. | |
double | get_time_step () const |
Getter for time step. | |
Protected Attributes | |
std::string | unsteady_data_table_filename_with_extension |
Filename for unsteady data. | |
![]() | |
const int | number_of_cells_per_direction |
Number of cells per direction for the grid. | |
const double | domain_left |
Domain left-boundary value for generating the grid. | |
const double | domain_right |
Domain right-boundary value for generating the grid. | |
const double | domain_size |
Domain size (length in 1D, area in 2D, and volume in 3D) | |
![]() | |
double | maximum_local_wave_speed |
Maximum local wave speed (i.e. convective eigenvalue) | |
std::shared_ptr< Physics::PhysicsBase< dim, nstate, double > > | pde_physics |
Pointer to Physics object for computing things on the fly. | |
![]() | |
const Parameters::AllParameters | all_param |
All parameters. | |
const MPI_Comm | mpi_communicator |
MPI communicator. | |
const int | mpi_rank |
MPI rank. | |
const int | n_mpi |
Number of MPI processes. | |
dealii::ConditionalOStream | pcout |
ConditionalOStream. More... | |
Additional Inherited Members | |
![]() | |
std::shared_ptr< InitialConditionFunction< dim, nstate, double > > | initial_condition_function |
Initial condition function. | |
Definition at line 10 of file periodic_1D_unsteady.h.
double PHiLiP::FlowSolver::Periodic1DUnsteady< dim, nstate >::get_numerical_entropy | ( | const std::shared_ptr< DGBase< dim, double >> | dg | ) | const |
Calculate numerical entropy. Here, is a wrapper for compute_energy. Used by tests.
Definition at line 37 of file periodic_1D_unsteady.cpp.