if (cell->face(i)->boundary_indicator() == 255)
continue;
- if (cell->face(i)->center()(0) > 1.-1.e-5)
+ if (cell->face(i)->center()(0) > half_length-1.e-5)
cell->face(i)->set_boundary_indicator(2);
- else if (cell->face(i)->center()(0) < -1.+1.e-5)
+ else if (cell->face(i)->center()(0) < -half_length+1.e-5)
cell->face(i)->set_boundary_indicator(1);
}
++cell;
<ol>
<li> <p>
- Improved: Now the FE_Q class supports elements of arbitrary
- polynomial degree also in 3D.
+ Fixed: The <code>GridGenerator::cylinder</code> function in 3d
+ assigned the wrong boundary value to the top and bottom part of
+ the cylinder if the half length of the cylinder was not equal
+ to 1. This is now fixed.
+ <br>
+ (Ralf Schulz 2004/10/27)
+ </p>
+
+ <li> <p>
+ Improved: Now the <code>FE_Q</code> class supports hanging node
+ constraints for elements of arbitrary polynomial degree also in
+ 3D.
<br>
(Oliver Kayser-Herold 2004/10/21)
</p>
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