Unverified Commit 0e0375d1 authored by Simip's avatar Simip Committed by GitHub
Browse files

Update README.md

parent 08da9513
......@@ -15,7 +15,7 @@ evaluation in arbitrary local coordinates.
Grid grid = ...;
VtkWriter<typename Grid::LeafGridView> vtkWriter(grid.leafGridView());
VtkWriter<typename Grid::LeafGridView> vtkWriter(grid.leafGridView(), Vtk::ASCII);
auto fct = makeAnalyticGridViewFunction([](auto const& x) {
return std::sin(x[0]);
......@@ -24,7 +24,7 @@ auto fct = makeAnalyticGridViewFunction([](auto const& x) {
vtkWriter.addPointData(fct, "u_points");
vtkWriter.addCellData(fct, "u_cells");
vtkWriter.write("filename.vtu", Vtk::ASCII);
See also the `src/` directory for more examples.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment