20 #ifndef LIBMESH_RB_PARAMETRIZED_H 21 #define LIBMESH_RB_PARAMETRIZED_H 62 virtual void clear ();
69 const std::map<std::string, std::vector<Real>> & discrete_parameter_values);
137 const std::string & discrete_param_file_name,
138 const bool write_binary_data);
144 const std::string & discrete_param_file_name,
145 const bool read_binary_data);
178 const bool write_binary);
184 const bool write_binary_data);
191 const bool read_binary,
199 const bool read_binary_data,
200 std::map<std::string, std::vector<Real>> & discrete_parameter_values_in);
242 #endif // LIBMESH_RB_PARAMETRIZED_H bool parameters_initialized
bool valid_params(const RBParameters ¶ms)
std::set< std::string > get_parameter_names() const
void write_parameter_data_to_files(const std::string &continuous_param_file_name, const std::string &discrete_param_file_name, const bool write_binary_data)
void read_parameter_ranges_from_file(const std::string &file_name, const bool read_binary, RBParameters ¶m_min, RBParameters ¶m_max)
Real get_parameter_min(const std::string ¶m_name) const
static Real get_closest_value(Real value, const std::vector< Real > &list_of_values)
Real get_parameter_max(const std::string ¶m_name) const
void write_discrete_parameter_values_to_file(const std::string &file_name, const bool write_binary_data)
void read_discrete_parameter_values_from_file(const std::string &file_name, const bool read_binary_data, std::map< std::string, std::vector< Real >> &discrete_parameter_values_in)
void read_parameter_data_from_files(const std::string &continuous_param_file_name, const std::string &discrete_param_file_name, const bool read_binary_data)
virtual ~RBParametrized()
unsigned int get_n_discrete_params() const
RBParameters parameters_min
void set_parameters(const RBParameters ¶ms)
void write_parameter_ranges_to_file(const std::string &file_name, const bool write_binary)
static bool is_value_in_list(Real value, const std::vector< Real > &list_of_values, Real tol)
void print_parameters() const
std::map< std::string, std::vector< Real > > _discrete_parameter_values
unsigned int get_n_continuous_params() const
const RBParameters & get_parameters_min() const
const std::map< std::string, std::vector< Real > > & get_discrete_parameter_values() const
const RBParameters & get_parameters_max() const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const RBParameters & get_parameters() const
RBParameters parameters_max
void initialize_parameters(const RBParameters &mu_min_in, const RBParameters &mu_max_in, const std::map< std::string, std::vector< Real >> &discrete_parameter_values)
unsigned int get_n_params() const
bool is_discrete_parameter(const std::string &mu_name) const
void print_discrete_parameter_values() const