Go to the documentation of this file.
20 #ifndef LIBMESH_RB_PARAMETERS_H
21 #define LIBMESH_RB_PARAMETERS_H
24 #include "libmesh/libmesh_common.h"
60 RBParameters(
const std::map<std::string, Real> & parameter_map);
134 std::string
get_string(
unsigned int precision=6)
const;
158 #endif // LIBMESH_RB_PARAMETERS_H
void set_extra_value(const std::string ¶m_name, Real value)
Set the value of the specified extra parameter.
void print() const
Print the parameters.
bool operator==(const RBParameters &rhs) const
Two RBParameters are equal if they have the same _parameters map.
std::map< std::string, Real > _extra_parameters
The map that stores extra parameters not used for RB training, indexed by names.
const_iterator begin() const
Get const_iterator access to the parameters stored in this RBParameters object.
The libMesh namespace provides an interface to certain functionality in the library.
This class is part of the rbOOmit framework.
unsigned int n_parameters() const
Get the number of parameters that have been added.
void get_extra_parameter_names(std::set< std::string > ¶m_names) const
Fill param_names with the names of the extra parameters.
std::string get_string(unsigned int precision=6) const
Get a string that specifies the contents of this RBParameters object.
RBParameters & operator=(const RBParameters &)=default
RBParameters()=default
The special functions can be defaulted for this class, as it does not manage any memory itself.
void set_value(const std::string ¶m_name, Real value)
Set the value of the specified parameter.
void get_parameter_names(std::set< std::string > ¶m_names) const
Fill param_names with the names of the parameters.
std::map< std::string, Real >::const_iterator const_iterator
bool operator!=(const RBParameters &node) const
Real get_extra_value(const std::string ¶m_name) const
Get the value of the specific extra parameter.
void clear()
Clear this object.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const_iterator extra_begin() const
Get const_iterator access to the extra parameters stored in this RBParameters object.
const_iterator end() const
std::map< std::string, Real > _parameters
The map that stores the actual parameters, indexed by names.
const_iterator extra_end() const
Real get_value(const std::string ¶m_name) const
Get the value of the specific parameter.