[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
ROM_error_post_sampling.h
1 #ifndef __ROM_ERROR_POST_SAMPLING_H__
2 #define __ROM_ERROR_POST_SAMPLING_H__
3 
4 #include "tests.h"
5 #include "parameters/all_parameters.h"
6 #include <eigen/Eigen/Dense>
7 
8 namespace PHiLiP {
9 namespace Tests {
10 
11 using Eigen::MatrixXd;
12 
18 template <int dim, int nstate>
20 {
21 public:
23  ROMErrorPostSampling(const Parameters::AllParameters *const parameters_input,
24  const dealii::ParameterHandler &parameter_handler_input);
25 
27  Parameters::AllParameters reinit_params(std::string path) const;
28 
30  int run_test () const override;
31 
33  const dealii::ParameterHandler &parameter_handler;
34 
36  mutable MatrixXd snapshot_parameters;
37 
39  mutable MatrixXd rom_points;
40 
41 };
42 } // End of Tests namespace
43 } // End of PHiLiP namespace
44 
45 #endif
int run_test() const override
Evaluate and output the "true" error at ROM Points.
ROMErrorPostSampling(const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler &parameter_handler_input)
Constructor.
MatrixXd snapshot_parameters
Matrix of snapshot parameters.
Files for the baseline physics.
Definition: ADTypes.hpp:10
Main parameter class that contains the various other sub-parameter classes.
Parameters::AllParameters reinit_params(std::string path) const
Reinitialize parameters.
const dealii::ParameterHandler & parameter_handler
Dummy parameter handler because flowsolver requires it.
MatrixXd rom_points
Matrix of error sampling points.
Base class of all the tests.
Definition: tests.h:17