00001 #ifndef INTEGRATOR_4_H 00002 #define INTEGRATOR_4_H 00003 00004 #include "integrator.h" 00005 00006 namespace afl 00007 { 00012 class Integrator_4 : public Integrator 00013 { 00014 public: 00020 Integrator_4( const Field* field, const Parameters& params ); 00026 Integrator_4( const Field* field = NULL ); 00027 00031 virtual ~Integrator_4( ); 00032 00038 virtual Value integral( const Simplex& s ) const; 00039 00044 virtual void toXML( std::ostream& doc ) const; 00045 00050 virtual Integrator* clone( ); 00051 00055 virtual const std::string& getMethod( ) const; 00056 00058 private: 00059 static const std::string _method; 00060 }; 00061 00062 }; 00063 00064 #endif // INTEGRATOR_4_H