Revision 1108 trunk/src/nh99/shared1.cpp

shared1.cpp (revision 1108)
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
#include <admodel.h>
8
 
8

  
9 9
#  if defined(USE_SHARE_FLAGS)
10 10
/*
11 11
  static int integer(const index_type& it)
......
68 68
    {
69 69
      int  jmin=bmap(i).indexmin();
70 70
      int  jmax=bmap(i).indexmax();
71
  
71

  
72 72
      int ii1;
73 73
      for (int j=jmin;j<=jmax;j++)
74 74
      {
75 75
        dvar_vector& v=(*this)(bmap(i,j,1),bmap(i,j,2));
76
  
76

  
77 77
        int kmin=v.indexmin();
78 78
        int kmax=v.indexmax();
79
  
79

  
80 80
        ii1=ii;
81 81
        for (int k=kmin;k<=kmax;k++)
82 82
        {
......
124 124
    }
125 125
  }
126 126
#  endif
127
 
128

  

Also available in: Unified diff