Sandia Home Sandia Home
Main Page | Publications | Downloads | Configuration | Running the Code | Solver Parameters | FAQ | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cev_evaluator.hpp

Go to the documentation of this file.
00001 // $Id: cev_evaluator.hpp,v 1.3 2006/06/30 19:14:31 tgkolda Exp $ 
00002 // $Source: /space/CVS-Acro/acro/packages/appspack/appspack/example-custom-evaluator/cev_evaluator.hpp,v $ 
00003 
00011 #include "APPSPACK_Evaluator_Interface.hpp"
00012 
00014 
00017 class CustomEvaluator : public APPSPACK::Evaluator::Interface
00018 {
00019 
00020 public:
00021 
00024   CustomEvaluator();
00025 
00027   ~CustomEvaluator();
00028 
00041   void operator()(int tag_in, const APPSPACK::Vector& x_in, 
00042                   APPSPACK::Vector& f_out, string& msg_out);
00043 
00045   void print() const;
00046 
00047 private:
00048   
00050   bool constraint(const APPSPACK::Vector& x);
00051 
00053   double feval(const APPSPACK::Vector& x);
00054 
00056   int cnt;
00057 
00058 };

 

© Sandia Corporation | Site Contact | Privacy and Security

Generated on Fri Feb 16 10:33:35 2007 for APPSPACK 5.0.1 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2002