hp2FEM  0.1
include/interpolation/polynomials1d/Hermite1D.h
00001 #ifndef _HERMITE1D_H_
00002 #define _HERMITE1D_H_
00003 // ---------------------------------------------
00004 // company   : 
00005 // user      : 
00006 // date      : 22 Mar 2015 17:23
00007 // file      : Hermite1D.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     : 18 Mar 2011
00019 //--------------------------------------------------------------
00020 // Change history : 
00021 //   18 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 
00049 
00059 class Hermite1D
00060 {
00061 //#UBLK-BEG-CLASSDEF mm:23ea5675-f649-11df-85b0-e9a34136af77
00062 //#UBLK-END-CLASSDEF
00063 
00064  public:
00065 
00066    // METHOD=mm:2482d3e7-f649-11df-85b0-e9a34136af77
00067    Hermite1D();
00068 
00069    // METHOD=mm:2482d3e8-f649-11df-85b0-e9a34136af77
00070    void GetPolynomialValue(unsigned long PolyOrder, double*const Coordinates, unsigned long NumCoordinates, double* Phi);
00071 
00072    // METHOD=mm:2482d3eb-f649-11df-85b0-e9a34136af77
00073    void Get1stDerivative(unsigned long PolyOrder, double*const Coordinates, unsigned long NumCoordinates, double* dPhi);
00074 
00075    // METHOD=mm:2482d3ee-f649-11df-85b0-e9a34136af77
00076    void Get2ndDerivative(unsigned long PolyOrder, double*const Coordinates, unsigned long NumCoordinates, double* d2Phi);
00077 
00078 
00079  protected:
00080 
00081  private:
00082 
00083 //#UBLK-BEG-CLASSMEMB mm:23ea5675-f649-11df-85b0-e9a34136af77
00084 //#UBLK-END-CLASSMEMB
00085 };
00086 
00087 //#UBLK-BEG-GLOBALH
00088 //#UBLK-END-GLOBALH
00089 
00090 
00091 #endif // _HERMITE1D_H_
 All Classes Files Functions Variables Typedefs Friends Defines