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

df1b2fn3.cpp (revision 1110)
33 33
  {
34 34
    *derout << "           ---------------------------------------- " << endl;
35 35
  }
36
  *derout << "Function: " << s << " " << "f = " << f 
37
          << " df = " << df << " d2f = " << d2f << " d3f = " << d3f << endl; 
36
  *derout << "Function: " << s << " " << "f = " << f
37
          << " df = " << df << " d2f = " << d2f << " d3f = " << d3f << endl;
38 38
}
39 39

  
40 40
/**
......
51 51
  {
52 52
    *derout << endl << "           --------------------------------- " << endl;
53 53
  }
54
  *derout << "Function: " << s << " " << "f = " << f 
55
          << " df1 = " << df1 
56
          << " df2 = " << df2 
57
          << " df11 = " << df11 
58
          << " df12 = " << df12 
59
          << " df22 = " << df22 
54
  *derout << "Function: " << s << " " << "f = " << f
55
          << " df1 = " << df1
56
          << " df2 = " << df2
57
          << " df11 = " << df11
58
          << " df12 = " << df12
59
          << " df22 = " << df22
60 60
          << " df111 = " << df111
61 61
          << " df112 = " << df112
62 62
          << " df122 = " << df122
63
          << " df222 = " << df222 << endl; 
63
          << " df222 = " << df222 << endl;
64 64
}
65 65

  
66 66
/**
......
68 68
 * \param
69 69
 */
70 70
void print_derivatives(df1b2_header * px,const char * s,
71
  int bflag) 
71
  int bflag)
72 72
{
73 73
  int i;
74 74
  ostream * derout;
......
79 79
    *derout << endl << "           --------------------------------- " << endl;
80 80
  }
81 81
  *derout << "pass " << df1b2variable::passnumber;
82
  *derout << "  variable " << s << "  address " 
82
  *derout << "  variable " << s << "  address "
83 83
          << int(px->u) << endl;
84 84
  *derout << "u\t\t = " << *px->u << " ";
85 85
  *derout << endl;
86 86

  
87 87
  *derout << "udot\t\t = ";
88
  for (i=0;i<df1b2variable::nvar;i++) 
88
  for (i=0;i<df1b2variable::nvar;i++)
89 89
    *derout <<  px->u_dot[i] << " ";
90 90
  *derout << endl;
91 91

  
92 92
  *derout << "u_bar\t\t = ";
93
  for (i=0;i<df1b2variable::nvar;i++) 
93
  for (i=0;i<df1b2variable::nvar;i++)
94 94
    *derout <<  px->u_bar[i] << " ";
95 95
  *derout << endl;
96 96

  
97 97
  *derout << "u_dot_bar\t = ";
98
  for (i=0;i<df1b2variable::nvar;i++) 
98
  for (i=0;i<df1b2variable::nvar;i++)
99 99
    *derout <<  px->u_dot_bar[i] << " ";
100 100
  *derout << endl;
101 101

  
......
103 103
  {
104 104
    *derout << "u_tilde\t\t = " << *px->u_tilde << " ";
105 105
    *derout << endl;
106
  
106

  
107 107
    *derout << "u_dot_tilde\t = ";
108
    for (i=0;i<df1b2variable::nvar;i++) 
108
    for (i=0;i<df1b2variable::nvar;i++)
109 109
      *derout <<  px->u_dot_tilde[i] << " ";
110 110
    *derout << endl;
111
  
111

  
112 112
    *derout << "u_bar_tilde\t = ";
113
    for (i=0;i<df1b2variable::nvar;i++) 
113
    for (i=0;i<df1b2variable::nvar;i++)
114 114
      *derout <<  px->u_bar_tilde[i] << " ";
115 115
    *derout << endl;
116
  
116

  
117 117
    *derout << "u_dot_bar_tilde\t = ";
118
    for (i=0;i<df1b2variable::nvar;i++) 
118
    for (i=0;i<df1b2variable::nvar;i++)
119 119
      *derout <<  px->u_dot_bar_tilde[i] << " ";
120 120
    *derout << endl;
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff