0024624: Lost word in license statement in source files
[occt.git] / src / AdvApp2Var / AdvApp2Var_MathBase_mathinit.cxx
1 // Created on: 1996-05-21
2 // Created by: Philippe MANGIN
3 // Copyright (c) 1996-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #include <AdvApp2Var_SysBase.hxx>
18 #include <AdvApp2Var_MathBase.hxx>
19
20
21 static integer init_STMAT(void)
22 {
23   // Init PRCSN
24   doublereal  EPSIL1 =1.e-9,
25           EPSIL2=1.e-8,
26           EPSIL3=1.e-9,
27           EPSIL4=1.e-4;
28   integer NITER1=8,
29           NITER2=40;
30   AdvApp2Var_MathBase::mmwprcs_(&EPSIL1, 
31                                 &EPSIL2, 
32                                 &EPSIL3, 
33                                 &EPSIL4, 
34                                 &NITER1, 
35                                 &NITER2);
36
37   return 1;
38 }
39
40   class STMATLibInit
41  {
42    static integer var_STMATLibINIT;
43  };
44
45 integer STMATLibInit::var_STMATLibINIT = init_STMAT();
46