[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
#include <hyper_reduction_comparison.h>
Public Member Functions | |
HyperReductionComparison (const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input) | |
Constructor. | |
Parameters::AllParameters | reinit_params (const int max_iter) const |
Reinitialize parameters. | |
bool | getWeightsFromFile (std::shared_ptr< DGBase< dim, double >> &dg) const |
Read ECSW weights from the text file. | |
int | run_test () const override |
Build three models and evaluate error measures. | |
![]() | |
TestsBase ()=delete | |
Constructor. Deleted the default constructor since it should not be used. | |
TestsBase (const Parameters::AllParameters *const parameters_input) | |
Constructor. More... | |
virtual | ~TestsBase ()=default |
Destructor. | |
Public Attributes | |
const dealii::ParameterHandler & | parameter_handler |
Dummy parameter handler because flowsolver requires it. | |
MatrixXd | snapshot_parameters |
Matrix of snapshot parameters. | |
std::shared_ptr< Epetra_Vector > | ptr_weights |
Ptr vector of ECSW Weights. | |
![]() | |
const Parameters::AllParameters *const | all_parameters |
Pointer to all parameters. | |
Additional Inherited Members | |
![]() | |
std::vector< int > | get_number_1d_cells (const int ngrids) const |
Evaluates the number of cells to generate the grids for 1D grid based on input file. More... | |
std::string | get_pde_string (const Parameters::AllParameters *const param) const |
Returns a string describing which PDE is being used. | |
std::string | get_conv_num_flux_string (const Parameters::AllParameters *const param) const |
Returns a string describing which convective numerical flux is being used. | |
std::string | get_diss_num_flux_string (const Parameters::AllParameters *const param) const |
Returns a string describing which dissipative numerical flux is being used. | |
std::string | get_manufactured_solution_string (const Parameters::AllParameters *const param) const |
Returns a string describing which manufactured solution is being used. | |
![]() | |
const MPI_Comm | mpi_communicator |
MPI communicator. | |
const int | mpi_rank |
MPI rank. | |
const int | n_mpi |
dealii::ConditionalOStream | pcout |
ConditionalOStream. More... | |
Compare FOM, ROM, and HROM (when hyperreduction is conducted after the adaptive sampling procedure) Check accuracy in the solution and the functional at one parameter location
Definition at line 18 of file hyper_reduction_comparison.h.