File indexing completed on 2025-01-18 10:04:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _PLib_DoubleJacobiPolynomial_HeaderFile
0018 #define _PLib_DoubleJacobiPolynomial_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TColStd_HArray1OfReal.hxx>
0025 #include <Standard_Integer.hxx>
0026 class PLib_JacobiPolynomial;
0027
0028
0029
0030 class PLib_DoubleJacobiPolynomial
0031 {
0032 public:
0033
0034 DEFINE_STANDARD_ALLOC
0035
0036
0037 Standard_EXPORT PLib_DoubleJacobiPolynomial();
0038
0039 Standard_EXPORT PLib_DoubleJacobiPolynomial(const Handle(PLib_JacobiPolynomial)& JacPolU, const Handle(PLib_JacobiPolynomial)& JacPolV);
0040
0041 Standard_EXPORT Standard_Real MaxErrorU (const Standard_Integer Dimension, const Standard_Integer DegreeU, const Standard_Integer DegreeV, const Standard_Integer dJacCoeff, const TColStd_Array1OfReal& JacCoeff) const;
0042
0043 Standard_EXPORT Standard_Real MaxErrorV (const Standard_Integer Dimension, const Standard_Integer DegreeU, const Standard_Integer DegreeV, const Standard_Integer dJacCoeff, const TColStd_Array1OfReal& JacCoeff) const;
0044
0045 Standard_EXPORT Standard_Real MaxError (const Standard_Integer Dimension, const Standard_Integer MinDegreeU, const Standard_Integer MaxDegreeU, const Standard_Integer MinDegreeV, const Standard_Integer MaxDegreeV, const Standard_Integer dJacCoeff, const TColStd_Array1OfReal& JacCoeff, const Standard_Real Error) const;
0046
0047 Standard_EXPORT void ReduceDegree (const Standard_Integer Dimension, const Standard_Integer MinDegreeU, const Standard_Integer MaxDegreeU, const Standard_Integer MinDegreeV, const Standard_Integer MaxDegreeV, const Standard_Integer dJacCoeff, const TColStd_Array1OfReal& JacCoeff, const Standard_Real EpmsCut, Standard_Real& MaxError, Standard_Integer& NewDegreeU, Standard_Integer& NewDegreeV) const;
0048
0049 Standard_EXPORT Standard_Real AverageError (const Standard_Integer Dimension, const Standard_Integer DegreeU, const Standard_Integer DegreeV, const Standard_Integer dJacCoeff, const TColStd_Array1OfReal& JacCoeff) const;
0050
0051 Standard_EXPORT void WDoubleJacobiToCoefficients (const Standard_Integer Dimension, const Standard_Integer DegreeU, const Standard_Integer DegreeV, const TColStd_Array1OfReal& JacCoeff, TColStd_Array1OfReal& Coefficients) const;
0052
0053
0054 Handle(PLib_JacobiPolynomial) U() const;
0055
0056
0057 Handle(PLib_JacobiPolynomial) V() const;
0058
0059
0060 Handle(TColStd_HArray1OfReal) TabMaxU() const;
0061
0062
0063 Handle(TColStd_HArray1OfReal) TabMaxV() const;
0064
0065
0066
0067
0068 protected:
0069
0070
0071
0072
0073
0074 private:
0075
0076
0077
0078 Handle(PLib_JacobiPolynomial) myJacPolU;
0079 Handle(PLib_JacobiPolynomial) myJacPolV;
0080 Handle(TColStd_HArray1OfReal) myTabMaxU;
0081 Handle(TColStd_HArray1OfReal) myTabMaxV;
0082
0083
0084 };
0085
0086
0087 #include <PLib_DoubleJacobiPolynomial.lxx>
0088
0089
0090
0091
0092
0093 #endif