20 #ifndef LIBMESH_RB_SCM_EVALUATION_H 21 #define LIBMESH_RB_SCM_EVALUATION_H 26 #if defined(LIBMESH_HAVE_SLEPC) && (LIBMESH_HAVE_GLPK) 40 class RBThetaExpansion;
121 {
return cast_int<unsigned int>(
C_J.size()); }
169 const bool write_binary_data =
true);
178 const bool read_binary_data =
true);
192 std::vector<RBParameters >
C_J;
228 #endif // LIBMESH_HAVE_SLEPC && LIBMESH_HAVE_GLPK 230 #endif // LIBMESH_RB_SCM_EVALUATION_H std::vector< Real > B_min
virtual Real get_SCM_UB()
void set_rb_theta_expansion(RBThetaExpansion &rb_theta_expansion_in)
Real get_C_J_stability_value(unsigned int j)
const RBParameters & get_C_J_entry(unsigned int j)
void set_SCM_UB_vector(unsigned int j, unsigned int q, Real y_q)
RBThetaExpansion & get_rb_theta_expansion()
virtual void reload_current_parameters()
Real get_B_min(unsigned int i) const
const Parallel::Communicator & comm() const
std::vector< Real > B_max
std::vector< std::vector< Real > > SCM_UB_vectors
std::vector< Real > C_J_stability_vector
std::vector< RBParameters > C_J
RBThetaExpansion * rb_theta_expansion
void set_B_min(unsigned int i, Real B_min_val)
void set_C_J_stability_constraint(unsigned int j, Real stability_constraint_in)
RBSCMEvaluation(const Parallel::Communicator &comm)
An object whose state is distributed along a set of processors.
virtual void save_current_parameters()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void set_B_max(unsigned int i, Real B_max_val)
Real get_C_J_stability_constraint(unsigned int j) const
Real get_B_max(unsigned int i) const
virtual Real get_SCM_LB()
virtual void legacy_read_offline_data_from_files(const std::string &directory_name="offline_data", const bool read_binary_data=true)
RBParameters saved_parameters
Real get_SCM_UB_vector(unsigned int j, unsigned int q)
virtual ~RBSCMEvaluation()
virtual void legacy_write_offline_data_to_files(const std::string &directory_name="offline_data", const bool write_binary_data=true)
unsigned int get_C_J_size()
virtual void set_current_parameters_from_C_J(unsigned int C_J_index)