Revision 1107 trunk/src/df1b2-separable/f1b2locl.cpp

f1b2locl.cpp (revision 1107)
2 2
 * $Id$
3 3
 *
4 4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California 
5
 * Copyright (c) 2008-2012 Regents of the University of California
6 6
 */
7 7
/**
8 8
 * \file
......
18 18
 * \param
19 19
 */
20 20
void local_init_df1b2variable::dot_calcs(local_dep_df1b2variable& v,int j)
21
{ 
21
{
22 22
  if (adpool_stack_pointer<1)
23 23
  {
24 24
    cerr << "this can't happen" << endl;
......
71 71
{
72 72
  ADUNCONST(df1b2variable,x)
73 73
  p=&_x;
74
  xu=*(x.get_u()); 
74
  xu=*(x.get_u());
75 75
}
76 76

  
77 77
/**
......
90 90
  df1b2variable::noallocate=0;
91 91
}
92 92

  
93
 
94 93
 // #define USE_BARD_PEN
95 94
 // class newadkludge;
96 95
 // extern newadkludge * newadkl=0;
97
 // 
98
 // 
96
 //
97
 //
99 98
  typedef local_init_var  * PLOCAL_INIT_VAR;
100
 // 
99
 //
101 100
 // class laplace_approximation_calculator;
102 101
 // laplace_approximation_calculator * funnel_init_var::lapprox=0;
103 102
 // df1b2variable * funnel_init_var::funnel_constraints_penalty=0;
......
110 109
  local_init_var ** local_init_var::inactive_list=new PLOCAL_INIT_VAR[200];
111 110
  init_df1b2vector * local_init_var::py=0;
112 111
  imatrix * local_init_var::plist=0;
113
 // 
112
 //
114 113
 // void  xxx(init_df1b2vector & tmp,int x){;}
115
 // 
114
 //
116 115

  
117 116
/**
118 117
 * Description not yet available.
......
124 123
    list[num_vars++]=this;
125 124
    //all_list[num_all_vars++]=this;
126 125
  }
127
 // 
126
 //
128 127
 // void funnel_init_var::delete_from_list(void)
129 128
 // {
130 129
 //   if (index!=num_vars-1)
......
135 134
 //   num_vars--;
136 135
 //   index=-1;
137 136
 // }
138
 // 
137
 //
139 138

  
140 139
/**
141 140
 * Description not yet available.
......
155 154
  {
156 155
    //cout << "In allocate" << endl;
157 156
  }
158
  
157

  
159 158
/**
160 159
 * Description not yet available.
161 160
 * \param
......
163 162
  void local_init_var::allocate_all(void)
164 163
  {
165 164
    num_active_parameters=local_init_var::nvarcalc_all();
166
    if (py) 
165
    if (py)
167 166
    {
168 167
      if (py->indexmax() != num_active_parameters)
169 168
      {
......
171 170
        py=0;
172 171
      }
173 172
    }
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff