20 #include "libmesh/rb_eim_theta.h" 21 #include "libmesh/rb_parameters.h" 22 #include "libmesh/rb_eim_evaluation.h" 29 rb_eim_eval(rb_eim_eval_in),
36 std::vector<RBParameters> mus {mu};
39 libmesh_error_msg_if(values.size() != 1,
"Error: should have one value");
void set_eim_error_indicator_active(bool is_active)
Activate/decative the error indicator in EIM solves.
void rb_eim_solves(const std::vector< RBParameters > &mus, unsigned int N)
Perform rb_eim_solves at each mu in mus and store the results in _rb_eim_solutions.
virtual std::vector< Number > evaluate_vec(const std::vector< RBParameters > &mus) override
Evaluate this RBEIMTheta at all parameters in mus.
virtual Number evaluate(const RBParameters &mu) override
Evaluate this RBEIMTheta object at the parameter mu.
unsigned int get_n_basis_functions() const
Return the current number of EIM basis functions.
std::vector< Number > get_rb_eim_solutions_entries(unsigned int index) const
Return entry index for each solution in _rb_eim_solutions.
unsigned int index
The index of the RB_solution vector that we pick out from rb_eim_eval to provide the value of the eva...
The libMesh namespace provides an interface to certain functionality in the library.
RBEIMEvaluation & rb_eim_eval
The RBEIMEvaluation object that this RBEIMTheta is based on.
RBEIMTheta(RBEIMEvaluation &rb_eim_eval_in, unsigned int index_in)
Constructor.
This class is part of the rbOOmit framework.
This class enables evaluation of an Empirical Interpolation Method (EIM) approximation.