00001 // ------------------------------------------------------------------------- 00002 // NCotes.h - This header file contains the public data structure 00003 // definitions for the numerical integration ( NEWTON-COTES ) 00004 // within FEMOOP. 00005 // ------------------------------------------------------------------------- 00006 // 00007 // $Author: evandro $ 00008 // $Revision: 1.2 $ 00009 // $Date: 1999/04/12 14:53:48 $ 00010 // $State: Exp $ 00011 // 00012 // ------------------------------------------------------------------------- 00013 00014 #ifndef _NCOTES_H 00015 #define _NCOTES_H 00016 00017 #include "gbldefs.h" 00018 #include "intpt.h" 00019 00020 // ------------------------------------------------------------------------- 00021 // Newton-Cotes class: 00022 // 00023 class cNwtCotes : public cIntPt 00024 { 00025 protected: 00026 static double _dmWeight[7][6]; // Associated integration weight 00027 00028 public: 00029 cNwtCotes ( cIntPt *&, cElement *, int ); 00030 virtual ~cNwtCotes ( void ); 00031 virtual void SetNatCoord( void ) { } 00032 }; 00033 00034 #endif