/* * AdditionModel1D.h * * Created on: Apr 10, 2013 * Author: steve */ #ifndef ADDITIONMODEL1D_H_ #define ADDITIONMODEL1D_H_ #include "Model1D.h" class AdditionModel1D: public Model1D { private: shared_ptr first; shared_ptr second; public: AdditionModel1D(std::string name_, shared_ptr first_, shared_ptr second_); virtual ~AdditionModel1D(); void initModelParameters(); double eval(const double *x) const; void updateDomain(); }; #endif /* ADDITIONMODEL1D_H_ */