Skip to content

Commit

Permalink
Rename VTKFile to VTKGridFile
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM committed Aug 8, 2024
1 parent cf7e8bf commit d6f2771
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/figure_factory/grid_domains.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function save_as_vtk()
end
end

VTKFile(joinpath(@__DIR__, "..", "..", "DomainSpecs"), grid) do vtk
VTKGridFile(joinpath(@__DIR__, "..", "..", "DomainSpecs"), grid) do vtk
write_cell_data(vtk, cell_type_data, "cell_type_data")
write_cell_data(vtk, cell_physical_domains, "cell_physical_domains")
write_cell_data(vtk, cell_work_domains, "cell_work_domains")
Expand Down
2 changes: 1 addition & 1 deletion docs/src/literate_howto/robin_bc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ work!(assembler, domainbuffer; a=a);
# ## Visualizing the BC
# To visualize the output, we can export the vtk the residual, showing how
# contributions have been added to the boundary.
VTKFile("RobinBC", grid) do vtk
VTKGridFile("RobinBC", grid) do vtk
write_solution(vtk, dh, r)
end;

2 changes: 1 addition & 1 deletion docs/src/literate_tutorials/heat_equation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ apply_zero!(K, r, ch)

# Finally, we can solve the problem and save the results
a = -K\r
VTKFile("heat_equation", grid) do vtk
VTKGridFile("heat_equation", grid) do vtk
write_solution(vtk, dh, a)
end;

Expand Down
2 changes: 1 addition & 1 deletion docs/src/literate_tutorials/iga.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ projector = L2Projector(ip, grid)
σ_nodes = IGA.igaproject(projector, cellstresses.s, qr_cell; project_to_nodes=true);

# Output results to VTK
VTKFile("plate_with_hole.vtu", grid) do vtk
VTKGridFile("plate_with_hole.vtu", grid) do vtk
write_solution(vtk, dh, a)
write_node_data(vtk, σ_nodes, "sigma", grid)
end
Expand Down
2 changes: 1 addition & 1 deletion docs/src/literate_tutorials/incompressible_elasticity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function solve(;ν, ipu, ipp)
## Export the results
filename = "cook_" * (isa(ipu, Lagrange{2,RefTetrahedron,1}) ? "linear" : "quadratic") *
"_linear"
VTKFile(filename, dh) do vtk
VTKGridFile(filename, dh) do vtk
write_solution(vtk, dh, u)
end
return u
Expand Down

0 comments on commit d6f2771

Please sign in to comment.