hp2FEM
0.1
|
00001 #ifndef _STANDARDLAGRANGE1D_H_ 00002 #define _STANDARDLAGRANGE1D_H_ 00003 // --------------------------------------------- 00004 // company : 00005 // user : 00006 // date : 22 Mar 2015 17:23 00007 // file : StandardLagrange1D.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/Vector.h" 00047 #include "ds/Matrix.h" 00048 00049 00057 class StandardLagrange1D 00058 { 00059 //#UBLK-BEG-CLASSDEF mm:2482c687-f649-11df-85b0-e9a34136af77 00060 //#UBLK-END-CLASSDEF 00061 00062 public: 00063 00064 // METHOD=mm:2482da10-f649-11df-85b0-e9a34136af77 00065 StandardLagrange1D(); 00066 00067 // METHOD=mm:2482da11-f649-11df-85b0-e9a34136af77 00068 void GetPolynomialValue(unsigned long PolyOrder, double*const CollocCoordinates, double*const Coordinates, unsigned long NumCoordinates, double* Phi); 00069 00070 // METHOD=mm:2482daa0-f649-11df-85b0-e9a34136af77 00071 void Get1stDerivative(unsigned long PolyOrder, double*const CollocCoordinates, double*const Coordinates, unsigned long NumCoordinates, double* dPhi); 00072 00073 // METHOD=mm:99e31d3f-0487-11e0-8dd1-8aebdd73e214 00074 void Get2ndDerivative(unsigned long PolyOrder, double*const CollocCoordinates, double*const Coordinates, unsigned long NumCoordinates, double* d2Phi); 00075 00076 00077 protected: 00078 00079 private: 00080 00081 //#UBLK-BEG-CLASSMEMB mm:2482c687-f649-11df-85b0-e9a34136af77 00082 //#UBLK-END-CLASSMEMB 00083 }; 00084 00085 //#UBLK-BEG-GLOBALH 00086 //#UBLK-END-GLOBALH 00087 00088 00089 #endif // _STANDARDLAGRANGE1D_H_