hp2FEM  0.1
include/interpolation/quadrature1d/Quadrature1D.h
00001 #ifndef _QUADRATURE1D_H_
00002 #define _QUADRATURE1D_H_
00003 // ---------------------------------------------
00004 // company   : 
00005 // user      : 
00006 // date      : 22 Mar 2015 17:23
00007 // file      : Quadrature1D.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/Vector.h"
00047 #include "ds/Matrix.h"
00048 #include "enumerations/QuadCollocType_E.h"
00049 #include "interpolation/quadrature1d/GaussJacobiQuadrature1D.h"
00050 #include "interpolation/quadrature1d/NewtonCotesQuadrature1D.h"
00051 
00052 
00060 class Quadrature1D
00061 {
00062 //#UBLK-BEG-CLASSDEF mm:2482c71f-f649-11df-85b0-e9a34136af77
00063 //#UBLK-END-CLASSDEF
00064 
00065  public:
00066 
00067    // METHOD=mm:2482dbdd-f649-11df-85b0-e9a34136af77
00068    Quadrature1D();
00069 
00070    // METHOD=mm:20e0e2bd-1a9a-11e0-865c-96e3ec42e01a
00071    ~Quadrature1D();
00072 
00073    // METHOD=mm:2482dbde-f649-11df-85b0-e9a34136af77
00074    void GetCoordinatesWeights(QuadCollocType_E QuadType, unsigned long Alpha, unsigned long Beta, unsigned long IntegrandOrder, unsigned long& NumberCoords, double*const Coordinates, double*const Weights);
00075 
00076    // METHOD=mm:8cafe0de-5fba-11e0-89bf-82ea5c842841
00077    void GetCoordinatesWeights(QuadCollocType_E QuadType, unsigned long Alpha, unsigned long Beta, unsigned long NumberCoords, double*const Coordinates, double*const Weights);
00078 
00079    // METHOD=mm:934ea688-44fb-11e0-9711-cb145d0d686e
00080    unsigned long GetNumberCoordinates(QuadCollocType_E QuadType, unsigned long Alpha, unsigned long Beta, unsigned long IntegrandOrder);
00081 
00082 
00083  protected:
00084 
00088    // attr=mm:dff86807-0cfc-11e0-960e-85a0a6aeef2e
00089    GaussJacobiQuadrature1D GJQuad;
00090 
00094    // attr=mm:dff86f05-0cfc-11e0-960e-85a0a6aeef2e
00095    NewtonCotesQuadrature1D NCQuad;
00096 
00097 
00098  private:
00099 
00100 //#UBLK-BEG-CLASSMEMB mm:2482c71f-f649-11df-85b0-e9a34136af77
00101 //#UBLK-END-CLASSMEMB
00102 };
00103 
00104 //#UBLK-BEG-GLOBALH
00105 //*** Removed methods: 21 Mar 2015 21:35
00106 //---
00107 //uuid=mm:ba2b9530-72af-4f08-be14-70da1b579013
00108 //   Quadrature1D(Quadrature1D& Instance);
00109 //---
00110 //uuid=mm:8c2e4764-0ebb-4ced-9452-35650d5de982
00111 //   operator GaussJacobiQuadrature1D &();
00112 //---
00113 //uuid=mm:7868ad31-1a36-429b-a193-22a306fb50e3
00114 //   Quadrature1D& operator=(Quadrature1D& Instance);
00115 
00116 //#UBLK-END-GLOBALH
00117 
00118 
00119 #endif // _QUADRATURE1D_H_
 All Classes Files Functions Variables Typedefs Friends Defines