Revision 1110 trunk/src/df1b2-separable/f1b2loc2.cpp

f1b2loc2.cpp (revision 1110)
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
......
22 22
{
23 23
  //adpool * tmppool=df1b2variable::pool;
24 24
  //int tmpnvar=df1b2variable::nvar;
25
  //df1b2variable::restore_adpool_pointer(); 
25
  //df1b2variable::restore_adpool_pointer();
26 26
  p=new df1b2variable();
27
  //df1b2variable::save_adpool_pointer(); 
27
  //df1b2variable::save_adpool_pointer();
28 28
  //df1b2variable::pool=tmppool;
29 29
  //df1b2variable::nvar=tmpnvar;
30 30
}
......
42 42
 * Description not yet available.
43 43
 * \param
44 44
 */
45
local_dep_df1b2variable&  local_dep_df1b2variable::operator = 
46
  (const df1b2variable& x)  
45
local_dep_df1b2variable&  local_dep_df1b2variable::operator =
46
  (const df1b2variable& x)
47 47
{
48 48
  df1b2variable::operator = (x);
49 49
  *(p->get_u()) = *get_u();
......
80 80
{
81 81
  ADUNCONST(df1b2variable,x)
82 82
  p=&_x;
83
  xu=*(x.get_u()); 
83
  xu=*(x.get_u());
84 84
}
85 85

  
86 86
/**
......
99 99
  df1b2variable::noallocate=0;
100 100
}
101 101

  
102
 
103 102
 // #define USE_BARD_PEN
104 103
 // class newadkludge;
105 104
 // extern newadkludge * newadkl=0;
106
 // 
107
 // 
105
 //
106
 //
108 107
  typedef local_dep_var  * PLOCAL_INIT_VAR;
109
 // 
108
 //
110 109
 // class laplace_approximation_calculator;
111 110
 // laplace_approximation_calculator * funnel_dep_var::lapprox=0;
112 111
 // df1b2variable * funnel_dep_var::funnel_constraints_penalty=0;
......
119 118
  local_dep_var ** local_dep_var::inactive_list=new PLOCAL_INIT_VAR[200];
120 119
  //dep_df1b2vector * local_dep_var::py=0;
121 120
  imatrix * local_dep_var::plist=0;
122
 // 
121
 //
123 122
 // void  xxx(dep_df1b2vector & tmp,int x){;}
124
 // 
123
 //
125 124
/**
126 125
 * Description not yet available.
127 126
 * \param
......
132 131
    list[num_vars++]=this;
133 132
    //all_list[num_all_vars++]=this;
134 133
  }
135
 // 
134
 //
136 135
 // void funnel_dep_var::delete_from_list(void)
137 136
 // {
138 137
 //   if (index!=num_vars-1)
......
143 142
 //   num_vars--;
144 143
 //   index=-1;
145 144
 // }
146
 // 
145
 //
147 146

  
148 147
/**
149 148
 * Description not yet available.
......
164 163
    local_dep_var::deallocate_all();
165 164
    reset_counters();
166 165
    f1b2gradlist=globalf1b2gradlist;
167
    df1b2_gradlist::set_yes_derivatives();  
166
    df1b2_gradlist::set_yes_derivatives();
168 167
    df1b2variable::restore_adpool_pointer();
169 168
  }
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff