hp2FEM  0.1
include/interpolation/quadrature1d/NewtonCotesQuadrature1D.h
00001 #ifndef _NEWTONCOTESQUADRATURE1D_H_
00002 #define _NEWTONCOTESQUADRATURE1D_H_
00003 // ---------------------------------------------
00004 // company   : 
00005 // user      : 
00006 // date      : 22 Mar 2015 17:23
00007 // file      : NewtonCotesQuadrature1D.h
00008 // markers   : Full
00009 // language  : C++
00010 // generator : Metamill 6.0
00011 // ---------------------------------------------
00012 
00013 //#UBLK-BEG-HEADERH
00014 //==============================================================
00015 // Description : 
00016 //--------------------------------------------------------------
00017 // Author      : Gilberto Luis
00018 // Created     : 21 Mar 2011
00019 //--------------------------------------------------------------
00020 // Change history : 
00021 //   21 Mar 2011 (Gilberto Luis) Initial version generated
00022 //
00023 //==============================================================
00024 //#UBLK-END-HEADERH
00025 
00026 /*=================================================================================================
00027 =                                                                                                 =
00028 =       Copyright 2010-2015  Marco Lucio Bittencourt / Fabiano Fernandes Bargos                       =
00029 =                        Gilberto Luis Valente / Jorge Luis Suzuki / Allan Patrick Cordeiro Dias  =
00030 =                                                                                                 =
00031 =       Licensed under the Apache License, Version 2.0 (the "License");                               =
00032 =       you may not use this file except in compliance with the License.                              =
00033 =       You may obtain a copy of the License at                                                       =
00034 =                                                                                                 =
00035 =               http://www.apache.org/licenses/LICENSE-2.0                                                =
00036 =                                                                                                 =
00037 =       Unless required by applicable law or agreed to in writing, software                           =
00038 =       distributed under the License is distributed on an "AS IS" BASIS,                             =
00039 =       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.                      =
00040 =       See the License for the specific language governing permissions and                           =
00041 =       limitations under the License.                                                                =
00042 =                                                                                                 =
00043 =================================================================================================*/
00044 
00045 
00046 #include "ds/Matrix.h"
00047 #include "ds/Vector.h"
00048 #include "enumerations/QuadCollocType_E.h"
00049 
00050 
00058 class NewtonCotesQuadrature1D
00059 {
00060 //#UBLK-BEG-CLASSDEF mm:2482c71d-f649-11df-85b0-e9a34136af77
00061 //#UBLK-END-CLASSDEF
00062 
00063  public:
00064 
00065    // METHOD=mm:2482dbdb-f649-11df-85b0-e9a34136af77
00066    NewtonCotesQuadrature1D();
00067 
00068    // METHOD=mm:2f0d367f-50af-11e0-87c0-fa4560693228
00069    ~NewtonCotesQuadrature1D();
00070 
00071    // METHOD=mm:2482dbdc-f649-11df-85b0-e9a34136af77
00072    void GetCoordinatesWeights(unsigned long IntegrandOrder, double*const Coordinates, unsigned long& NumberCoords, double*const Weights);
00073 
00074    // METHOD=mm:719595d9-5fc3-11e0-89bf-82ea5c842841
00075    void GetCoordinatesWeights(unsigned long NumberCoords, double*const Coordinates, double*const Weights);
00076 
00077    // METHOD=mm:c1cc9ad3-44fb-11e0-9711-cb145d0d686e
00078    unsigned long GetNumberCoordinates(unsigned long IntegrandOrder);
00079 
00080 
00081  protected:
00082 
00083  private:
00084 
00085 //#UBLK-BEG-CLASSMEMB mm:2482c71d-f649-11df-85b0-e9a34136af77
00086 //#UBLK-END-CLASSMEMB
00087 };
00088 
00089 //#UBLK-BEG-GLOBALH
00090 //#UBLK-END-GLOBALH
00091 
00092 
00093 #endif // _NEWTONCOTESQUADRATURE1D_H_
 All Classes Files Functions Variables Typedefs Friends Defines