1 #ifndef PROBLEM_STATE_H 2 #define PROBLEM_STATE_H 4 #include <blitz/array.h> 89 {
X.reference(
s.X.copy()); }
144 virtual void parameters(
const blitz::Array<double, 1>& x);
216 virtual void print(std::ostream& Os)
const 217 { Os <<
"ProblemState"; }
222 blitz::Array<double, 1>
X;
const Unit s("s", 1.0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0)
virtual void assert_parameter_set_correctly() const
Checks that the parameters are set correctly.
blitz::Array< double, 1 > X
virtual blitz::Array< double, 1 > parameters() const
Returns the current parameters.
ProblemState(const ProblemState &s)
Copy constructor.
ProblemState()
Default constructor.
virtual int parameter_size() const
Returns the size of the parameters.
virtual void assert_parameter_correct(const blitz::Array< double, 1 > &x) const
Checks that the new input parameters are correct.
This is a Mixin for classes that can be printed.
virtual void clear()
Deletes data contents.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
The base class for all problem states.
virtual void print(std::ostream &Os) const
Prints description of object.
virtual bool parameters_different(const blitz::Array< double, 1 > &x) const
Checks whether or not new input parameters are different from the current ones.
virtual int expected_parameter_size() const
Returns the expected size of the parameters.