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