58cb51f1e8822bb34225a6be4e23e245777c7e00
[occt.git] / src / AdvApp2Var / AdvApp2Var_ApproxF2var.hxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and / or modify it
6 // under the terms of the GNU Lesser General Public version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14 // AdvApp2Var_ApproxF2var.hxx
15 /*---------------------------------------------------------------
16 |  description de la macro et du prototype des routines 
17 |  de l'approximation a deux variables
18 |  a utiliser dans AdvApp2Var
19 |--------------------------------------------------------------*/
20 #ifndef ApproxF2var_HeaderFile
21 #define ApproxF2var_HeaderFile
22
23 #include <Standard_Macro.hxx>
24 #include <AdvApp2Var_Data_f2c.hxx>
25 #include <AdvApp2Var_EvaluatorFunc2Var.hxx>
26 //
27 class AdvApp2Var_ApproxF2var {
28  public:
29   
30 Standard_EXPORT static int mma2fnc_(integer *ndimen, 
31                                     integer *nbsesp, 
32                                     integer *ndimse, 
33                                     doublereal *uvfonc, 
34                                     const AdvApp2Var_EvaluatorFunc2Var& foncnp,
35                                     doublereal *tconst, 
36                                     integer *isofav, 
37                                     integer *nbroot, 
38                                     doublereal *rootlg, 
39                                     integer *iordre, 
40                                     integer *ideriv, 
41                                     integer *ndgjac, 
42                                     integer *nbcrmx, 
43                                     integer *ncflim, 
44                                     doublereal *epsapr, 
45                                     integer *ncoeff, 
46                                     doublereal *courbe, 
47                                     integer *nbcrbe, 
48                                     doublereal *somtab, 
49                                     doublereal *diftab, 
50                                     doublereal *contr1, 
51                                     doublereal *contr2, 
52                                     doublereal *tabdec, 
53                                     doublereal *errmax, 
54                                     doublereal *errmoy, 
55                                     integer *iercod);
56
57
58 Standard_EXPORT static int mma2roo_(integer *nbpntu, 
59                                     integer *nbpntv, 
60                                     doublereal *urootl, 
61                                     doublereal *vrootl);
62
63
64 Standard_EXPORT static int mma2jmx_(integer *ndgjac, 
65                                     integer *iordre, 
66                                     doublereal *xjacmx);
67
68 Standard_EXPORT static int mmapptt_(const integer * , 
69                                     const integer * , 
70                                     const integer *  , 
71                                     doublereal * , 
72                                     integer * );
73
74 Standard_EXPORT static int mma2cdi_(integer *ndimen, 
75                                     integer *nbpntu, 
76                                     doublereal *urootl, 
77                                     integer *nbpntv, 
78                                     doublereal *vrootl, 
79                                     integer *iordru, 
80                                     integer *iordrv, 
81                                     doublereal *contr1, 
82                                     doublereal *contr2, 
83                                     doublereal *contr3, 
84                                     doublereal *contr4, 
85                                     doublereal *sotbu1, 
86                                     doublereal *sotbu2, 
87                                     doublereal *ditbu1, 
88                                     doublereal *ditbu2, 
89                                     doublereal *sotbv1, 
90                                     doublereal *sotbv2, 
91                                     doublereal *ditbv1, 
92                                     doublereal *ditbv2, 
93                                     doublereal *sosotb, 
94                                     doublereal *soditb, 
95                                     doublereal *disotb, 
96                                     doublereal *diditb, 
97                                     integer *iercod);
98
99
100 Standard_EXPORT static int mma2ds1_(integer *ndimen, 
101                                     doublereal *uintfn, 
102                                     doublereal *vintfn,
103                                     const AdvApp2Var_EvaluatorFunc2Var& foncnp,
104                                     integer *nbpntu, 
105                                     integer *nbpntv, 
106                                     doublereal *urootb, 
107                                     doublereal *vrootb,
108                                     integer *isofav,
109                                     doublereal *sosotb,
110                                     doublereal *disotb,
111                                     doublereal *soditb,
112                                     doublereal *diditb,
113                                     doublereal *fpntab, 
114                                     doublereal *ttable,
115                                     integer *iercod);
116
117 Standard_EXPORT static int mma2ce1_(integer *numdec, 
118                                     integer *ndimen, 
119                                     integer *nbsesp, 
120                                     integer *ndimse, 
121                                     integer *ndminu, 
122                                     integer *ndminv, 
123                                     integer *ndguli, 
124                                     integer *ndgvli, 
125                                     integer *ndjacu, 
126                                     integer *ndjacv, 
127                                     integer *iordru, 
128                                     integer *iordrv, 
129                                     integer *nbpntu, 
130                                     integer *nbpntv, 
131                                     doublereal *epsapr, 
132                                     doublereal *sosotb, 
133                                     doublereal *disotb, 
134                                     doublereal *soditb, 
135                                     doublereal *diditb, 
136                                     doublereal *patjac, 
137                                     doublereal *errmax, 
138                                     doublereal *errmoy, 
139                                     integer *ndegpu, 
140                                     integer *ndegpv, 
141                                     integer *itydec, 
142                                     integer *iercod);
143
144
145 Standard_EXPORT static int mma2can_(const integer *  , 
146                                   const integer *  , 
147                                   const integer *  ,
148                                   const integer *  , 
149                                   const integer *  ,
150                                   const integer *  , 
151                                   const integer *  , 
152                                   const doublereal *,
153                                   doublereal * , 
154                                   doublereal * , 
155                                   integer *  );
156
157
158 Standard_EXPORT static int mma1her_(const integer *  , 
159                                     doublereal * , 
160                                     integer *   );
161
162
163 Standard_EXPORT static int mma2ac2_(const integer *  , 
164                                    const integer *  , 
165                                    const integer *  , 
166                                    const integer *  , 
167                                    const integer *  , 
168                                    const integer * , 
169                                    const doublereal * ,
170                                    const integer *  , 
171                                    const doublereal * , 
172                                    const doublereal * ,
173                                    doublereal * );
174
175
176 Standard_EXPORT static int mma2ac3_(const integer * , 
177                                    const integer *  , 
178                                    const integer *  , 
179                                    const integer *  , 
180                                    const integer *  , 
181                                    const integer *  ,
182                                    const doublereal * ,
183                                    const integer *  , 
184                                    const doublereal * ,
185                                    const doublereal * ,
186                                    doublereal * );
187
188
189 Standard_EXPORT static int mma2ac1_(const integer *  , 
190                                    const integer *  , 
191                                    const integer *  , 
192                                    const integer *  ,
193                                    const integer *  , 
194                                    const doublereal * , 
195                                    const doublereal * ,
196                                    const doublereal * ,
197                                    const doublereal * ,
198                                    const doublereal * , 
199                                    const doublereal * , 
200                                    doublereal * );
201
202
203 Standard_EXPORT static int mma2fx6_(integer *ncfmxu,
204                                     integer *ncfmxv, 
205                                     integer *ndimen, 
206                                     integer *nbsesp, 
207                                     integer *ndimse, 
208                                     integer *nbupat, 
209                                     integer *nbvpat, 
210                                     integer *iordru, 
211                                     integer *iordrv, 
212                                     doublereal *epsapr, 
213                                     doublereal *epsfro, 
214                                     doublereal *patcan, 
215                                     doublereal *errmax, 
216                                     integer *ncoefu, 
217                                     integer *ncoefv);
218 };
219
220 #endif