#endif
if (reversed_numbering)
- for (std::vector<unsigned int>::iterator i=new_number.begin(); i!=new_number.end(); ++i)
- *i = n_dofs-*i;
+ for (std::vector<unsigned int>::iterator i=new_number.begin();
+ i!=new_number.end(); ++i)
+ *i = n_dofs-*i-1;
// actually perform renumbering;
// this is dimension specific and
<h2>Changes between versions 3.1 and 3.1.1</h2>
<ol>
+ <li> <p>
+ Fixed: the <code
+ class="member">DoFRenumbering::Cuthill_McKee</code> function
+ did not work correctly when giving the <code
+ class="member">reversed_numbering</code> flag (off-by-one
+ indexing). This is now fixed.
+ <br>
+ (<a href="mailto:or@winfos.com">Oliver Rheinbach</a> 2001/04/12)
+ </p>
+
<li> <p>
Fixed: When using Neuman boundary functions in the
<code class="class">KellyErrorEstimator</code> class, it was
<h3>deal.II</h3>
<ol>
+ <li> <p>
+ Fixed: the <code
+ class="member">DoFRenumbering::Cuthill_McKee</code> function
+ did not work correctly when giving the <code
+ class="member">reversed_numbering</code> flag (off-by-one
+ indexing). This is now fixed.
+ <br>
+ (<a href="mailto:or@winfos.com">Oliver Rheinbach</a> 2001/04/12)
+ </p>
+
<li> <p>
Changed: A <code class="class">typedef FunctionMap</code> was
declared in at least four places previously (in classes <code
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