File indexing completed on 2025-01-18 10:03:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _FEmTool_ElementaryCriterion_HeaderFile
0018 #define _FEmTool_ElementaryCriterion_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <TColStd_HArray2OfReal.hxx>
0023 #include <Standard_Real.hxx>
0024 #include <Standard_Transient.hxx>
0025 #include <TColStd_HArray2OfInteger.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <math_Vector.hxx>
0028 class math_Matrix;
0029
0030
0031 class FEmTool_ElementaryCriterion;
0032 DEFINE_STANDARD_HANDLE(FEmTool_ElementaryCriterion, Standard_Transient)
0033
0034
0035 class FEmTool_ElementaryCriterion : public Standard_Transient
0036 {
0037
0038 public:
0039
0040 Standard_EXPORT FEmTool_ElementaryCriterion();
0041
0042
0043 Standard_EXPORT void Set (const Handle(TColStd_HArray2OfReal)& Coeff);
0044
0045
0046 Standard_EXPORT virtual void Set (const Standard_Real FirstKnot, const Standard_Real LastKnot);
0047
0048
0049 Standard_EXPORT virtual Handle(TColStd_HArray2OfInteger) DependenceTable() const = 0;
0050
0051
0052 Standard_EXPORT virtual Standard_Real Value() = 0;
0053
0054
0055
0056
0057
0058 Standard_EXPORT virtual void Hessian (const Standard_Integer Dim1, const Standard_Integer Dim2, math_Matrix& H) = 0;
0059
0060
0061
0062 Standard_EXPORT virtual void Gradient (const Standard_Integer Dim, math_Vector& G) = 0;
0063
0064
0065
0066
0067 DEFINE_STANDARD_RTTIEXT(FEmTool_ElementaryCriterion,Standard_Transient)
0068
0069 protected:
0070
0071
0072 Handle(TColStd_HArray2OfReal) myCoeff;
0073 Standard_Real myFirst;
0074 Standard_Real myLast;
0075
0076
0077 private:
0078
0079
0080
0081
0082 };
0083
0084
0085
0086
0087
0088
0089
0090 #endif