From 9ae5d4f61f42c5556c1303c433e1b65d30a3a11f Mon Sep 17 00:00:00 2001 From: Vincent Wang Date: Sat, 21 Sep 2024 21:54:10 -0500 Subject: [PATCH] update meshdata_to_vtk docs --- src/mesh/mesh_visualization.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesh/mesh_visualization.jl b/src/mesh/mesh_visualization.jl index 3022d004..2659e657 100644 --- a/src/mesh/mesh_visualization.jl +++ b/src/mesh/mesh_visualization.jl @@ -73,12 +73,12 @@ RecipesBase.@recipe function f(m::VertexMeshPlotter{2}) end """ - MeshData_to_vtk(md, rd, dim, data, dataname, datatype, filename, write_data = false, equi_dist_nodes = true) + MeshData_to_vtk(md, rd, data, dataname, datatype, filename, write_data = false, equi_dist_nodes = true) Translate the given mesh into a vtk-file. `md` holds a `MeshData` object `rd` holds a reference element data/`RefElemData` object. -`data` holds an array of arrays (of size `num_nodes` by `num_elements`) with plotting data +`data` holds an array of matrices (of size `num_nodes` by `num_elements`) with plotting data `dataname` is an array of strings with name of the associated data `write_data`, flag if data should be written or not (e.g., if data is not written, only the mesh will be saved as output) `equi_dist_nodes` flag if points should be interpolated to equidstant nodes @@ -114,12 +114,12 @@ function MeshData_to_vtk(md::MeshData, rd::RefElemData{DIM}, data, dataname, fil end """ -MeshData_to_vtk(md, rd, dim, data, dataname, datatype, filename, write_data = false, equi_dist_nodes = true) +MeshData_to_vtk(md, rd, data, dataname, datatype, filename, write_data = false, equi_dist_nodes = true) Translate the given mesh into a vtk-file. `md` holds a `MeshData` object `rd` holds a reference element data/`RefElemData` of a TensorProductWedge -`data` holds an array of arrays (of size `num_nodes` by `num_elements`) with plotting data +`data` holds an array of matrices (of size `num_nodes` by `num_elements`) with plotting data `dataname` is an array of strings with name of the associated data `write_data`, flag if data should be written or not (e.g., if data is not written, only the mesh will be saved as output) `equi_dist_nodes` flag if points should be interpolated to equidstant nodes