1 #ifndef __ASSEMBLE_PROBLEM_ECSW__ 2 #define __ASSEMBLE_PROBLEM_ECSW__ 4 #include <eigen/Eigen/Dense> 5 #include <Epetra_CrsMatrix.h> 6 #include <Epetra_Map.h> 7 #include <Epetra_Vector.h> 8 #include <EpetraExt_MatrixMatrix.h> 9 #include "dg/dg_base.hpp" 10 #include "pod_basis_base.h" 11 #include "parameters/all_parameters.h" 12 #include "assemble_ECSW_training_data_base.h" 15 namespace HyperReduction {
16 using Eigen::MatrixXd;
17 using Eigen::RowVectorXd;
18 using Eigen::VectorXd;
33 template <
int dim,
int nstate>
40 const dealii::ParameterHandler ¶meter_handler_input,
43 MatrixXd snapshot_parameters_input,
45 Epetra_MpiComm &Comm);
Files for the baseline physics.
ODESolverEnum
Types of ODE solver.
Main parameter class that contains the various other sub-parameter classes.
std::shared_ptr< ProperOrthogonalDecomposition::PODBase< dim > > pod
POD.
Parameters::ODESolverParam::ODESolverEnum ode_solver_type
ODE Solve Type/ Projection Type (galerkin or petrov-galerkin)
~AssembleECSWRes()
Destructor.
DGBase is independent of the number of state variables.
void build_problem() override
Fill entries of A and b.
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.