Grid output

Base.writeFunction
write(fname::String, g::ExtendableGrid; format, kwargs...)

Write grid to file. Supported formats:

  • "*.sg": pdelib sg format. Keywords:
    • version: format version
  • "*.msh": gmsh grid format
  • "*.dom": WIAS-TeSCA dom format. Keywords:
    • domcodes: Vector of boundary codes per boundary region.

See simplexgrid(::String;kwargs...)

source
ExtendableGrids.writeVTKFunction
writeVTK(
    filename::String,
    grid::ExtendableGrid{Tc, Ti};
    append,
    compress,
    kwargs...
) -> Vector{String}

exports grid and optional provided data as a vtk file

  • filename: filename of the exported file
  • grid: grid

Each '(key, value)' pair adds another data entry to the vtk file via WriteVTK functionality.

For the arguments 'append' and 'compress', see documentation of vtk_grid of WriteVTK.

source