[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
#include <assemble_ECSW_residual.h>
Public Member Functions | |
AssembleECSWRes (const PHiLiP::Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input, std::shared_ptr< DGBase< dim, double >> &dg_input, std::shared_ptr< ProperOrthogonalDecomposition::PODBase< dim >> pod, MatrixXd snapshot_parameters_input, Parameters::ODESolverParam::ODESolverEnum ode_solver_type, Epetra_MpiComm &Comm) | |
Constructor. | |
~AssembleECSWRes () | |
Destructor. | |
void | build_problem () override |
Fill entries of A and b. | |
![]() | |
AssembleECSWBase (const PHiLiP::Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input, std::shared_ptr< DGBase< dim, double >> &dg_input, std::shared_ptr< ProperOrthogonalDecomposition::PODBase< dim >> pod, MatrixXd snapshot_parameters_input, Parameters::ODESolverParam::ODESolverEnum ode_solver_type, Epetra_MpiComm &Comm) | |
Constructor. | |
virtual | ~AssembleECSWBase () |
Destructor. | |
std::shared_ptr< Epetra_CrsMatrix > | local_generate_test_basis (Epetra_CrsMatrix &system_matrix, const Epetra_CrsMatrix &pod_basis) |
Generate Test Basis from the pod and snapshot info depending on the ode_solve_type (copied from the ODE solvers) | |
Parameters::AllParameters | reinit_params (const RowVectorXd ¶meter) const |
Reinitialize parameters. | |
void | update_snapshots (dealii::LinearAlgebra::distributed::Vector< double > fom_solution) |
Update POD and Snapshot Parameters. | |
void | update_POD_snaps (std::shared_ptr< ProperOrthogonalDecomposition::PODBase< dim >> pod_update, MatrixXd snapshot_parameters_update) |
Update POD and Snapshot Parameters. | |
Additional Inherited Members | |
![]() | |
const Parameters::AllParameters *const | all_parameters |
Pointer to all parameters. | |
const dealii::ParameterHandler & | parameter_handler |
Parameter handler for storing the .prm file being ran. | |
std::shared_ptr< DGBase< dim, double > > | dg |
dg | |
std::shared_ptr< ProperOrthogonalDecomposition::PODBase< dim > > | pod |
POD. | |
MatrixXd | snapshot_parameters |
Matrix of snapshot parameters. | |
const MPI_Comm | mpi_communicator |
MPI communicator. | |
const int | mpi_rank |
MPI rank. | |
dealii::ConditionalOStream | pcout |
ConditionalOStream. More... | |
Parameters::ODESolverParam::ODESolverEnum | ode_solver_type |
ODE Solve Type/ Projection Type (galerkin or petrov-galerkin) | |
Epetra_MpiComm | Comm_ |
Epetra Communicator Object with MPI. | |
std::shared_ptr< dealii::TrilinosWrappers::SparseMatrix > | A_T |
Matrix for the NNLS Problem. | |
dealii::LinearAlgebra::ReadWriteVector< double > | b |
RHS Vector for the NNLS Problem. | |
std::vector< dealii::LinearAlgebra::distributed::Vector< double > > | fom_locations |
Vector of parameter-ROMTestLocation pairs. | |
Class for assembling NNLS problem (C matrix & d vector from the residual of each snapshot) for finding the weights for the ECSW hyper-reduction approach. NOTE: This class does not solve for the weights, but A and b can be passed to the NNLS solver class.
Definition at line 34 of file assemble_ECSW_residual.h.