Difference between revisions of "Mesh preplot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
 
{{DISPLAYTITLE:mesh_preplot.m}} __NOTOC__
 
{{DISPLAYTITLE:mesh_preplot.m}} __NOTOC__
 +
 
Mesh preprocessing for drawing. Creates edge, triangle, and rectangle data structures needed for fast plotting later.
 
Mesh preprocessing for drawing. Creates edge, triangle, and rectangle data structures needed for fast plotting later.
  
 
==Syntax==
 
==Syntax==
  
−
    spin_system=mesh_preplot(spin_system)
+
mesh=mesh_preplot(mesh)
  
 
==Arguments==
 
==Arguments==
  
−
    spin_system - Spinach data structure with
+
mesh - Spinach mesh object
−
                  a .mesh subfield present
+
 
−
 
 
==Outputs==
 
==Outputs==
  
−
    spin_system - Spinach data structure with a .plot
+
mesh - updated mesh object
−
                  subfield added to the mesh structure
+
 
 +
ilya.kuprov@weizmann.ac.il
  
 
==See also==
 
==See also==
 +
 
[[Import,_export,_and_visualisation#Microfluidic_mesh_import_and_plotting|Microfluidic mesh import and plotting]]
 
[[Import,_export,_and_visualisation#Microfluidic_mesh_import_and_plotting|Microfluidic mesh import and plotting]]
  
  
 
''Version 2.8, authors: [[Ilya Kuprov]]''
 
''Version 2.8, authors: [[Ilya Kuprov]]''

Revision as of 14:03, 5 April 2026


Mesh preprocessing for drawing. Creates edge, triangle, and rectangle data structures needed for fast plotting later.

Syntax

mesh=mesh_preplot(mesh)

Arguments

mesh - Spinach mesh object

Outputs

mesh - updated mesh object

ilya.kuprov@weizmann.ac.il

See also

Microfluidic mesh import and plotting


Version 2.8, authors: Ilya Kuprov