GRINS-0.8.0
|
#include <parameter_antioch_reset.h>
Public Member Functions | |
ParameterAntiochReset () | |
ParameterAntiochReset (Antioch::ReactionSet< libMesh::Real > &reaction_set, const std::string ¶m_name) | |
virtual ParameterAccessor< libMesh::Number > & | operator= (libMesh::Number *) |
virtual void | set (const libMesh::Number &new_value) |
virtual const libMesh::Number & | get () const |
void | push_back (Antioch::ReactionSet< libMesh::Real > &new_reaction_set) |
std::size_t | size () const |
virtual libMesh::UniquePtr< ParameterAccessor< libMesh::Number > > | clone () const |
Private Attributes | |
std::string | _reaction_id |
std::vector< std::string > | _keywords |
std::vector< Antioch::ReactionSet< libMesh::Number > * > | _reaction_sets |
libMesh::Number | _current_val |
Accessor object allowing reading and modification of Antioch Kinetics variables in a parameter sensitivity calculation.
Definition at line 46 of file parameter_antioch_reset.h.
GRINS::ParameterAntiochReset::ParameterAntiochReset | ( | ) |
Constructor: no parameters attached yet
Definition at line 36 of file parameter_antioch_reset.C.
Referenced by clone().
GRINS::ParameterAntiochReset::ParameterAntiochReset | ( | Antioch::ReactionSet< libMesh::Real > & | reaction_set, |
const std::string & | param_name | ||
) |
Constructor: take the first raw pointer to the parameter
Definition at line 40 of file parameter_antioch_reset.C.
|
inlinevirtual |
Returns a new copy of the accessor.
Definition at line 91 of file parameter_antioch_reset.h.
References ParameterAntiochReset().
|
virtual |
Getter: get the value of the parameter we access.
Definition at line 93 of file parameter_antioch_reset.C.
References _current_val, _keywords, _reaction_id, and _reaction_sets.
|
inlinevirtual |
A simple reseater won't work with a getter/setter
Definition at line 66 of file parameter_antioch_reset.h.
|
inline |
Definition at line 79 of file parameter_antioch_reset.h.
References _reaction_sets.
|
virtual |
Setter: change the value of the parameter we access.
Definition at line 67 of file parameter_antioch_reset.C.
References _keywords, _reaction_id, and _reaction_sets.
|
inline |
Returns the number of data associated with this parameter. Useful for testing if the resetter is empty/invalid.
Definition at line 86 of file parameter_antioch_reset.h.
References _reaction_sets.
|
mutableprivate |
Definition at line 111 of file parameter_antioch_reset.h.
Referenced by get().
|
private |
Definition at line 102 of file parameter_antioch_reset.h.
|
private |
Definition at line 101 of file parameter_antioch_reset.h.
|
private |
Definition at line 106 of file parameter_antioch_reset.h.
Referenced by get(), push_back(), set(), and size().