|
|
|||
File indexing completed on 2026-09-19 09:27:44
0001 // Created on: 1998-11-10 0002 // Created by: Igor FEOKTISTOV 0003 // Copyright (c) 1998-1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0005 // 0006 // This file is part of Open CASCADE Technology software library. 0007 // 0008 // This library is free software; you can redistribute it and/or modify it under 0009 // the terms of the GNU Lesser General Public License version 2.1 as published 0010 // by the Free Software Foundation, with special exception defined in the file 0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0012 // distribution for complete text of the license and disclaimer of any warranty. 0013 // 0014 // Alternatively, this file may be used under the terms of Open CASCADE 0015 // commercial license or contractual agreement. 0016 0017 #ifndef _FEmTool_ElementsOfRefMatrix_HeaderFile 0018 #define _FEmTool_ElementsOfRefMatrix_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_DefineAlloc.hxx> 0022 #include <Standard_Handle.hxx> 0023 0024 #include <Standard_Integer.hxx> 0025 #include <math_FunctionSet.hxx> 0026 #include <math_Vector.hxx> 0027 #include <PLib_HermitJacobi.hxx> 0028 0029 //! this class describes the functions needed for calculating 0030 //! matrix elements of RefMatrix for linear criteriums 0031 //! (Tension, Flexion and Jerk) by Gauss integration. 0032 //! Each function from set gives value Pi(u)'*Pj(u)' or 0033 //! Pi(u)''*Pj(u)'' or Pi(u)'''*Pj(u)''' for each i and j, 0034 //! where Pi(u) is i-th basis function of expansion and 0035 //! (') means derivative. 0036 class FEmTool_ElementsOfRefMatrix : public math_FunctionSet 0037 { 0038 public: 0039 DEFINE_STANDARD_ALLOC 0040 0041 Standard_EXPORT FEmTool_ElementsOfRefMatrix(const PLib_HermitJacobi& TheBase, const int DerOrder); 0042 0043 //! returns the number of variables of the function. 0044 //! It is supposed that NbVariables = 1. 0045 Standard_EXPORT int NbVariables() const override; 0046 0047 //! returns the number of equations of the function. 0048 Standard_EXPORT int NbEquations() const override; 0049 0050 //! computes the values <F> of the functions for the 0051 //! variable <X>. 0052 //! returns True if the computation was done successfully, 0053 //! False otherwise. 0054 //! F contains results only for i<=j in following order: 0055 //! P0*P0, P0*P1, P0*P2... P1*P1, P1*P2,... (upper triangle of 0056 //! matrix {PiPj}) 0057 Standard_EXPORT bool Value(const math_Vector& X, math_Vector& F) override; 0058 0059 private: 0060 PLib_HermitJacobi myBase; 0061 int myDerOrder; 0062 int myNbEquations; 0063 }; 0064 0065 #endif // _FEmTool_ElementsOfRefMatrix_HeaderFile
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|