Revision 1930

trunk/src/nh99/admodel.h (revision 1930)
1851 1851
  virtual void constraints_minimize(void);
1852 1852
  virtual void between_phases_calculations(void){;}
1853 1853
  void computations(int argc,char * argv[]);
1854
  void computationsx(int argc,char * argv[]);
1855 1854
  void computations1(int argc,char * argv[]);
1856 1855
  void computations_np(int argc,char * argv[]);
1857 1856
  void computations(void);
trunk/src/nh99/modspmin.cpp (revision 1930)
15 15
#  include <windows.h>
16 16
#endif
17 17

  
18
/*
19
static int return_int(int * v)
20
{
21
  if (*v==1011)
22
    return 1912;
23
  else
24
    return 1831;
25
}
26
*/
27

  
28 18
void ADSleep(int x);
29 19

  
30 20
  void check_java_flags(int& start_flag,int& quit_flag,int& der_flag,
......
46 36
class admb_javapointers;
47 37
extern admb_javapointers * adjm_ptr;
48 38

  
49
//  static int try_it_again(int stupid_flag);
50

  
51
#if defined(ADMB_REDEMO)
52
  static int q830=830;
53
  int ** pflag1;
54
  int ** pflag2;
55
  int ** pflag3;
56
  int ** pflag4;
57
  int ** pflag5;
58
  int * qflag1;
59
  int * qflag2;
60
  int * qflag3;
61
  int * qflag4;
62
  int * qflag5;
63
  int flag1=10;
64
  int flag2=11;
65
  int flag3=12;
66
  int flag4=13;
67
  int flag5=14;
68
#endif
69

  
70
  void extra_random_effects_generator1(void);
71
  void extra_random_effects_generator2(void);
72
  void extra_random_effects_generator3(void);
73

  
74 39
  void function_minimizer::computations(int argc,char * argv[])
75 40
  {
76 41
    //traceflag=1;
......
101 66
     // cleanup_laplace_stuff(lapprox);
102 67
#   endif
103 68
  }
104
int something_105=0;
105 69

  
106
int kill_flag_105=901;
107
int kill_flag_107=901;
108

  
109
  void function_minimizer::computationsx(int argc,char * argv[])
110
  {
111
#if !defined(ADMB_REDEMO)
112
    ad_exit(0);
113
#endif
114
    //int *  xflag_105=0;
115
#if defined(ADMB_REDEMO)
116
    int f03=503;
117
    kill_address=&stupid_flag;
118
    int two=2;
119
    int* xflag_105=&something_105;
120
#endif
121
    tracing_message(traceflag,"A1");
122
    //if (option_match(argc,argv,"-gui")>-1)
123
    //{
124
    //  vm_initialize();
125
    //  cout << " called vm_initialize() " << endl;
126
    //}
127
#if defined (AD_DEMO)
128
     write_banner_stuff();
129
#endif
130
    if (option_match(argc,argv,"-mceval") == -1)
131
    {
132
      //negative_eigenvalue_flag=0;
133
      //do
134
#if defined(ADMB_REDEMO)
135
      for (int ic1=1;ic1<=1000;ic1++)
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff