[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
rom_test_location.h
1 #ifndef __ROM_TEST_LOCATION__
2 #define __ROM_TEST_LOCATION__
3 
4 #include "parameters/all_parameters.h"
5 #include "pod_basis_base.h"
6 #include "reduced_order_solution.h"
7 #include <eigen/Eigen/Dense>
8 #include "test_location_base.h"
9 
10 namespace PHiLiP {
11 namespace ProperOrthogonalDecomposition {
12 using Eigen::RowVectorXd;
13 
15 template <int dim, int nstate>
16 class ROMTestLocation: public TestLocationBase<dim,nstate>
17 {
18 public:
20  ROMTestLocation(const RowVectorXd& parameter, std::unique_ptr<ROMSolution < dim, nstate>> rom_solution);
21 
24 
25 };
26 
27 }
28 }
29 
30 
31 #endif
ROMTestLocation(const RowVectorXd &parameter, std::unique_ptr< ROMSolution< dim, nstate >> rom_solution)
Constructor.
Base class for a ROM/HROM point, differences would be in the second DWR error indicator.
Files for the baseline physics.
Definition: ADTypes.hpp:10
Class to compute and store adjoint-based error estimates.
std::unique_ptr< ROMSolution< dim, nstate > > rom_solution
ROM solution.
Class to hold information about the reduced-order solution.
void compute_initial_rom_to_final_rom_error(std::shared_ptr< ProperOrthogonalDecomposition::PODBase< dim >> pod_updated) override
Compute error between initial ROM and final ROM.