[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
PHiLiP::ProperOrthogonalDecomposition::HROMTestLocation< dim, nstate > Class Template Reference

Class to compute and store adjoint-based error estimates with hyperreduction. More...

#include <hrom_test_location.h>

Inheritance diagram for PHiLiP::ProperOrthogonalDecomposition::HROMTestLocation< dim, nstate >:
Collaboration diagram for PHiLiP::ProperOrthogonalDecomposition::HROMTestLocation< dim, nstate >:

Public Member Functions

 HROMTestLocation (const RowVectorXd &parameter, std::unique_ptr< ROMSolution< dim, nstate >> rom_solution, std::shared_ptr< DGBase< dim, double > > dg_input, Epetra_Vector weights)
 Constructor.
 
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.
 
std::shared_ptr< Epetra_CrsMatrix > generate_hyper_reduced_jacobian (const Epetra_CrsMatrix &system_matrix)
 Generate hyper-reduced jacobian matrix.
 
std::shared_ptr< Epetra_CrsMatrix > generate_test_basis (Epetra_CrsMatrix &epetra_system_matrix, const Epetra_CrsMatrix &pod_basis)
 Generate test basis.
 
- Public Member Functions inherited from PHiLiP::ProperOrthogonalDecomposition::TestLocationBase< dim, nstate >
 TestLocationBase (const RowVectorXd &parameter, 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.
 
void compute_total_error ()
 Compute total error between final ROM and FOM.
 

Public Attributes

std::shared_ptr< DGBase< dim, double > > dg
 Smart pointer to DGBase.
 
Epetra_Vector ECSW_weights
 ECSW hyper-reduction weights.
 
- Public Attributes inherited from PHiLiP::ProperOrthogonalDecomposition::TestLocationBase< dim, nstate >
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...
 

Detailed Description

template<int dim, int nstate>
class PHiLiP::ProperOrthogonalDecomposition::HROMTestLocation< dim, nstate >

Class to compute and store adjoint-based error estimates with hyperreduction.

Definition at line 26 of file hrom_test_location.h.


The documentation for this class was generated from the following files: