function by `GridGenerator::reference_cell(triangulation,
ReferenceCells::Triangle);`. This will give you the following output
in `grid-1.svg`:
- <img src="https://www.dealii.org/images/steps/developer/step-1.grid-1-triangle.png" alt="">
+ <br>
+ <img src="https://www.dealii.org/images/steps/developer/step-1.grid-1-triangle.png" alt="" style="width:25%">
- You can start with a quadrilateral mesh and convert it to a
triangular mesh. For example, in the `first_grid()` function,
triangulation);
@endcode
This produces the following mesh:
- <img src="https://www.dealii.org/images/steps/developer/step-1.grid-1-triangle-2.png" alt="">
+ <br>
+ <img src="https://www.dealii.org/images/steps/developer/step-1.grid-1-triangle-2.png" alt="" style="width:25%">
You can do the same in the `second_grid()` function by replacing
@code
triangulation.set_manifold(i, triangulation_quad.get_manifold(i));
@endcode
This results in this picture:
- <img src="https://www.dealii.org/images/steps/developer/step-1.grid-2-triangle.png" alt="">
+ <br>
+ <img src="https://www.dealii.org/images/steps/developer/step-1.grid-2-triangle.png" alt="" style="width:25%">