[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
#include <ROM_error_post_sampling.h>
Public Member Functions | |
ROMErrorPostSampling (const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input) | |
Constructor. | |
Parameters::AllParameters | reinit_params (std::string path) const |
Reinitialize parameters. | |
int | run_test () const override |
Evaluate and output the "true" error at ROM Points. | |
![]() | |
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. | |
MatrixXd | rom_points |
Matrix of error sampling points. | |
![]() | |
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... | |
Find the "true" error between the FOM and a ROM (with no hyperreduction) built from the snapshots after an adaptive sampling procedure has been run. NOTE: The folder the test reads from should only contain the outputted files from the last iteration of the adaptive sampling procedure. It should include one text file beginning with "snapshot_table" and one beginning with "solution_snapshots".
Definition at line 19 of file ROM_error_post_sampling.h.