20 #ifndef LIBMESH_RB_EIM_EVALUATION_H 21 #define LIBMESH_RB_EIM_EVALUATION_H 37 class RBParametrizedFunction;
74 virtual void clear()
override;
81 bool resize_error_bound_data=
true)
override;
159 const bool write_binary_data=
true)
override;
168 bool read_error_bound_data=
true,
169 const bool read_binary_data=
true)
override;
256 #endif // LIBMESH_RB_EIM_EVALUATION_H DenseMatrix< Number > interpolation_matrix
virtual void clear() override
Mesh data structure replicated on all processors.
virtual void resize_data_structures(const unsigned int Nmax, bool resize_error_bound_data=true) override
virtual void legacy_write_offline_data_to_files(const std::string &directory_name="offline_data", const bool write_binary_data=true) override
Provides a reduced basis parameterized function.
unsigned int get_n_parametrized_functions() const
The base class for all geometric element types.
ReplicatedMesh _interpolation_points_mesh
std::vector< std::unique_ptr< RBTheta > > _rb_eim_theta_objects
void initialize_eim_theta_objects()
std::vector< std::unique_ptr< RBTheta > > & get_eim_theta_objects()
void attach_parametrized_function(RBParametrizedFunction *pf)
ReplicatedMesh & get_interpolation_points_mesh()
std::vector< unsigned int > interpolation_points_var
std::vector< Elem * > interpolation_points_elem
virtual Real get_error_bound_normalization() override
void legacy_read_in_interpolation_points_elem(const std::string &directory_name)
virtual Real rb_solve(unsigned int N) override
virtual std::unique_ptr< RBTheta > build_eim_theta(unsigned int index)
RBEIMEvaluation(const libMesh::Parallel::Communicator &comm_in)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual ~RBEIMEvaluation()
std::vector< RBParametrizedFunction * > _parametrized_functions
void legacy_write_out_interpolation_points_elem(const std::string &directory_name)
RBThetaExpansion _empty_rb_theta_expansion
virtual void legacy_read_offline_data_from_files(const std::string &directory_name="offline_data", bool read_error_bound_data=true, const bool read_binary_data=true) override
Number evaluate_parametrized_function(unsigned int var_index, const Point &p, const Elem &elem)
std::vector< Point > interpolation_points
Real _previous_error_bound
RBParameters _previous_parameters
A geometric point in (x,y,z) space.