<ol>
+ <li> Fixed: step-32 had a piece of code where we accessed an internal
+ representation of how Trilinos vectors are actually stored. This is poor
+ style and has been rewritten.
+ <br>
+ (Wolfgang Bangerth, 2014/03/14)
+ </li>
+
<li> Fixed: ParameterHandler will no longer output an error if the file
to be read ends with "end" without a newline.
<br>
};
double global_temperature[2];
- for (unsigned int i=0; i<distributed_temperature_solution.local_size(); ++i)
+ for (unsigned int i=distributed_temperature_solution.local_range().first;
+ i < distributed_temperature_solution.local_range().second; ++i)
{
temperature[0] = std::min<double> (temperature[0],
- distributed_temperature_solution.trilinos_vector()[0][i]);
+ distributed_temperature_solution(i));
temperature[1] = std::max<double> (temperature[1],
- distributed_temperature_solution.trilinos_vector()[0][i]);
+ distributed_temperature_solution(i));
}
temperature[0] *= -1.0;
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams