7fd59977 |
1 | // File: GProp_TFunction.lxx |
2 | // Created: Wed Dec 21 10:47:36 2005 |
3 | // Author: Sergey KHROMOV |
4 | // <skv@dimox> |
5 | |
6 | |
7 | //======================================================================= |
8 | //function : SetNbKronrodPoints |
9 | //purpose : |
10 | //======================================================================= |
11 | |
12 | inline void GProp_TFunction::SetNbKronrodPoints |
13 | (const Standard_Integer theNbPoints) |
14 | { |
15 | myNbPntOuter = (theNbPoints%2 == 0) ? theNbPoints + 1 : theNbPoints; |
16 | } |
17 | |
18 | //======================================================================= |
19 | //function : SetValueType |
20 | //purpose : |
21 | //======================================================================= |
22 | |
23 | inline void GProp_TFunction::SetValueType(const GProp_ValueType theType) |
24 | { |
25 | myValueType = theType; |
26 | myUFunction.SetValueType(myValueType); |
27 | } |
28 | |
29 | //======================================================================= |
30 | //function : SetTolerance |
31 | //purpose : |
32 | //======================================================================= |
33 | |
34 | inline void GProp_TFunction::SetTolerance(const Standard_Real theTolerance) |
35 | { |
36 | myTolerance = theTolerance; |
37 | } |
38 | |
39 | //======================================================================= |
40 | //function : TolReached |
41 | //purpose : |
42 | //======================================================================= |
43 | |
44 | inline Standard_Real GProp_TFunction::ErrorReached() const |
45 | { |
46 | return myErrReached; |
47 | } |
48 | |
49 | //======================================================================= |
50 | //function : ErrorReached |
51 | //purpose : |
52 | //======================================================================= |
53 | |
54 | inline Standard_Real GProp_TFunction::AbsolutError() const |
55 | { |
56 | return myAbsError; |
57 | } |