63a9cb499401a1f05d0bea37b6ef8bf6952dfe5f
[occt.git] / src / AdvApp2Var / AdvApp2Var_Data.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 under
6 // the terms of the GNU Lesser General Public License 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 #ifndef AdvApp2Var_Data_HeaderFile
15 #define AdvApp2Var_Data_HeaderFile
16
17 #ifndef _Standard_Macro_HeaderFile
18 #include <Standard_Macro.hxx>
19 #endif
20
21 #include <AdvApp2Var_Data_f2c.hxx>
22 //
23 struct mdnombr_1_ {
24   doublereal pi, 
25   deuxpi, 
26   pisur2, 
27   pis180, 
28   c180pi, 
29   zero, 
30   one, 
31   a180, 
32   a360, 
33   a90;
34 };
35 //
36 struct minombr_1_ {
37   integer nbr[1001];
38 };
39 //
40 struct maovpar_1_ {
41   doublereal r8und, r8ovr, x4und, x4ovr;
42     real r4und, r4ovr;
43   integer r4nbe, r8nbm, r8nbe, i4ovr, i4ovn, r4exp, r8exp, r4exn, r8exn, 
44   r4ncs, r8ncs, r4nbm;
45   shortint i2ovr, i2ovn;
46 };
47 //
48 struct maovpch_1_ {
49   char cnmmac[16], frmr4[8], frmr8[8], cdcode[8];
50 };
51 //
52 struct mlgdrtl_1_ {
53     doublereal rootab[930],// was [465][2]  
54     hiltab[930],// was [465][2]  
55     hi0tab[31];
56   };
57 //
58 struct mmjcobi_1_ {
59     doublereal plgcan[3968];// was [496][2][4]  
60     doublereal canjac[3968];// was [496][2][4] 
61 };
62 //
63 struct mmcmcnp_1_ {
64   doublereal cnp[3721]; // was [61][61] ;
65 };
66 //
67 struct mmapgss_1_ {
68   doublereal gslxjs[5017], 
69   gsl0js[52];
70 };
71 //
72 struct mmapgs0_1_ {
73   doublereal gslxj0[4761], gsl0j0[49];
74 };
75 //
76 struct mmapgs1_1_ {
77   doublereal gslxj1[4505], gsl0j1[46];
78 };
79 //
80 struct mmapgs2_1_ {
81   doublereal gslxj2[4249], gsl0j2[43];
82 };
83 ////
84 class AdvApp2Var_Data {
85  public: 
86   
87   Standard_EXPORT static mdnombr_1_& Getmdnombr();
88   Standard_EXPORT static minombr_1_& Getminombr();
89   Standard_EXPORT static maovpar_1_& Getmaovpar();
90   Standard_EXPORT static maovpch_1_& Getmaovpch();
91   Standard_EXPORT static mlgdrtl_1_& Getmlgdrtl();
92   Standard_EXPORT static mmjcobi_1_& Getmmjcobi();
93   Standard_EXPORT static mmcmcnp_1_& Getmmcmcnp();
94   Standard_EXPORT static mmapgss_1_& Getmmapgss();
95   Standard_EXPORT static mmapgs0_1_& Getmmapgs0();
96   Standard_EXPORT static mmapgs1_1_& Getmmapgs1();
97   Standard_EXPORT static mmapgs2_1_& Getmmapgs2();
98  
99 };
100 //
101 #define mdnombr_ AdvApp2Var_Data::Getmdnombr()
102 #define minombr_ AdvApp2Var_Data::Getminombr()
103 #define maovpar_ AdvApp2Var_Data::Getmaovpar()
104 #define maovpch_ AdvApp2Var_Data::Getmaovpch()
105 #define mlgdrtl_ AdvApp2Var_Data::Getmlgdrtl()
106 #define mmjcobi_ AdvApp2Var_Data::Getmmjcobi()
107 #define mmcmcnp_ AdvApp2Var_Data::Getmmcmcnp()
108 #define mmapgss_ AdvApp2Var_Data::Getmmapgss()
109 #define mmapgs0_ AdvApp2Var_Data::Getmmapgs0()
110 #define mmapgs1_ AdvApp2Var_Data::Getmmapgs1()
111 #define mmapgs2_ AdvApp2Var_Data::Getmmapgs2()
112 //
113 #endif