Navigation

Operators and Keywords

Function List:

C++ API

ovisumesh

Mesh loading, mesh visualization and data visualization are enabled. Possible mesh formats are the ones of Triangle (2D), FreeFem++/medit (2D-3D) and gmsh (2D-3D).

Select category:

Initialization

Initovisumesh
PKG_ADD: Initovisumesh

Graphical functions

selectColors
Inspired by the function select_colors (or distinguishable_colors) of Timothy E.
PlotMesh
Plotting a 2D or 3D mesh
PlotVal
To plot a nodal variable on a 2D mesh
PlotBounds
Plotting boundaries with labels for a 2D or 3D mesh
PlotIsolines
To plot isolines of a scalar field in 2D
Plot3DSurfVal
To display fields corresponding to nodal variables on the surface of a 3D mesh.
FillMesh
To fill a mesh with a unique color
PlotNodeNumber
To display node numbers in a mesh
PlotTriangleNumber
To write mesh triangle numbers on figure
PlotEdgeNumber
To write boundary edge numbers
Plot3DSurfIsolines
To plot surface isolines in 3D
PlotBasisFunc
To display a P1 basis function of a given vertex.
PlotVal3D
To plot a nodal variable on a 3D mesh.

Reading a mesh

GetMeshOpt
Definition of the mesh structure
BuildBoundaryMeshes
Returns the boundary meshes associated with Th mesh
PrintMesh
To print main statistics of the mesh

Export and conversion to VTK format

vtkWrite
To write a mesh Th and values U in a VTK file.

Matlab/Octave compatibility

Parse
Alternative function for parse - Suitable for Matlab and any Octave version
AddParamValue
Alternative function for addParamValue - Suitable for Matlab and any Octave version
isOctave
returns true if running under Octave
isOldParser
To determine if the parser is old or not for Octave
AddRequired
Alternative function for addRequired - Suitable for Matlab and any Octave version

Demo scripts

visumesh_demo
Demo of ovisumesh package
Plot3DSurfIsolines1
Demo of Plot3DSurfIsolines function
Plot3DSurfVal_labels
Demo of Plot3DSurfVal function
Plot3DSurfVal_sphere8
Demo of Plot3DSurfVal function
Plotdemo
Demo of typical functions of the package
PlotBasisFunc1
Demo of PlotBasisFunc function
PlotEdgeNumber1
Demo of PlotEdgeNumber function
PlotEdgeNumberfull
Demo of PlotEdgeNumber function
PlotBounds_disk4
Demo of PlotBounds function for a 2D mesh
PlotBounds_sphere8
Demo of PlotBounds function for a 3D mesh
PlotBounds_sphere8_red
Demo of PlotBounds function for a 3D mesh
PlotBoundslab
Demo of PlotBounds function for a 3D mesh
PlotBoundslab2
Demo of PlotBounds function for a 3D mesh
PlotIsolines_disk4
Demo of PlotIsolines function for a 2D mesh
PlotIsolines_disk4_Options1
Demo of PlotIsolines function for a 2D mesh
PlotMeshBounds1
Demo of PlotBounds and PlotMesh functions for a 2D mesh
PlotMeshBounds2
Demo of PlotBounds and PlotMesh functions for a 2D mesh
PlotNodeNumber1
Demo of PlotNodeNumber and PlotMesh functions for a 2D mesh
PlotTriangleNumber1
Demo of PlotTriangleNumber, PlotNodeNumber and PlotMesh functions for a 2D mesh
PlotTriangleNumberfull
Demo of PlotTriangleNumber, PlotNodeNumber and PlotMesh functions for a 2D mesh
PlotMesh_cube6
Demo of PlotMesh function for a 3D mesh
PlotMesh_disk4
Demo of PlotMesh function for a 2D freefem mesh
PlotMesh_disk4_Options01
Demo of PlotMesh function for a 2D mesh
PlotMesh_disk4_Options02
Demo of PlotMesh function for a 2D mesh
PlotMesh_flowVel3d
Demo of PlotMesh function for a 3D medit mesh
PlotMesh_flowVel3d_lab
Demo of PlotMesh function for a 3D mesh
PlotMesh_magnetism
Demo of PlotMesh function for a 2D gmsh mesh
PlotMeshlab2D
Demo of PlotMesh function for a 2D mesh
PlotVal3Dcyl
Demo of PlotVal3D function for a 3D mesh
PlotVal_disk4
Demo of PlotVal function for a 2D mesh
PlotVal_lab2
Demo of PlotVal function for a 2D mesh with labels option.
GetMeshOpt_medit3d
Demo of reading a 3D medit mesh
GetMeshOpt_freefem
Demo of reading a 2D freefem mesh
GetMeshOpt_gmsh2d
Demo of reading a 2D gmsh mesh
GetMeshOpt_gmsh3d
Demo of reading a 3D gmsh mesh
GetMeshOpt_medit2d
Demo of reading a 2D medit mesh
GetMeshOpt_triangle
Demo of reading a 2D triangle mesh
vtkWrite_medit3d
Demo of vtkWrite function for a 3D medit mesh
vtkWrite_gmsh2d
Demo of vtkWrite function for a 2D gmsh mesh
vtkWrite_2dscalarfield
Demo of vtkWrite function for a 2D gmsh mesh
vtkWrite_3dscalarfield
Demo of vtkWrite function for a 3D gmsh mesh
vtkWrite_3d
Demo of vtkWrite function for a 3D gmsh mesh
vtkWrite_2dvectfield
Demo of vtkWrite function for a 2D gmsh mesh
vtkWrite_3dvectfield
Demo of vtkWrite function for a 3D gmsh mesh

Package: ovisumesh