[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
Base class for a ROM/HROM point, differences would be in the second DWR error indicator. More...
#include <test_location_base.h>
Public Member Functions | |
TestLocationBase (const RowVectorXd ¶meter, std::unique_ptr< ROMSolution< dim, nstate >> rom_solution) | |
Constructor. | |
virtual | ~TestLocationBase () |
Destructor. | |
void | compute_FOM_to_initial_ROM_error () |
Compute adjoint error estimate between FOM and initial ROM. | |
virtual void | compute_initial_rom_to_final_rom_error (std::shared_ptr< ProperOrthogonalDecomposition::PODBase< dim >> pod_updated)=0 |
Compute error between initial ROM and final ROM. | |
void | compute_total_error () |
Compute total error between final ROM and FOM. | |
Public Attributes | |
RowVectorXd | parameter |
Parameter. | |
std::unique_ptr< ROMSolution< dim, nstate > > | rom_solution |
ROM solution. | |
double | fom_to_initial_rom_error |
Error between FOM and initial ROM. | |
double | initial_rom_to_final_rom_error |
Error from initial ROM to final ROM. | |
double | total_error |
Total error. | |
const MPI_Comm | mpi_communicator |
MPI communicator. | |
const int | mpi_rank |
MPI rank. | |
dealii::ConditionalOStream | pcout |
ConditionalOStream. More... | |
Base class for a ROM/HROM point, differences would be in the second DWR error indicator.
Definition at line 15 of file test_location_base.h.
dealii::ConditionalOStream PHiLiP::ProperOrthogonalDecomposition::TestLocationBase< dim, nstate >::pcout |
ConditionalOStream.
Used as std::cout, but only prints if mpi_rank == 0
Definition at line 54 of file test_location_base.h.