00001 /* 00002 * constvectorfunction.h 00003 * 00004 * Created on: Sep 15, 2008 00005 * Author: marcosm 00006 */ 00007 00008 #ifndef CONSTVECTORFUNCTION_H_ 00009 #define CONSTVECTORFUNCTION_H_ 00010 00011 #include "sfunctions.h" 00012 #include <vector> 00013 00014 00019 class ConstVectorFunction: public Function3D 00020 { 00021 std::vector<double> m_v; 00022 public: 00023 ConstVectorFunction(double v1,double v2, double v3); 00024 virtual double operator() (const VecDouble &p, const unsigned int component=0) const; 00025 00026 virtual ~ConstVectorFunction(); 00027 }; 00028 00029 #endif /* CONSTVECTORFUNCTION_H_ */