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

f1b2loc3.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
......
26 26
{
27 27
  num_active_parameters=local_init_pass1_var::nvarcalc_all();
28 28

  
29
  df1b2variable::save_adpool_pointer(); 
29
  df1b2variable::save_adpool_pointer();
30 30
  adpool * tmppool=df1b2variable::pool;
31 31
  if (!localf1b2gradlist)
32 32
  {
......
40 40
  }
41 41
  globalf1b2gradlist=f1b2gradlist;
42 42
  f1b2gradlist=localf1b2gradlist;
43
 
43

  
44 44
  if (tmppool)
45 45
  {
46 46
    //cout << tmppool << endl;
......
90 90
        {
91 91
          cerr << "Memory allocation error" << endl;
92 92
          ad_exit(1);
93
        } 
93
        }
94 94

  
95 95
        df1b2variable::nvar=num_active_parameters;
96 96
        df1b2variable::set_blocksize();
......
106 106
          df1b2variable::pool->on_adpool_vector()=1;
107 107
        }
108 108

  
109
      }    
109
      }
110 110
    }
111 111
  }
112 112
  else
......
116 116
    {
117 117
      cerr << "Memory allocation error" << endl;
118 118
      ad_exit(1);
119
    } 
119
    }
120 120
    df1b2variable::nvar=num_active_parameters;
121 121
    df1b2variable::set_blocksize();
122 122
    df1b2variable::adpool_vector[df1b2variable::adpool_counter]=
......
162 162
 * \param
163 163
 */
164 164
void local_init_pass1_df1b2variable::dot_calcs(local_dep_df1b2variable& v,int j)
165
{ 
165
{
166 166
  if (adpool_stack_pointer<1)
167 167
  {
168 168
    cerr << "this can't happen" << endl;
......
208 208
 * Description not yet available.
209 209
 * \param
210 210
 */
211
local_init_pass1_df1b2variable::local_init_pass1_df1b2variable(double _xu,double* _xudot) 
211
local_init_pass1_df1b2variable::local_init_pass1_df1b2variable(double _xu,double* _xudot)
212 212
{
213
  xu=_xu; 
214
  *get_u()=_xu; 
213
  xu=_xu;
214
  *get_u()=_xu;
215 215
  xudot=_xudot;
216 216
}

Also available in: Unified diff