Skip to content

Commit

Permalink
Merge pull request #468 from jfussbro/enhancement-curved_output_for_g…
Browse files Browse the repository at this point in the history
…eometry_example

Enhancement curved output for geometry example
  • Loading branch information
sandro-elsweijer authored Mar 13, 2023
2 parents 46e62d6 + 2ea800c commit 7473f5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/author_fussbroich.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I place my contributions to t8code under the FreeBSD license. Sandro Elsweijer ([email protected])
5 changes: 3 additions & 2 deletions example/geometry/t8_example_geometries.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -961,8 +961,9 @@ t8_analytic_geom (int level, t8_example_geom_type geom_type)
forest = forest_adapt;
}

/* Write to vtk */
t8_forest_write_vtk (forest, vtuname);
/* Write to vtk. We use the extended vtk function to export a curved vtk mesh.
* This is only viable if you link to vtk. */
t8_forest_write_vtk_ext (forest, vtuname, 1, 1, 1, 1, 0, 1, 0, 0, NULL);
/* Output */
t8_global_productionf ("Wrote forest to vtu files %s.*\n", vtuname);
if (geom_type == T8_GEOM_CIRCLE) {
Expand Down

0 comments on commit 7473f5e

Please sign in to comment.