|
||||
File indexing completed on 2025-01-18 10:03:30
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 class PLib_Base; 0028 0029 0030 //! this class describes the functions needed for 0031 //! calculating matrix elements of RefMatrix for linear 0032 //! criteriums (Tension, Flexsion and Jerk) by Gauss integration. 0033 //! Each function from set gives value Pi(u)'*Pj(u)' or 0034 //! Pi(u)''*Pj(u)'' or Pi(u)'''*Pj(u)''' for each i and j, 0035 //! where Pi(u) is i-th basis function of expansion and 0036 //! (') means derivative. 0037 class FEmTool_ElementsOfRefMatrix : public math_FunctionSet 0038 { 0039 public: 0040 0041 DEFINE_STANDARD_ALLOC 0042 0043 0044 Standard_EXPORT FEmTool_ElementsOfRefMatrix(const Handle(PLib_Base)& TheBase, const Standard_Integer DerOrder); 0045 0046 //! returns the number of variables of the function. 0047 //! It is supposed that NbVariables = 1. 0048 Standard_EXPORT Standard_Integer NbVariables() const; 0049 0050 //! returns the number of equations of the function. 0051 Standard_EXPORT Standard_Integer NbEquations() const; 0052 0053 //! computes the values <F> of the functions for the 0054 //! variable <X>. 0055 //! returns True if the computation was done successfully, 0056 //! False otherwise. 0057 //! F contains results only for i<=j in following order: 0058 //! P0*P0, P0*P1, P0*P2... P1*P1, P1*P2,... (upper triangle of 0059 //! matrix {PiPj}) 0060 Standard_EXPORT Standard_Boolean Value (const math_Vector& X, math_Vector& F); 0061 0062 0063 0064 0065 protected: 0066 0067 0068 0069 0070 0071 private: 0072 0073 0074 0075 Handle(PLib_Base) myBase; 0076 Standard_Integer myDerOrder; 0077 Standard_Integer myNbEquations; 0078 0079 0080 }; 0081 0082 0083 0084 0085 0086 0087 0088 #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 |